Unravel Engine C++ Reference
Loading...
Searching...
No Matches
style_panel.cpp
Go to the documentation of this file.
1#include "style_panel.h"
2#include "../panel.h"
4
5namespace unravel
6{
7
11
15
16void style_panel::show(bool show)
17{
18 visible_ = show;
19}
20
22{
23 if(!visible_)
24 return;
25 ImGui::Begin("Style", &visible_, ImGuiWindowFlags_AlwaysAutoResize);
26 ImGui::Text("Select a theme:");
27 ImGui::Separator();
28 if(ImGui::Button("Unity"))
29 {
31 }
32 if(ImGui::Button("Unity Inspired"))
33 {
35 }
36 if(ImGui::Button("Modern Purple"))
37 {
39 }
40 if(ImGui::Button("Warm Amber"))
41 {
43 }
44 if(ImGui::Button("Cool Blue"))
45 {
47 }
48 if(ImGui::Button("Minimalist Green"))
49 {
51 }
52 if(ImGui::Button("Professional Dark"))
53 {
55 }
56 if(ImGui::Button("Dark Theme"))
57 {
59 }
60 if(ImGui::Button("Dark Red Theme"))
61 {
63 }
64 if(ImGui::Button("Photoshop Theme"))
65 {
67 }
68 ImGui::End();
69}
70
71} // namespace unravel
void init(rtti::context &ctx)
void show(bool show=true)
style_panel(imgui_panels *parent)
std::vector< size_t > parent_
void set_unity_theme()
void set_modern_purple_theme()
void set_unity_inspired_theme()
void set_minimalist_green_theme()
void set_warm_amber_theme()
void set_professional_dark_theme()
void set_dark_theme()
void set_cool_blue_theme()
void set_dark_theme_red()
void set_photoshop_theme()