![]() |
Blamite Game Engine - blam!
00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
|
#include <ui.h>
Public Member Functions | |
BlamUIWidget_BasicRectangle (BlamUIWidget_Group *_parent) | |
~BlamUIWidget_BasicRectangle () | |
void | Draw () |
void | ShowImGuiPropertyEditor () |
void | UpdateMetrics () override |
![]() | |
BlamUIWidget (BlamWidgetType type) | |
BlamUIWidget (BlamWidgetType type, BlamUIWidget_Group *_parent) | |
virtual | ~BlamUIWidget () |
BlamWidgetType | GetType () |
virtual void | RefreshRelativePosition () |
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 | |
bool | auto_update = false |
BlamColor | color = BlamColor(255, 255, 255) |
![]() | |
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_BasicRectangle::BlamUIWidget_BasicRectangle | ( | BlamUIWidget_Group * | _parent | ) |
BlamUIWidget_BasicRectangle::~BlamUIWidget_BasicRectangle | ( | ) |
|
virtual |
|
virtual |
|
overridevirtual |
bool BlamUIWidget_BasicRectangle::auto_update = false |
BlamColor BlamUIWidget_BasicRectangle::color = BlamColor(255, 255, 255) |