EditorPanel class
#include <Editor/Public/EditorPanel.h>
A panel the editor owns, shown in its dock panel. OOP is allowed in editor code: the ECS rules against virtuals are for components, not tools.
Derived classes
- class ConstructEditorWindow
- class EntityEditorWindow
- Editor for Entity types: a tab per open type, each with its components and its spawn graph.
- class PrefabEditorWindow
Constructors, destructors, conversion operators
- EditorPanel(const char* title) explicit
- ~EditorPanel() defaulted virtual
Public functions
- void Update(EditorState&) virtual
- Once a frame on Encoder, shown or not.
-
void Build(GGUI::
UI& ui) pure virtual - The panel's content.
- void AskShown()
- Open it and bring its tab to the front, at the shell's next update.
Public variables
- const char* Title
- bool bVisible
- open in the dock
- bool bShowAsked
- AskShown, not yet done.