Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
BlamImGuiWindow_DebugMenu Class Reference

Class for the ImGUI-based debug menu implementation. More...

#include <debug_menu.hpp>

+ Inheritance diagram for BlamImGuiWindow_DebugMenu:
+ Collaboration diagram for BlamImGuiWindow_DebugMenu:

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

- Public Attributes inherited from BlamImGuiWindow
bool show = false
 Controls whether or not the group should be shown. May not be used in all groups. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BlamImGuiWindow_DebugMenu()

BlamImGuiWindow_DebugMenu::BlamImGuiWindow_DebugMenu ( )
inline

Retrieves the debug menu data.

+ Here is the call graph for this function:

Member Function Documentation

◆ Draw()

void BlamImGuiWindow_DebugMenu::Draw ( )
inlinevirtual

Draws the debug menu window.

Reimplemented from BlamImGuiWindow.

+ Here is the call graph for this function:

◆ GenerateItemControl()

void BlamImGuiWindow_DebugMenu::GenerateItemControl ( BlamDebugMenuItem item)
inline

Creates the appropriate control for the debug menu item.

This function will be called within itself a number of times, mainly with submenus.

Parameters
item- Pointer to the item with which to generate a control.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: