Struct EmulatorWindow
Defined in File Types.h
Struct Documentation
-
struct EmulatorWindow
Helper type to construct dockable window.
Public Members
-
std::string category
-
std::string title = "Default Window"
Window title
Warning
This should be emulator-wide unique, otherwise the GUI elements will be merged to an existing window of a same name.
-
uintptr_t id = 0
Unique window ID.
-
DockSpace dock = DockSpace::MAIN
Dock space to use. Non-docked windows are not allowed to maintain clear UI.
-
std::function<void(void)> guiFunction =
[](){}
GUI rendering function.
-
std::string category