![]() |
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_Text (BlamUIWidget_Group *_parent, bool _new_render_method=true) | |
~BlamUIWidget_Text () | |
void | Draw () override |
void | ShowImGuiPropertyEditor () override |
void | UpdateMetrics () override |
void | SetHidden (bool new_hidden) override |
void | RebuildTextObject () |
void | RebuildDatablocks () |
![]() | |
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) |
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 | |
bool | auto_scale_shadow = true |
int | character_height = 16 |
BlamVector2 | shadow_offset = { 1, 1 } |
BlamColor | color = BlamColor(255, 255, 255) |
BlamColor | shadow_color = BlamColor(0, 0, 0) |
std::string | font_name = "fixedsys" |
BlamFontPackage * | font_package = nullptr |
std::string | text = "blam!" |
![]() | |
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_Text::BlamUIWidget_Text | ( | BlamUIWidget_Group * | _parent, |
bool | _new_render_method = true |
||
) |
BlamUIWidget_Text::~BlamUIWidget_Text | ( | ) |
|
overridevirtual |
Reimplemented from BlamUIWidget.
void BlamUIWidget_Text::RebuildDatablocks | ( | ) |
void BlamUIWidget_Text::RebuildTextObject | ( | ) |
|
overridevirtual |
Reimplemented from BlamUIWidget.
|
overridevirtual |
Reimplemented from BlamUIWidget.
|
overridevirtual |
Reimplemented from BlamUIWidget.
bool BlamUIWidget_Text::auto_scale_shadow = true |
int BlamUIWidget_Text::character_height = 16 |
BlamColor BlamUIWidget_Text::color = BlamColor(255, 255, 255) |
std::string BlamUIWidget_Text::font_name = "fixedsys" |
BlamFontPackage* BlamUIWidget_Text::font_package = nullptr |
BlamColor BlamUIWidget_Text::shadow_color = BlamColor(0, 0, 0) |
BlamVector2 BlamUIWidget_Text::shadow_offset = { 1, 1 } |
std::string BlamUIWidget_Text::text = "blam!" |