Class PanelManager¶
Defined in File panel_manager.h
Class Documentation¶
-
class PanelManager¶
Public Functions
-
PanelManager(std::filesystem::path state_path)¶
-
template<typename T>
inline Reference<T> add_panel(const PanelMenuCategory category, const PanelData &panel_data)¶
-
template<typename T, typename ...Args>
inline Reference<T> add_panel(const PanelMenuCategory category, const StringId id, const char *name, bool open_by_default, Args&&... args)¶
-
template<typename T, typename ...Args>
inline Reference<T> add_panel(const PanelMenuCategory category, StringId id, bool open_by_default, Args&&... args)¶
-
void on_gui_render(EditorContext &editor_context, FrameContext &frame)¶
Main execution entry point, renders all editor panels.
-
std::unordered_map<StringId, PanelData> &get_panels(PanelMenuCategory category)¶
-
const std::unordered_map<StringId, PanelData> &get_panels(PanelMenuCategory category) const¶
-
void save_state()¶
-
void load_state()¶
-
PanelManager(std::filesystem::path state_path)¶