#include <toast_manager.h>
Public Member Functions | |
void | Show (const std::string &message, ToastType type=ToastType::kInfo, float ttl_seconds=3.0f) |
void | Draw () |
Private Attributes | |
std::deque< Toast > | toasts_ |
Definition at line 20 of file toast_manager.h.
|
inline |
Definition at line 22 of file toast_manager.h.
References yaze::editor::kInfo, and toasts_.
|
inline |
Definition at line 27 of file toast_manager.h.
References yaze::editor::kError, yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::Toast::message, toasts_, yaze::editor::Toast::ttl_seconds, and yaze::editor::Toast::type.
|
private |
Definition at line 68 of file toast_manager.h.