Ingame debug editor UI.
More...
#include <Editor.hpp>
|
| | Editor () |
| | Constructor.
|
| | ~Editor () |
| | Destructor.
|
| void | handle_events (const SDL_Event &events) noexcept |
| | Process events in the editor.
|
| void | render () |
| | Render the editor to the screen.
|
| void | draw () override |
| | Draw the ImGui widgets to ImGui buffers.
|
| | 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.
|
|
| bool | m_show |
| | Should the panel be shown.
|
Ingame debug editor UI.
Definition at line 21 of file Editor.hpp.
◆ Editor()
| galaxy::Editor::Editor |
( |
| ) |
|
◆ ~Editor()
| galaxy::Editor::~Editor |
( |
| ) |
|
◆ handle_events()
| void galaxy::Editor::handle_events |
( |
const SDL_Event & | events | ) |
|
|
noexcept |
Process events in the editor.
- Parameters
-
Definition at line 29 of file Editor.cpp.
◆ render()
| void galaxy::Editor::render |
( |
| ) |
|
Render the editor to the screen.
Definition at line 42 of file Editor.cpp.
◆ draw()
| void galaxy::Editor::draw |
( |
| ) |
|
|
overridevirtual |
◆ begin_dock()
| void galaxy::Editor::begin_dock |
( |
| ) |
|
|
private |
Start rendering the editor dock.
Definition at line 102 of file Editor.cpp.
◆ end_dock()
| void galaxy::Editor::end_dock |
( |
| ) |
|
|
private |
Finish rendering the editor dock.
Definition at line 107 of file Editor.cpp.
◆ draw_menubar()
| void galaxy::Editor::draw_menubar |
( |
| ) |
|
|
private |
Draw the editor menubar.
Definition at line 117 of file Editor.cpp.
◆ m_config_panel
◆ m_scene_panel
◆ m_hotkeys
| Popup galaxy::Editor::m_hotkeys |
|
private |
The documentation for this class was generated from the following files: