![]() |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Class for the ImGUI-based debug menu implementation. More...
#include <debug_menu.hpp>
Public Member Functions | |
BlamImGuiWindow_DebugMenu () | |
Retrieves the debug menu data. More... | |
void | GenerateItemControl (BlamDebugMenuItem *item) |
Creates the appropriate control for the debug menu item. More... | |
void | Draw () |
Draws the debug menu window. More... | |
Additional Inherited Members | |
![]() | |
bool | show = false |
Controls whether or not the group should be shown. May not be used in all groups. More... | |
Class for the ImGUI-based debug menu implementation.
This was more of an experiment to see how flexible the stuff in Blam::Resources::DebugMenu could be - and it turns out, very! The same data used to build the old-school menu can be used to create an ImGUI implementation of the same menu. How neat!
That being said, don't expect it to be supported (unless you wanna do it yourself) - and even then, the primary debug menu will always be the classic one.
|
inline |
Retrieves the debug menu data.
|
inlinevirtual |
Draws the debug menu window.
Reimplemented from BlamImGuiWindow.
|
inline |
Creates the appropriate control for the debug menu item.
This function will be called within itself a number of times, mainly with submenus.
item | - Pointer to the item with which to generate a control. |