Shared data for an imgui panel.
More...
#include <Panel.hpp>
|
| | Panel () noexcept |
| | Constructor.
|
| | Panel (Panel &&) noexcept |
| | Move constructor.
|
| | Panel (const Panel &) noexcept |
| | Copy constructor.
|
| virtual | ~Panel () noexcept |
| | Destructor.
|
| virtual void | draw ()=0 |
| | Draw the ImGui widgets.
|
| 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.
|
|
| bool | m_show |
| | Should the panel be shown.
|
Shared data for an imgui panel.
Definition at line 16 of file Panel.hpp.
◆ Panel() [1/3]
◆ Panel() [2/3]
| galaxy::Panel::Panel |
( |
Panel && | p | ) |
|
|
noexcept |
Move constructor.
Definition at line 17 of file Panel.cpp.
◆ Panel() [3/3]
| galaxy::Panel::Panel |
( |
const Panel & | p | ) |
|
|
noexcept |
Copy constructor.
Definition at line 22 of file Panel.cpp.
◆ ~Panel()
| galaxy::Panel::~Panel |
( |
| ) |
|
|
virtualnoexcept |
◆ draw()
| virtual void galaxy::Panel::draw |
( |
| ) |
|
|
pure virtual |
◆ toggle()
| void galaxy::Panel::toggle |
( |
| ) |
|
|
noexcept |
Toggle visibility of panel.
Definition at line 31 of file Panel.cpp.
◆ shown()
| bool galaxy::Panel::shown |
( |
| ) |
const |
|
nodiscardnoexcept |
Check if panel is visible.
- Returns
- True if panel is visible.
Definition at line 36 of file Panel.cpp.
◆ operator=() [1/2]
Move assignment operator.
Definition at line 41 of file Panel.cpp.
◆ operator=() [2/2]
| Panel & galaxy::Panel::operator= |
( |
const Panel & | p | ) |
|
|
noexcept |
Copy assignment operator.
Definition at line 51 of file Panel.cpp.
◆ m_show
| bool galaxy::Panel::m_show |
|
protected |
Should the panel be shown.
Definition at line 71 of file Panel.hpp.
The documentation for this class was generated from the following files: