Class ImGUIDrawingGroup

Inheritance Relationships

Derived Types

Class Documentation

class ImGUIDrawingGroup

Class representing an ImGUI drawing group/draw list item.

Drawing groups, also known as draw list items, are used to group a set of related functions (such as a window) together. This was done to avoid having all ImGUI drawing commands being bulked into a single function.

Subclassed by Blam::DebugUI::Widgets::DevToolsBar, Blam::DebugUI::Widgets::MenuBar, Blam::DebugUI::Windows::AboutBlamite, Blam::DebugUI::Windows::AboutBlamiteNew, Blam::DebugUI::Windows::AboutImGUI, Blam::DebugUI::Windows::ConfigEditor, Blam::DebugUI::Windows::ConfigEditorNew, Blam::DebugUI::Windows::CrashTest, Blam::DebugUI::Windows::DebugMenu, Blam::DebugUI::Windows::Direct2DTest, Blam::DebugUI::Windows::DirectX11Window, Blam::DebugUI::Windows::DiscordRPCTester, Blam::DebugUI::Windows::ErrorDialog, Blam::DebugUI::Windows::Exit, Blam::DebugUI::Windows::FontEditor, Blam::DebugUI::Windows::ImGUIUserGuide, Blam::DebugUI::Windows::IPTest, Blam::DebugUI::Windows::JTChat, Blam::DebugUI::Windows::LicensePrompt, Blam::DebugUI::Windows::NetworkStats, Blam::DebugUI::Windows::RenderStackEditor, Blam::DebugUI::Windows::Stats, Blam::DebugUI::Windows::ThemePicker, Blam::DebugUI::Windows::UpdateChecker, Blam::DebugUI::Windows::WeirdLogger

Public Functions

ImGUIDrawingGroup()

Empty constructor.

~ImGUIDrawingGroup()

Empty destructor.

virtual void Draw()

Draws the contents of the group.

The specific functionality will vary for each drawing group, but in general it will call the needed ImGUI functions to draw onscreen. This function is called on the render loop every frame, for every object in the draw list.

bool *Show()

Retrieves whether or not this item should be shown.

Return

Pointer to the value indicating whether or not this group should be drawn onscreen.

Protected Attributes

bool show = false

Controls whether or not the group should be shown. May not be used in all groups.