![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Namespace containing things relating to ImGUI, and the ImGUI draw list. More...
Namespaces | |
Widgets | |
Namespace containing general-purpose widgets used in multiple ImGUI drawing groups/windows. | |
Windows | |
Legacy namespace to contain data for the legacy ImGUI console. | |
Classes | |
class | ImGUIDrawingGroup |
Class representing an ImGUI drawing group/draw list item. More... | |
Functions | |
BLAM bool * | GetVisibility (std::string key) |
Retrieves the visibility of the specified draw list item. More... | |
BLAM void | AddToDrawList (std::string key, ImGUIDrawingGroup *group) |
Adds a new item to the ImGUI draw list. More... | |
BLAM ImGUIDrawingGroup * | GetDrawListItem (std::string key) |
Retrieves a drawing group with the specified ID. More... | |
BLAM void | ShowErrorDialog (const char *title, const char *message) |
Shows a simple error dialog created using ImGUI. More... | |
BLAM std::map< std::string, Blam::DebugUI::ImGUIDrawingGroup * > * | GetDrawList () |
Retrieves the current ImGUI drawing list. More... | |
Namespace containing things relating to ImGUI, and the ImGUI draw list.
void Blam::DebugUI::AddToDrawList | ( | std::string | key, |
ImGUIDrawingGroup * | group | ||
) |
Adds a new item to the ImGUI draw list.
key | - The ID of the draw list item. |
group | - Pointer to the drawing group to add. |
std::map< std::string, Blam::DebugUI::ImGUIDrawingGroup * > * Blam::DebugUI::GetDrawList | ( | ) |
Retrieves the current ImGUI drawing list.
The key is the ID of the drawing group. The value is a pointer to the drawing group.
Blam::DebugUI::ImGUIDrawingGroup * Blam::DebugUI::GetDrawListItem | ( | std::string | key | ) |
Retrieves a drawing group with the specified ID.
key | - The ID of the draw list item to retrieve. |
nullptr
. bool * Blam::DebugUI::GetVisibility | ( | std::string | key | ) |
Retrieves the visibility of the specified draw list item.
See Blam::DebugUI::ImGUIDrawingGroup::Show for details.
key | - The ID of the group to retrieve visibility of. |
nullptr
. void Blam::DebugUI::ShowErrorDialog | ( | const char * | title, |
const char * | message | ||
) |
Shows a simple error dialog created using ImGUI.
title | - The title of the dialog box. |
message | - The message to show within the dialog box. |