TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
UIElement Class Referenceabstract
Inheritance diagram for UIElement:
Inheritance graph
[legend]
Collaboration diagram for UIElement:
Collaboration graph
[legend]

Public Member Functions

virtual void update (float deltaTime=0.0f)
 
virtual void OnImGuiRender ()=0
 
template<typename T , typename... Args>
void addUIComponent (Args &&... args)
 
template<typename T >
T * getSubcomponent ()
 

Static Public Member Functions

template<typename T >
static T * getUIComponent ()
 

Public Attributes

std::vector< std::unique_ptr< UIElement > > subcomponents
 
UIElementparent = nullptr
 

Static Public Attributes

static std::unordered_map< std::type_index, UIElement * > uiComponentRegistry
 

Protected Attributes

std::string name
 
bool visible = true
 

Member Function Documentation

◆ update()

virtual void UIElement::update ( float  deltaTime = 0.0f)
inlinevirtual

Reimplemented in PythonInterpreterPanel.


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