Shared empty / disabled panel presentation. More...
#include <empty_state.h>
Public Attributes | |
| const char * | icon = nullptr |
| const char * | title = nullptr |
| const char * | detail = nullptr |
| const char * | action_label = nullptr |
| std::function< void()> | on_action |
| bool | compact = false |
| Tighter vertical rhythm for drawers / inspectors. | |
Shared empty / disabled panel presentation.
Widgets stay editor-agnostic: pass copy + optional action; the caller owns what the action does (open ROM, switch editor, etc.).
Definition at line 15 of file empty_state.h.
| const char* yaze::gui::EmptyStateOptions::icon = nullptr |
Definition at line 16 of file empty_state.h.
Referenced by yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PrototypeResearchView::DrawEmptyState(), yaze::gui::DrawEmptyState(), yaze::editor::RightDrawerManager::DrawToolOutputPanel(), yaze::gui::EmptyLoading(), yaze::gui::EmptyNoProject(), yaze::gui::EmptyNoRom(), yaze::gui::EmptyNoSelection(), and yaze::gui::EmptySelectInCanvas().
| const char* yaze::gui::EmptyStateOptions::title = nullptr |
Definition at line 17 of file empty_state.h.
Referenced by yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PrototypeResearchView::DrawEmptyState(), yaze::gui::DrawEmptyState(), yaze::editor::RightDrawerManager::DrawToolOutputPanel(), yaze::gui::EmptyLoading(), yaze::gui::EmptyNoProject(), yaze::gui::EmptyNoRom(), yaze::gui::EmptyNoSelection(), and yaze::gui::EmptySelectInCanvas().
| const char* yaze::gui::EmptyStateOptions::detail = nullptr |
Definition at line 18 of file empty_state.h.
Referenced by yaze::editor::AgentRomSyncPanel::Draw(), yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PrototypeResearchView::DrawEmptyState(), yaze::gui::DrawEmptyState(), yaze::editor::RightDrawerManager::DrawToolOutputPanel(), yaze::gui::EmptyLoading(), yaze::gui::EmptyNoProject(), yaze::gui::EmptyNoRom(), yaze::gui::EmptyNoSelection(), and yaze::gui::EmptySelectInCanvas().
| const char* yaze::gui::EmptyStateOptions::action_label = nullptr |
Definition at line 19 of file empty_state.h.
Referenced by yaze::gui::DrawEmptyState().
| std::function<void()> yaze::gui::EmptyStateOptions::on_action |
Definition at line 20 of file empty_state.h.
Referenced by yaze::gui::DrawEmptyState().
| bool yaze::gui::EmptyStateOptions::compact = false |
Tighter vertical rhythm for drawers / inspectors.
Definition at line 22 of file empty_state.h.
Referenced by yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PrototypeResearchView::DrawEmptyState(), yaze::gui::DrawEmptyState(), yaze::editor::RightDrawerManager::DrawToolOutputPanel(), yaze::gui::EmptyLoading(), yaze::gui::EmptyNoProject(), yaze::gui::EmptyNoRom(), yaze::gui::EmptyNoSelection(), and yaze::gui::EmptySelectInCanvas().