yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ToastManager Class Reference

#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< Toasttoasts_
 

Detailed Description

Definition at line 20 of file toast_manager.h.

Member Function Documentation

◆ Show()

void yaze::editor::ToastManager::Show ( const std::string & message,
ToastType type = ToastType::kInfo,
float ttl_seconds = 3.0f )
inline

Definition at line 22 of file toast_manager.h.

References yaze::editor::kInfo, and toasts_.

◆ Draw()

Member Data Documentation

◆ toasts_

std::deque<Toast> yaze::editor::ToastManager::toasts_
private

Definition at line 68 of file toast_manager.h.

Referenced by Draw(), and Show().


The documentation for this class was generated from the following file: