#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 25 of file toast_manager.h.
|
inline |
Definition at line 27 of file toast_manager.h.
References toasts_.
Referenced by yaze::editor::AgentChatWidget::BeginRegionSelection(), yaze::editor::EditorManager::BuildModernMenu(), yaze::editor::AgentChatWidget::CaptureSelectedRegion(), yaze::editor::AgentChatHistoryPopup::ClearHistory(), yaze::editor::EditorManager::CloseAllFloatingWindows(), yaze::editor::EditorManager::CloseCurrentSession(), yaze::editor::EditorManager::CreateNewSession(), yaze::editor::AgentChatWidget::Draw(), yaze::editor::ProjectFileEditor::Draw(), yaze::editor::AgentEditor::DrawBotProfilesPanel(), yaze::editor::AgentEditor::DrawChatHistoryViewer(), yaze::editor::AgentEditor::DrawCommonTilesEditor(), yaze::editor::AgentEditor::DrawConfigurationPanel(), yaze::editor::AgentEditor::DrawDashboard(), yaze::editor::EditorManager::DrawLayoutPresets(), yaze::editor::EditorManager::DrawMenuBar(), yaze::editor::AgentEditor::DrawNewPromptCreator(), yaze::editor::AgentEditor::DrawPromptEditorPanel(), yaze::editor::AgentChatHistoryPopup::DrawQuickActions(), yaze::editor::EditorManager::DrawSessionManager(), yaze::editor::EditorManager::DuplicateCurrentSession(), yaze::editor::AgentChatWidget::EnsureHistoryLoaded(), yaze::editor::AgentChatHistoryPopup::ExportHistory(), yaze::editor::AgentChatWidget::HandleAgentResponse(), yaze::editor::AgentChatWidget::HandleRegionSelection(), yaze::editor::EditorManager::HideAllWindows(), yaze::editor::AgentEditor::HostSession(), yaze::editor::EditorManager::ImportProject(), yaze::editor::EditorManager::Initialize(), yaze::editor::AgentEditor::JoinSession(), yaze::editor::AgentEditor::LeaveSession(), yaze::editor::EditorManager::LoadDesignerLayout(), yaze::editor::WorkspaceManager::LoadDesignerLayout(), yaze::editor::EditorManager::LoadDeveloperLayout(), yaze::editor::WorkspaceManager::LoadDeveloperLayout(), yaze::editor::EditorManager::LoadModderLayout(), yaze::editor::WorkspaceManager::LoadModderLayout(), yaze::editor::EditorManager::LoadRom(), yaze::editor::AgentChatWidget::LoadScreenshotPreview(), yaze::editor::EditorManager::LoadWorkspaceLayout(), yaze::editor::WorkspaceManager::LoadWorkspaceLayout(), yaze::editor::WorkspaceManager::LoadWorkspacePreset(), yaze::editor::EditorManager::MaximizeCurrentWindow(), yaze::editor::AgentChatHistoryPopup::NotifyNewMessage(), yaze::editor::AgentChatWidget::NotifyProposalCreated(), yaze::editor::AgentChatWidget::OpenFileInEditor(), yaze::editor::EditorManager::OpenProject(), yaze::editor::AgentChatWidget::PersistHistory(), yaze::editor::AgentChatWidget::PollAutomationStatus(), yaze::editor::AgentChatWidget::PollSharedHistory(), yaze::editor::AgentChatWidget::RefreshCollaboration(), yaze::editor::EditorManager::RemoveSession(), yaze::editor::EditorManager::RenameSession(), yaze::editor::AgentChatWidget::RenderCollaborationPanel(), yaze::editor::AgentChatWidget::RenderFileEditorTabs(), yaze::editor::AgentChatWidget::RenderInputBox(), yaze::editor::AgentChatWidget::RenderMessage(), yaze::editor::AgentChatWidget::RenderMultimodalPanel(), yaze::editor::AgentChatWidget::RenderProposalQuickActions(), yaze::editor::AgentChatWidget::RenderRomSyncPanel(), yaze::editor::AgentChatWidget::RenderSnapshotPreviewPanel(), yaze::editor::AgentChatWidget::RenderSystemPromptEditor(), yaze::editor::AgentChatWidget::RenderZ3EDCommandPanel(), yaze::editor::EditorManager::RepairCurrentProject(), yaze::editor::WorkspaceManager::ResetWorkspaceLayout(), yaze::editor::EditorManager::RestoreAllWindows(), yaze::editor::EditorManager::SaveProjectAs(), yaze::editor::EditorManager::SaveRomAs(), yaze::editor::EditorManager::SaveWorkspaceLayout(), yaze::editor::WorkspaceManager::SaveWorkspaceLayout(), yaze::editor::WorkspaceManager::SaveWorkspacePreset(), yaze::editor::AgentChatHistoryPopup::SendMessage(), yaze::editor::AgentChatWidget::SetChatHistoryPopup(), yaze::editor::AgentChatWidget::SetLastPlanSummary(), yaze::editor::AgentChatWidget::SetRomContext(), yaze::editor::EditorManager::ShowAllWindows(), yaze::editor::AgentChatWidget::SwitchToLocalHistory(), yaze::editor::EditorManager::SwitchToSession(), yaze::editor::AgentChatWidget::SwitchToSharedHistory(), yaze::editor::EditorManager::Update(), yaze::editor::AgentChatWidget::UpdateAgentConfig(), and yaze::editor::ProjectFileEditor::ValidateContent().
|
inline |
Definition at line 32 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.
Referenced by yaze::editor::EditorManager::Update().
|
private |
Definition at line 73 of file toast_manager.h.