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

#include <ui.h>

+ Inheritance diagram for BlamUIWidget_BasicTriangle:
+ Collaboration diagram for BlamUIWidget_BasicTriangle:

Public Member Functions

 BlamUIWidget_BasicTriangle (BlamUIWidget_Group *_parent)
 
 ~BlamUIWidget_BasicTriangle ()
 
void Draw () override
 
void ShowImGuiPropertyEditor () override
 
void UpdateMetrics () override
 
void SetHidden (bool new_hidden) override
 
- Public Member Functions inherited from BlamUIWidget
 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

BlamColor color = BlamColor(255, 255, 255)
 
int thickness = 1
 
bool solid = false
 
bool use_custom_points = false
 
BlamVector2 point_x = { 0, 0 }
 
BlamVector2 point_y = { 0, 0 }
 
BlamVector2 point_z = { 0, 0 }
 
- 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_BasicTriangle()

BlamUIWidget_BasicTriangle::BlamUIWidget_BasicTriangle ( BlamUIWidget_Group _parent)
+ Here is the call graph for this function:

◆ ~BlamUIWidget_BasicTriangle()

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

Member Function Documentation

◆ Draw()

void BlamUIWidget_BasicTriangle::Draw ( )
overridevirtual

Reimplemented from BlamUIWidget.

+ Here is the call graph for this function:

◆ SetHidden()

void BlamUIWidget_BasicTriangle::SetHidden ( bool  new_hidden)
overridevirtual

Reimplemented from BlamUIWidget.

+ Here is the call graph for this function:

◆ ShowImGuiPropertyEditor()

void BlamUIWidget_BasicTriangle::ShowImGuiPropertyEditor ( )
overridevirtual

Reimplemented from BlamUIWidget.

+ Here is the call graph for this function:

◆ UpdateMetrics()

void BlamUIWidget_BasicTriangle::UpdateMetrics ( )
overridevirtual

Reimplemented from BlamUIWidget.

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

Member Data Documentation

◆ color

BlamColor BlamUIWidget_BasicTriangle::color = BlamColor(255, 255, 255)

◆ point_x

BlamVector2 BlamUIWidget_BasicTriangle::point_x = { 0, 0 }

◆ point_y

BlamVector2 BlamUIWidget_BasicTriangle::point_y = { 0, 0 }

◆ point_z

BlamVector2 BlamUIWidget_BasicTriangle::point_z = { 0, 0 }

◆ solid

bool BlamUIWidget_BasicTriangle::solid = false

◆ thickness

int BlamUIWidget_BasicTriangle::thickness = 1

◆ use_custom_points

bool BlamUIWidget_BasicTriangle::use_custom_points = false

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