Class DebugMenu

Inheritance Relationships

Base Type

Class Documentation

class DebugMenu : public Blam::DebugUI::ImGUIDrawingGroup

Class for the ImGUI-based debug menu implementation.

This was more of an experiment to see how flexible the stuff in Blam::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.

Public Functions

DebugMenu()

Retrieves the debug menu data.

~DebugMenu()

Empty destructor.

void GenerateItemControl(Blam::DebugMenu::MenuItem *item)

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.

void Draw()

Draws the debug menu window.