Metadata for an editor card. More...
#include <editor_card_registry.h>
Public Attributes | |
std::string | card_id |
std::string | display_name |
std::string | icon |
std::string | category |
std::string | shortcut_hint |
bool * | visibility_flag |
EditorCard * | card_instance |
std::function< void()> | on_show |
std::function< void()> | on_hide |
int | priority |
Metadata for an editor card.
Describes a registerable UI card that can be shown/hidden, organized by category, and controlled programmatically.
Definition at line 25 of file editor_card_registry.h.
std::string yaze::editor::CardInfo::card_id |
Definition at line 26 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::RegisterCard(), and yaze::editor::EditorCardRegistry::RegisterCard().
std::string yaze::editor::CardInfo::display_name |
Definition at line 27 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::DrawCardInSidebar(), yaze::editor::EditorCardRegistry::DrawCardMenuItem(), and yaze::editor::EditorCardRegistry::RegisterCard().
std::string yaze::editor::CardInfo::icon |
Definition at line 28 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::DrawCardInSidebar(), yaze::editor::EditorCardRegistry::DrawCardMenuItem(), and yaze::editor::EditorCardRegistry::RegisterCard().
std::string yaze::editor::CardInfo::category |
Definition at line 29 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::RegisterCard().
std::string yaze::editor::CardInfo::shortcut_hint |
Definition at line 30 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::DrawCardMenuItem(), and yaze::editor::EditorCardRegistry::RegisterCard().
bool* yaze::editor::CardInfo::visibility_flag |
EditorCard* yaze::editor::CardInfo::card_instance |
Definition at line 32 of file editor_card_registry.h.
std::function<void()> yaze::editor::CardInfo::on_show |
Definition at line 33 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::DrawCardInSidebar(), yaze::editor::EditorCardRegistry::DrawCardMenuItem(), and yaze::editor::EditorCardRegistry::RegisterCard().
std::function<void()> yaze::editor::CardInfo::on_hide |
Definition at line 34 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::DrawCardInSidebar(), yaze::editor::EditorCardRegistry::DrawCardMenuItem(), and yaze::editor::EditorCardRegistry::RegisterCard().
int yaze::editor::CardInfo::priority |
Definition at line 35 of file editor_card_registry.h.
Referenced by yaze::editor::EditorCardRegistry::RegisterCard().