Unravel Engine C++ Reference
Loading...
Searching...
No Matches
style_panel.h
Go to the documentation of this file.
1#pragma once
2
3#include <base/basetypes.hpp>
4#include <context/context.hpp>
5
6
7namespace unravel
8{
9class imgui_panels;
10
12{
13public:
15 void show(bool show = true);
16
17 void init(rtti::context& ctx);
18 void on_frame_ui_render();
19
20 // Theme setters
21 void set_unity_theme();
28 void set_dark_theme();
29 void set_dark_theme_red();
31
32private:
33 imgui_panels* parent_;
34 bool visible_ = false;
35};
36} // namespace unravel
void init(rtti::context &ctx)
void show(bool show=true)
style_panel(imgui_panels *parent)