LampyEngine
 
Загрузка...
Поиск...
Не найдено
Класс GUIObject

Represents a base class for GUI objects that can be rendered using ImGui. Подробнее...

#include <GUIObject.h>

Граф наследования:GUIObject:
GUIContentBrowser GUIEditorToolPanel GUIMainMenuBar GUIOutputLog

Открытые члены

 GUIObject ()
 Constructs a GUI object and assigns it a unique ID.
 
 GUIObject (const GUIObject &T)=delete
 Deleted copy constructor to prevent copying of GUI objects.
 
GUIObjectoperator= (const GUIObject &T)=delete
 Deleted assignment operator to prevent copying.
 
virtual ~GUIObject ()
 Destroys the GUI object and removes it from the ImGui system.
 
virtual void render ()
 Virtual function for rendering the GUI object. Override this method in derived classes to implement custom rendering logic.
 
uint32_t getID () const
 Retrieves the unique ID of the GUI object.
 

Подробное описание

Represents a base class for GUI objects that can be rendered using ImGui.

Методы

◆ getID()

uint32_t GUIObject::getID ( ) const
inline

Retrieves the unique ID of the GUI object.

Возвращает
The object's unique identifier.

◆ render()

virtual void GUIObject::render ( )
inlinevirtual

Virtual function for rendering the GUI object. Override this method in derived classes to implement custom rendering logic.

Переопределяется в GUIContentBrowser, GUIEditorToolPanel, GUIMainMenuBar и GUIOutputLog.


Объявления и описания членов классов находятся в файлах: