Panel for editing engine settings.
More...
#include <ConfigPanel.hpp>
|
| | ConfigPanel () noexcept |
| | Constructor.
|
| virtual | ~ConfigPanel () noexcept |
| | Destructor.
|
| void | draw () override |
| | Draw config 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.
|
|
| void | do_object (nlohmann::json &json) |
| | Handles rendering json objects.
|
| void | do_array (nlohmann::json &json) |
| | Handles rendering array objects.
|
|
| int | m_counter |
| | Internal level counter for rendering.
|
|
| bool | m_show |
| | Should the panel be shown.
|
Panel for editing engine settings.
Definition at line 20 of file ConfigPanel.hpp.
◆ ConfigPanel()
| galaxy::ConfigPanel::ConfigPanel |
( |
| ) |
|
|
noexcept |
◆ ~ConfigPanel()
| galaxy::ConfigPanel::~ConfigPanel |
( |
| ) |
|
|
virtualnoexcept |
◆ draw()
| void galaxy::ConfigPanel::draw |
( |
| ) |
|
|
overridevirtual |
◆ do_object()
| void galaxy::ConfigPanel::do_object |
( |
nlohmann::json & | json | ) |
|
|
private |
Handles rendering json objects.
- Parameters
-
Definition at line 70 of file ConfigPanel.cpp.
◆ do_array()
| void galaxy::ConfigPanel::do_array |
( |
nlohmann::json & | json | ) |
|
|
private |
Handles rendering array objects.
- Parameters
-
Definition at line 124 of file ConfigPanel.cpp.
◆ m_counter
| int galaxy::ConfigPanel::m_counter |
|
private |
The documentation for this class was generated from the following files: