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
ConfigPanel.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_UI_PANELS_CONFIGPANEL_HPP_
9#define GALAXY_UI_PANELS_CONFIGPANEL_HPP_
10
11#include <nlohmann/json_fwd.hpp>
12
14
15namespace galaxy
16{
20 class ConfigPanel final : public Panel
21 {
22 public:
26 ConfigPanel() noexcept;
27
31 virtual ~ConfigPanel() noexcept;
32
36 void draw() override;
37
38 private:
44 void do_object(nlohmann::json& json);
45
51 void do_array(nlohmann::json& json);
52
53 private:
58 };
59} // namespace galaxy
60
61#endif
ConfigPanel() noexcept
Constructor.
int m_counter
Internal level counter for rendering.
void draw() override
Draw config panel.
void do_array(nlohmann::json &json)
Handles rendering array objects.
void do_object(nlohmann::json &json)
Handles rendering json objects.
Panel() noexcept
Constructor.
Definition Panel.cpp:12
Application.hpp galaxy.