![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
#include <ui.h>
Public Member Functions | |
BlamUIWidget_Group (BlamUIWidget_Group *_parent) | |
~BlamUIWidget_Group () | |
void | Draw () |
void | ShowImGuiPropertyEditor () |
void | RefreshRelativePosition () |
void | ShowImGuiEditorWindow () |
![]() | |
BlamUIWidget (BlamWidgetType type) | |
BlamUIWidget (BlamWidgetType type, BlamUIWidget_Group *_parent) | |
BlamWidgetType | GetType () |
void | RefreshRelativePosition (int viewport_width, int viewport_height, BlamVector2 initial_position) |
void | SetSize (BlamVector2 new_size) |
void | SetPosition (BlamVector2 new_position) |
void | SetRotation (float new_rotation) |
void | SetAnchorPosition (BlamWidgetAnchor new_anchor_position) |
BlamVector2 | GetAbsolutePosition () |
Public Attributes | |
std::vector< BlamUIWidget * > | children = std::vector<BlamUIWidget*>() |
![]() | |
std::string | display_name = "unnamed" |
std::string | description = "" |
BlamVector2 | position = { 0, 0 } |
BlamVector2 | size = { 100, 100 } |
float | rotation = 0.0f |
bool | hidden = false |
BlamUIWidget_Group * | parent = nullptr |
Additional Inherited Members | |
![]() | |
BlamVector2 | position_absolute = { 0, 0 } |
BlamVector2 | size_absolute = { 100, 100 } |
BlamUIWidget_Group::BlamUIWidget_Group | ( | BlamUIWidget_Group * | _parent | ) |
BlamUIWidget_Group::~BlamUIWidget_Group | ( | ) |
|
virtual |
Reimplemented from BlamUIWidget.
|
virtual |
Reimplemented from BlamUIWidget.
void BlamUIWidget_Group::ShowImGuiEditorWindow | ( | ) |
|
virtual |
Reimplemented from BlamUIWidget.
std::vector<BlamUIWidget*> BlamUIWidget_Group::children = std::vector<BlamUIWidget*>() |