![]() |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
#include <ui.h>
Public Member Functions | |
BlamUIWidget_Group (BlamUIWidget_Group *_parent) | |
BlamUIWidget_Group (BlamWidgetType _type, BlamUIWidget_Group *_parent) | |
~BlamUIWidget_Group () | |
void | Draw () override |
void | ShowImGuiPropertyEditor () override |
void | RefreshRelativePosition () override |
void | UpdateMetrics () override |
void | SetHidden (bool new_hidden) 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) |
virtual void | SetPosition (BlamVector2 new_position) |
void | SetRotation (float new_rotation) |
void | SetAnchorPosition (BlamWidgetAnchor new_anchor_position) |
void | MarkForUpdate () |
BlamVector2 | GetAbsolutePosition () |
BlamWidgetAnchor | GetAnchorPosition () |
bool | IsHidden () |
Public Attributes | |
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 |
Additional Inherited Members | |
![]() | |
int | GetAdjustedZIndex () |
![]() | |
BlamVector2 | position_absolute = { 0, 0 } |
BlamVector2 | size_absolute = { 100, 100 } |
bool | update = false |
bool | hidden = false |
BlamUIWidget_Group::BlamUIWidget_Group | ( | BlamUIWidget_Group * | _parent | ) |
BlamUIWidget_Group::BlamUIWidget_Group | ( | BlamWidgetType | _type, |
BlamUIWidget_Group * | _parent | ||
) |
BlamUIWidget_Group::~BlamUIWidget_Group | ( | ) |
void BlamUIWidget_Group::ClearChildren | ( | ) |
|
overridevirtual |
Reimplemented from BlamUIWidget.
Reimplemented in BlamUIWidget_VLayoutGroup, and BlamUIWidget_DebugMenu_Item.
|
overridevirtual |
Reimplemented from BlamUIWidget.
Reimplemented in BlamUIWidget_VLayoutGroup.
|
overridevirtual |
Reimplemented from BlamUIWidget.
Reimplemented in BlamUIWidget_DebugMenu_Item, and BlamUIWidget_CrashScreen.
void BlamUIWidget_Group::ShowImGuiEditorWindow | ( | ) |
|
overridevirtual |
Reimplemented from BlamUIWidget.
Reimplemented in BlamUIWidget_VLayoutGroup, and BlamUIWidget_DebugMenu_Item.
|
overridevirtual |
Reimplemented from BlamUIWidget.
Reimplemented in BlamUIWidget_DebugMenu_Item.
std::vector<BlamUIWidget*> BlamUIWidget_Group::children = std::vector<BlamUIWidget*>() |
bool BlamUIWidget_Group::show_bounds = false |