Voltray Engine Docs
Loading...
Searching...
No Matches
Editor::Panel Class Referenceabstract

Base class for all UI panels in the editor. More...

#include <Panel.h>

Inheritance diagram for Editor::Panel:

Public Member Functions

virtual ~Panel ()=default
 Virtual destructor for proper cleanup of derived classes.
 
virtual void Draw ()=0
 Pure virtual function to render the panel.
 

Detailed Description

Base class for all UI panels in the editor.

This abstract class defines the interface for UI panels in the editor. All panel types should inherit from this class and implement the Draw method.

Constructor & Destructor Documentation

◆ ~Panel()

virtual Editor::Panel::~Panel ( )
virtualdefault

Virtual destructor for proper cleanup of derived classes.

Member Function Documentation

◆ Draw()

void Editor::Panel::Draw ( )
pure virtual

Pure virtual function to render the panel.

This method must be implemented by all derived panel classes to handle their specific rendering logic.

Implemented in Editor::Assets::AssetsPanel, Editor::Components::Console, Editor::Components::Inspector, Editor::Components::Settings, Editor::Components::Toolbar, Editor::Components::Viewport, and Editor::OptionsPanel.


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