![]() |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Namespace containing functions relating to the Blamite UI system. More...
Namespaces | |
ImGUI | |
Namespace for anything related to ImGUI. | |
Qt | |
Namespace containing functions for Qt5-based UI. | |
Themes | |
Namespace for anything relating to engine UI themes. | |
Functions | |
BLAM bool | Initialize () |
Initializes the UI system. More... | |
BLAM void | Render () |
Renders all UI to the screen. More... | |
BLAM void | Shutdown () |
Shuts down the UI system. More... | |
BLAM BlamUIWidget_Group * | GetUIRoot () |
Retrieves the root UI group widget. More... | |
BLAM std::string | GetWidgetAnchorLabel (BlamWidgetAnchor anchor_position) |
Retrieves a string representation of a widget anchor position. More... | |
BLAM bool | LoadFromCUIScreenTag (std::string tag_path, cui_screen *cusc_tag) |
Creates a new UI widget from a cui_screen tag. More... | |
BLAM BlamUIWidget_CrashScreen * | GetCrashScreenWidget () |
Retrieves the built-in crash screen widget. More... | |
BLAM BlamUIWidget_DebugMenu * | GetDebugMenuWidget () |
Retrieves the built-in debug menu widget. More... | |
Namespace containing functions relating to the Blamite UI system.
BlamUIWidget_CrashScreen * Blam::UI::GetCrashScreenWidget | ( | ) |
Retrieves the built-in crash screen widget.
nullptr
if the crash screen widget could not be found. BlamUIWidget_DebugMenu * Blam::UI::GetDebugMenuWidget | ( | ) |
Retrieves the built-in debug menu widget.
nullptr
if the crash screen widget could not be found. BlamUIWidget_Group * Blam::UI::GetUIRoot | ( | ) |
std::string Blam::UI::GetWidgetAnchorLabel | ( | BlamWidgetAnchor | anchor_position | ) |
Retrieves a string representation of a widget anchor position.
anchor_position | - The anchor position to get a string representation for. |
bool Blam::UI::Initialize | ( | ) |
Initializes the UI system.
bool Blam::UI::LoadFromCUIScreenTag | ( | std::string | tag_path, |
cui_screen * | cusc_tag | ||
) |
Creates a new UI widget from a cui_screen tag.
tag_path | - The tag path of the cui_screen tag to load. |
cusc_tag | - The tag to load UI widgets from. |
true
if the UI was loaded successfully, otherwise returns false
. void Blam::UI::Render | ( | ) |
Renders all UI to the screen.
Should be called each frame.
void Blam::UI::Shutdown | ( | ) |