galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::ScenePanel Class Referencefinal

Panel for editing scenes in engine. More...

#include <ScenePanel.hpp>

Inheritance diagram for galaxy::ScenePanel:
Collaboration diagram for galaxy::ScenePanel:

Public Member Functions

 ScenePanel () noexcept
 Constructor.
virtual ~ScenePanel () noexcept
 Destructor.
void draw () override
 Draw scene panel.
Public Member Functions inherited from galaxy::Panel
 Panel () noexcept
 Constructor.
 Panel (Panel &&) noexcept
 Move constructor.
 Panel (const Panel &) noexcept
 Copy constructor.
virtual ~Panel () noexcept
 Destructor.
void toggle () noexcept
 Toggle visibility of panel.
bool shown () const noexcept
 Check if panel is visible.
Panel & operator= (Panel &&) noexcept
 Move assignment operator.
Panel & operator= (const Panel &) noexcept
 Copy assignment operator.

Private Attributes

Popup m_new
 For creating a new scene.
Popup m_clear
 For removing all scenes.

Additional Inherited Members

Protected Attributes inherited from galaxy::Panel
bool m_show
 Should the panel be shown.

Detailed Description

Panel for editing scenes in engine.

Definition at line 19 of file ScenePanel.hpp.

Constructor & Destructor Documentation

◆ ScenePanel()

galaxy::ScenePanel::ScenePanel ( )
noexcept

Constructor.

Definition at line 18 of file ScenePanel.cpp.

◆ ~ScenePanel()

galaxy::ScenePanel::~ScenePanel ( )
virtualnoexcept

Destructor.

Definition at line 24 of file ScenePanel.cpp.

Member Function Documentation

◆ draw()

void galaxy::ScenePanel::draw ( )
overridevirtual

Draw scene panel.

Implements galaxy::Panel.

Definition at line 28 of file ScenePanel.cpp.

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

Member Data Documentation

◆ m_new

Popup galaxy::ScenePanel::m_new
private

For creating a new scene.

Definition at line 41 of file ScenePanel.hpp.

◆ m_clear

Popup galaxy::ScenePanel::m_clear
private

For removing all scenes.

Definition at line 46 of file ScenePanel.hpp.


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