Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
BlamUIWidget_VLayoutGroup Class Reference

#include <ui.h>

+ Inheritance diagram for BlamUIWidget_VLayoutGroup:
+ Collaboration diagram for BlamUIWidget_VLayoutGroup:

Public Member Functions

 BlamUIWidget_VLayoutGroup (BlamUIWidget_Group *_parent)
 
 ~BlamUIWidget_VLayoutGroup ()
 
void Draw () override
 
void ShowImGuiPropertyEditor () override
 
void RefreshRelativePosition () override
 
- Public Member Functions inherited from BlamUIWidget_Group
 BlamUIWidget_Group (BlamUIWidget_Group *_parent)
 
 BlamUIWidget_Group (BlamWidgetType _type, BlamUIWidget_Group *_parent)
 
 ~BlamUIWidget_Group ()
 
void UpdateMetrics () override
 
void SetHidden (bool new_hidden) override
 
void ShowImGuiEditorWindow ()
 
void ClearChildren ()
 
- Public Member Functions inherited from BlamUIWidget
 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

BlamVector4 padding = { 0, 0, 0, 0 }
 
int item_spacing = 0
 
bool auto_height = false
 
- Public Attributes inherited from BlamUIWidget_Group
std::vector< BlamUIWidget * > children = std::vector<BlamUIWidget*>()
 
bool show_bounds = false
 
- Public Attributes inherited from BlamUIWidget
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_Groupparent = nullptr
 
bool ignore_layout = false
 
bool hide_in_layout = false
 

Additional Inherited Members

- Protected Member Functions inherited from BlamUIWidget
int GetAdjustedZIndex ()
 
- Protected Attributes inherited from BlamUIWidget
BlamVector2 position_absolute = { 0, 0 }
 
BlamVector2 size_absolute = { 100, 100 }
 
bool update = false
 
bool hidden = false
 

Constructor & Destructor Documentation

◆ BlamUIWidget_VLayoutGroup()

BlamUIWidget_VLayoutGroup::BlamUIWidget_VLayoutGroup ( BlamUIWidget_Group _parent)

◆ ~BlamUIWidget_VLayoutGroup()

BlamUIWidget_VLayoutGroup::~BlamUIWidget_VLayoutGroup ( )
+ Here is the call graph for this function:

Member Function Documentation

◆ Draw()

void BlamUIWidget_VLayoutGroup::Draw ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RefreshRelativePosition()

void BlamUIWidget_VLayoutGroup::RefreshRelativePosition ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowImGuiPropertyEditor()

void BlamUIWidget_VLayoutGroup::ShowImGuiPropertyEditor ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ auto_height

bool BlamUIWidget_VLayoutGroup::auto_height = false

◆ item_spacing

int BlamUIWidget_VLayoutGroup::item_spacing = 0

◆ padding

BlamVector4 BlamUIWidget_VLayoutGroup::padding = { 0, 0, 0, 0 }

The documentation for this class was generated from the following files: