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

#include <debug_menu.h>

+ Inheritance diagram for BlamUIWidget_DebugMenu_Item:
+ Collaboration diagram for BlamUIWidget_DebugMenu_Item:

Public Member Functions

 BlamUIWidget_DebugMenu_Item (BlamDebugMenuItem _menu_item, BlamUIWidget_DebugMenu *_debug_menu_widget, BlamUIWidget_Group *parent_group)
 
 BlamUIWidget_DebugMenu_Item (std::string header_title, BlamUIWidget_DebugMenu *_debug_menu_widget, BlamUIWidget_Group *parent_group)
 
void Draw () override
 
void UpdateMetrics () override
 
void SetActive (bool _active)
 
void ShowImGuiPropertyEditor () override
 
void SetHidden (bool new_hidden) override
 
void SetIsHeader ()
 
bool IsHeader ()
 
void SetMenuItem (BlamDebugMenuItem _menu_item)
 
void ConfigureHotkeyText (int index)
 
void SetPosition (BlamVector2 new_position) override
 
void SetSize (float scale)
 
- Public Member Functions inherited from BlamUIWidget_Group
 BlamUIWidget_Group (BlamUIWidget_Group *_parent)
 
 BlamUIWidget_Group (BlamWidgetType _type, BlamUIWidget_Group *_parent)
 
 ~BlamUIWidget_Group ()
 
void RefreshRelativePosition () 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)
 
void SetRotation (float new_rotation)
 
void SetAnchorPosition (BlamWidgetAnchor new_anchor_position)
 
void MarkForUpdate ()
 
BlamVector2 GetAbsolutePosition ()
 
BlamWidgetAnchor GetAnchorPosition ()
 
bool IsHidden ()
 

Additional Inherited Members

- 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
 
- 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
 

Detailed Description

Todo:
: document

Constructor & Destructor Documentation

◆ BlamUIWidget_DebugMenu_Item() [1/2]

BlamUIWidget_DebugMenu_Item::BlamUIWidget_DebugMenu_Item ( BlamDebugMenuItem  _menu_item,
BlamUIWidget_DebugMenu _debug_menu_widget,
BlamUIWidget_Group parent_group 
)
+ Here is the call graph for this function:

◆ BlamUIWidget_DebugMenu_Item() [2/2]

BlamUIWidget_DebugMenu_Item::BlamUIWidget_DebugMenu_Item ( std::string  header_title,
BlamUIWidget_DebugMenu _debug_menu_widget,
BlamUIWidget_Group parent_group 
)
+ Here is the call graph for this function:

Member Function Documentation

◆ ConfigureHotkeyText()

void BlamUIWidget_DebugMenu_Item::ConfigureHotkeyText ( int  index)
+ Here is the call graph for this function:

◆ Draw()

void BlamUIWidget_DebugMenu_Item::Draw ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:

◆ IsHeader()

bool BlamUIWidget_DebugMenu_Item::IsHeader ( )

◆ SetActive()

void BlamUIWidget_DebugMenu_Item::SetActive ( bool  _active)
+ Here is the call graph for this function:

◆ SetHidden()

void BlamUIWidget_DebugMenu_Item::SetHidden ( bool  new_hidden)
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:

◆ SetIsHeader()

void BlamUIWidget_DebugMenu_Item::SetIsHeader ( )
+ Here is the call graph for this function:

◆ SetMenuItem()

void BlamUIWidget_DebugMenu_Item::SetMenuItem ( BlamDebugMenuItem  _menu_item)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPosition()

void BlamUIWidget_DebugMenu_Item::SetPosition ( BlamVector2  new_position)
overridevirtual

Reimplemented from BlamUIWidget.

+ Here is the call graph for this function:

◆ SetSize()

void BlamUIWidget_DebugMenu_Item::SetSize ( float  scale)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShowImGuiPropertyEditor()

void BlamUIWidget_DebugMenu_Item::ShowImGuiPropertyEditor ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

+ Here is the call graph for this function:

◆ UpdateMetrics()

void BlamUIWidget_DebugMenu_Item::UpdateMetrics ( )
overridevirtual

Reimplemented from BlamUIWidget_Group.

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

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