![]() |
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_BasicRectangle (BlamUIWidget_Group *_parent) | |
void | Draw () |
![]() | |
BlamUIWidget (BlamWidgetType type) | |
BlamUIWidget (BlamWidgetType type, BlamUIWidget_Group *_parent) | |
virtual void | ShowImGuiPropertyEditor () |
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 () |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
BlamVector2 | position_absolute = { 0, 0 } |
BlamVector2 | size_absolute = { 100, 100 } |
BlamUIWidget_BasicRectangle::BlamUIWidget_BasicRectangle | ( | BlamUIWidget_Group * | _parent | ) |
|
virtual |
Reimplemented from BlamUIWidget.