![]() |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
#include <debug_menu.h>
Public Member Functions | |
BlamUIWidget_DebugMenu_Item (BlamDebugMenuItem _menu_item, BlamUIWidget_DebugMenu *_debug_menu_widget, BlamUIWidget_Group *parent_group) | |
BlamUIWidget_DebugMenu_Item (std::string header_title, BlamUIWidget_DebugMenu *_debug_menu_widget, BlamUIWidget_Group *parent_group) | |
void | Draw () override |
void | UpdateMetrics () override |
void | SetActive (bool _active) |
void | ShowImGuiPropertyEditor () override |
void | SetHidden (bool new_hidden) override |
void | SetIsHeader () |
bool | IsHeader () |
void | SetMenuItem (BlamDebugMenuItem _menu_item) |
void | ConfigureHotkeyText (int index) |
void | SetPosition (BlamVector2 new_position) override |
void | SetSize (float scale) |
![]() | |
BlamUIWidget_Group (BlamUIWidget_Group *_parent) | |
BlamUIWidget_Group (BlamWidgetType _type, BlamUIWidget_Group *_parent) | |
~BlamUIWidget_Group () | |
void | RefreshRelativePosition () override |
void | ShowImGuiEditorWindow () |
void | ClearChildren () |
![]() | |
BlamUIWidget (BlamWidgetType type) | |
BlamUIWidget (BlamWidgetType type, BlamUIWidget_Group *_parent) | |
virtual | ~BlamUIWidget () |
BlamWidgetType | GetType () |
void | RefreshRelativePosition (int viewport_width, int viewport_height, BlamVector2 initial_position) |
void | SetSize (BlamVector2 new_size) |
void | SetRotation (float new_rotation) |
void | SetAnchorPosition (BlamWidgetAnchor new_anchor_position) |
void | MarkForUpdate () |
BlamVector2 | GetAbsolutePosition () |
BlamWidgetAnchor | GetAnchorPosition () |
bool | IsHidden () |
Additional Inherited Members | |
![]() | |
std::vector< BlamUIWidget * > | children = std::vector<BlamUIWidget*>() |
bool | show_bounds = false |
![]() | |
std::string | display_name = "unnamed" |
std::string | description = "" |
BlamVector2 | position = { 0, 0 } |
BlamVector2 | size = { 100, 100 } |
float | rotation = 0.0f |
int | z_index = 0 |
float | z_size = 1.0f |
bool | auto_update = false |
Ogre::HlmsDatablock * | material = nullptr |
BlamUIWidget_Group * | parent = nullptr |
bool | ignore_layout = false |
bool | hide_in_layout = false |
![]() | |
int | GetAdjustedZIndex () |
![]() | |
BlamVector2 | position_absolute = { 0, 0 } |
BlamVector2 | size_absolute = { 100, 100 } |
bool | update = false |
bool | hidden = false |
BlamUIWidget_DebugMenu_Item::BlamUIWidget_DebugMenu_Item | ( | BlamDebugMenuItem | _menu_item, |
BlamUIWidget_DebugMenu * | _debug_menu_widget, | ||
BlamUIWidget_Group * | parent_group | ||
) |
BlamUIWidget_DebugMenu_Item::BlamUIWidget_DebugMenu_Item | ( | std::string | header_title, |
BlamUIWidget_DebugMenu * | _debug_menu_widget, | ||
BlamUIWidget_Group * | parent_group | ||
) |
void BlamUIWidget_DebugMenu_Item::ConfigureHotkeyText | ( | int | index | ) |
|
overridevirtual |
bool BlamUIWidget_DebugMenu_Item::IsHeader | ( | ) |
void BlamUIWidget_DebugMenu_Item::SetActive | ( | bool | _active | ) |
|
overridevirtual |
void BlamUIWidget_DebugMenu_Item::SetIsHeader | ( | ) |
void BlamUIWidget_DebugMenu_Item::SetMenuItem | ( | BlamDebugMenuItem | _menu_item | ) |
|
overridevirtual |
void BlamUIWidget_DebugMenu_Item::SetSize | ( | float | scale | ) |
|
overridevirtual |
|
overridevirtual |
Reimplemented from BlamUIWidget_Group.