-
Notifications
You must be signed in to change notification settings - Fork 0
/
candy.h
370 lines (327 loc) · 17.7 KB
/
candy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
/*
https://github.com/Raais/ImguiCandy
MIT License
Copyright (c) 2021 Raais N.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#pragma once
#include <stdlib.h>
#include <string>
#include "Fucking Imgui\imgui.h"
#include "gradient.h"
#ifdef IMCANDYCONSTS
//Hex to ImVec4 helper: https://heximv4.rs5709.repl.co
const ImVec4 IV4_WHITE{ 1.000,1.000,1.000,1.000 };//#ffffff
const ImVec4 IV4_BLACK{ 0.000,0.000,0.000,1.000 };//#000000
const ImVec4 IV4_CRIMSON{ 0.827,0.063,0.153,1.000 };//#D31027
const ImVec4 IV4_SKYBLUE{ 0.125,0.741,1.000,1.000 };//#20BDFF
const ImVec4 IV4_AZURE{ 0.000,0.447,1.000,1.000 };//#0072ff
const ImVec4 IV4_HOTPINK{ 1.000,0.000,0.600,1.000 };//#FF0099
const ImVec4 IV4_CHARTREUSE{ 0.678,0.820,0.000,1.000 };//#ADD100
const ImVec4 IV4_EMERALD{ 0.220,0.937,0.490,1.000 };//#38ef7d
const ImVec4 IV4_BUBBLEGUM{ 0.988,0.404,0.980,1.000 };//#fc67fa
const ImVec4 IV4_TWITCH{ 0.569,0.275,1.000,1.000 };//#9146FF
const ImVec4 IV4_DISCORD{ 0.345,0.396,0.949,1.000 };//#5865F2
const ImVec4 IV4_TWITTER{ 0.114,0.631,0.949,1.000 };//#1DA1F2
const ImVec4 IV4_SPOTIFY{ 0.114,0.725,0.329,1.000 };//#1DB954
const ImVec4 IV4_GOOGLEBLUE{ 0.259,0.522,0.957,1.000 };//#4285F4
const ImVec4 IV4_MANGO{ 1.000,0.784,0.216,1.000 };//#FFC837
const ImVec4 IV4_VIOLET{ 0.584,0.000,1.000,1.000 };//#9500ff
const ImVec4 IV4_COSMICLATTE{ 1.000,0.973,0.906,1.000 };//#fff8e7
const ImVec4 IV4_TEAL{ 0.314,0.788,0.765,1.000 };//#50C9C3
const ImVec4 IV4_DRACULA{ 0.157,0.165,0.212,1.000 };//#282a36
const ImVec4 IV4_2077YELLOW{ 0.992,0.961,0.000,1.000 };//#fdf500
const ImVec4 IV4_CPNBLUE{ 0.000,0.878,1.000,1.0000 };//#00e0ff
const ImVec4 IV4_CPNVIOLET{ 0.612,0.000,1.000,1.000 };//#9c00ff
const ImVec4 IV4_CPNPURPLE{ 0.365,0.000,1.000,1.000 };//#5d00ff
const ImVec4 IV4_CPNDEEP{ 0.000,0.039,0.122,1.000 };//#000a1f
#endif
namespace ImCandy
{
/*
These functions are to be used inside a loop, hence the use of static variables.
Example usage:
---------------------------------------------------------------
static double s0 = 0.0;
ImGui::PushStyleColor(ImGuiCol_Border, ImCandy::Rainbow(s0));
---------------------------------------------------------------
ImVec4 Rainbow(double &static_ratio, double step = 0.01);
ImVec4 RainbowP(double step = 0.01);
ImVec4 Gradient2(ImVec4 col1, ImVec4 col2, double &static_ratio, double step = 0.01);
ImVec4 Gradient3(ImVec4 col1, ImVec4 col2, ImVec4 col3, double &static_ratio, double step = 0.01);
*/
// WARNING: High step values can cause unpleasant flashes
ImVec4 Rainbow(double& static_ratio, double step = 0.01)
{
step *= 6; //just to be linear with RainbowP
gradient::LinearColorGradient gradient;
gradient[0.0] = { 255,0,0 };
gradient[1.0] = { 255,255,0 };
gradient[2.0] = { 0,255,0 };
gradient[3.0] = { 0,255,255 };
gradient[4.0] = { 0,0,255 };
gradient[5.0] = { 255,0,255 };
gradient[6.0] = { 255,0,0 };
double r, g, b = 0;
auto color = gradient(static_ratio);
r = color[0];
g = color[1];
b = color[2];
static_ratio += step;
if (static_ratio >= 6.0)
static_ratio = 0.0;
return ImVec4(r / 255.0, g / 255.0, b / 255.0, 1.0);
}
// Portable version
ImVec4 RainbowP(double step = 0.01)
{
static double static_ratio = 0.0;
int normalized = int(static_ratio * 256 * 6);
int region = normalized / 256;
int x = normalized % 256;
int r = 0, g = 0, b = 0;
switch (region)
{
case 0: r = 255; g = 0; b = 0; g += x; break;
case 1: r = 255; g = 255; b = 0; r -= x; break;
case 2: r = 0; g = 255; b = 0; b += x; break;
case 3: r = 0; g = 255; b = 255; g -= x; break;
case 4: r = 0; g = 0; b = 255; r += x; break;
case 5: r = 255; g = 0; b = 255; b -= x; break;
}
static_ratio += step;
if (static_ratio >= 1.0)
static_ratio = 0.0;
return ImVec4(r / 255.0, g / 255.0, b / 255.0, 1.0);
}
// Find some cool gradients from uigradients.com
ImVec4 Gradient2(ImVec4 col1, ImVec4 col2, double& static_ratio, double step = 0.01)
{
std::valarray<double> col1a(3);
col1a[0] = col1.x * 255.0;
col1a[1] = col1.y * 255.0;
col1a[2] = col1.z * 255.0;
std::valarray<double> col2a(3);
col2a[0] = col2.x * 255.0;
col2a[1] = col2.y * 255.0;
col2a[2] = col2.z * 255.0;
gradient::LinearColorGradient gradient;
gradient[0.0] = col1a;
gradient[1.0] = col2a;
gradient[2.0] = col1a;
double r, g, b = 0;
auto color = gradient(static_ratio);
r = color[0];
g = color[1];
b = color[2];
static_ratio += step;
if (static_ratio >= 2.0)
static_ratio = 0.0;
return ImVec4(r / 255.0, g / 255.0, b / 255.0, 1.0);
}
// Find some cool gradients from uigradients.com
ImVec4 Gradient3(ImVec4 col1, ImVec4 col2, ImVec4 col3, double& static_ratio, double step = 0.01)
{
std::valarray<double> col1a(3);
col1a[0] = col1.x * 255.0;
col1a[1] = col1.y * 255.0;
col1a[2] = col1.z * 255.0;
std::valarray<double> col2a(3);
col2a[0] = col2.x * 255.0;
col2a[1] = col2.y * 255.0;
col2a[2] = col2.z * 255.0;
std::valarray<double> col3a(3);
col3a[0] = col3.x * 255.0;
col3a[1] = col3.y * 255.0;
col3a[2] = col3.z * 255.0;
gradient::LinearColorGradient gradient;
gradient[0.0] = col1a;
gradient[1.0] = col2a;
gradient[2.0] = col3a;
gradient[3.0] = col1a;
double r, g, b = 0;
auto color = gradient(static_ratio);
r = color[0];
g = color[1];
b = color[2];
static_ratio += step;
if (static_ratio >= 3.0)
static_ratio = 0.0;
return ImVec4(r / 255.0, g / 255.0, b / 255.0, 1.0);
}
/*---------------------------------------------------------------------------------------------------------
THEMES */
void Theme_Blender(ImGuiStyle* dst = NULL)
{
// 'Blender Dark' theme from v3.0.0 [Improvised]
// Colors grabbed using X11 Soft/xcolor
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
ImGui::StyleColorsDark(style);//Reset to base/dark theme
colors[ImGuiCol_Text] = ImVec4(0.84f, 0.84f, 0.84f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.22f, 0.22f, 0.22f, 0.9f);
colors[ImGuiCol_ChildBg] = ImVec4(0.19f, 0.19f, 0.19f, 1.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.09f, 0.09f, 0.09f, 1.00f);
colors[ImGuiCol_Border] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f);
colors[ImGuiCol_BorderShadow] = ImVec4(0.10f, 0.10f, 0.10f, 0.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.33f, 0.33f, 0.33f, 1.00f);
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.47f, 0.47f, 0.47f, 1.00f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f);
colors[ImGuiCol_TitleBg] = ImVec4(0.11f, 0.11f, 0.11f, 1.00f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.11f, 0.11f, 0.11f, 1.00f);
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.33f, 0.33f, 0.33f, 1.00f);
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.33f, 0.33f, 0.33f, 1.00f);
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.35f, 0.35f, 0.35f, 1.00f);
colors[ImGuiCol_CheckMark] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_SliderGrab] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_Button] = ImVec4(0.33f, 0.33f, 0.33f, 1.00f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.40f, 0.40f, 0.40f, 1.00f);
colors[ImGuiCol_ButtonActive] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_Header] = ImVec4(0.27f, 0.27f, 0.27f, 1.00f);
colors[ImGuiCol_HeaderHovered] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_HeaderActive] = ImVec4(0.27f, 0.27f, 0.27f, 1.00f);
colors[ImGuiCol_Separator] = ImVec4(0.18f, 0.18f, 0.18f, 1.00f);
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_SeparatorActive] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_ResizeGrip] = ImVec4(0.54f, 0.54f, 0.54f, 1.00f);
colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_ResizeGripActive] = ImVec4(0.19f, 0.39f, 0.69f, 1.00f);
colors[ImGuiCol_Tab] = ImVec4(0.11f, 0.11f, 0.11f, 1.00f);
colors[ImGuiCol_TabHovered] = ImVec4(0.14f, 0.14f, 0.14f, 1.00f);
colors[ImGuiCol_TabActive] = ImVec4(0.19f, 0.19f, 0.19f, 1.00f);
colors[ImGuiCol_PlotHistogram] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.20f, 0.39f, 0.69f, 1.00f);
colors[ImGuiCol_TextSelectedBg] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
colors[ImGuiCol_NavHighlight] = ImVec4(0.28f, 0.45f, 0.70f, 1.00f);
style->WindowPadding = ImVec2(12.00f, 8.00f);
style->ItemSpacing = ImVec2(7.00f, 3.00f);
style->GrabMinSize = 20.00f;
style->WindowRounding = 8.00f;
style->FrameBorderSize = 0.00f;
style->FrameRounding = 4.00f;
style->GrabRounding = 12.00f;
}
void Theme_Cyberpunk(ImGuiStyle* dst = NULL)
{
// Cyberpunk Neon [Improvised]
// https://github.com/Roboron3042/Cyberpunk-Neon
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
ImGui::StyleColorsDark(style);//Reset to base/dark theme
colors[ImGuiCol_Text] = ImVec4(0.00f, 0.82f, 1.00f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.00f, 0.36f, 0.63f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.00f, 0.04f, 0.12f, 0.5f);
colors[ImGuiCol_ChildBg] = ImVec4(0.03f, 0.04f, 0.22f, 1.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.12f, 0.06f, 0.27f, 1.00f);
colors[ImGuiCol_Border] = ImVec4(0.61f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.00f, 0.75f, 1.00f, 0.20f);
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.34f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.08f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_TitleBg] = ImVec4(0.00f, 0.81f, 0.95f, 1.00f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.61f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.25f, 0.00f, 0.54f, 0.81f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.61f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(0.00f, 0.88f, 1.00f, 1.00f);
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.61f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.01f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.95f, 0.19f, 0.67f, 1.00f);
colors[ImGuiCol_CheckMark] = ImVec4(0.95f, 0.19f, 0.92f, 1.00f);
colors[ImGuiCol_SliderGrab] = ImVec4(0.00f, 1.00f, 0.95f, 1.00f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.81f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_Button] = ImVec4(0.00f, 0.98f, 1.00f, 0.52f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.94f, 0.00f, 1.00f, 0.80f);
colors[ImGuiCol_ButtonActive] = ImVec4(0.01f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_Header] = ImVec4(0.00f, 0.95f, 1.00f, 0.40f);
colors[ImGuiCol_HeaderHovered] = ImVec4(0.94f, 0.00f, 1.00f, 0.80f);
colors[ImGuiCol_HeaderActive] = ImVec4(0.01f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_Separator] = ImVec4(0.74f, 0.00f, 1.00f, 0.50f);
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.34f, 0.00f, 1.00f, 0.78f);
colors[ImGuiCol_SeparatorActive] = ImVec4(0.00f, 1.00f, 0.85f, 1.00f);
colors[ImGuiCol_ResizeGrip] = ImVec4(0.61f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.89f, 0.26f, 0.98f, 0.67f);
colors[ImGuiCol_ResizeGripActive] = ImVec4(0.00f, 0.88f, 1.00f, 0.95f);
colors[ImGuiCol_Tab] = ImVec4(0.36f, 0.00f, 1.00f, 1.00f);
colors[ImGuiCol_TabHovered] = ImVec4(0.00f, 0.92f, 1.00f, 0.80f);
colors[ImGuiCol_TabActive] = ImVec4(0.62f, 0.00f, 0.80f, 1.00f);
colors[ImGuiCol_PlotHistogram] = ImVec4(0.00f, 1.00f, 0.88f, 1.00f);
style->WindowPadding = ImVec2(12.00f, 8.00f);
style->ItemSpacing = ImVec2(7.00f, 3.00f);
style->GrabMinSize = 20.00f;
style->WindowRounding = 8.00f;
style->FrameBorderSize = 0.00f;
style->FrameRounding = 4.00f;
style->GrabRounding = 12.00f;
}
void Theme_Nord(ImGuiStyle* dst = NULL)
{
// Nord/Nordic GTK [Improvised]
// https://github.com/EliverLara/Nordic
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
ImGui::StyleColorsDark(style);//Reset to base/dark theme
colors[ImGuiCol_Text] = ImVec4(0.85f, 0.87f, 0.91f, 0.88f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.49f, 0.50f, 0.53f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.18f, 0.20f, 0.25f, 0.9f);
colors[ImGuiCol_ChildBg] = ImVec4(0.16f, 0.17f, 0.20f, 1.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_Border] = ImVec4(0.14f, 0.16f, 0.19f, 1.00f);
colors[ImGuiCol_BorderShadow] = ImVec4(0.09f, 0.09f, 0.09f, 0.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.56f, 0.74f, 0.73f, 1.00f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.53f, 0.75f, 0.82f, 1.00f);
colors[ImGuiCol_TitleBg] = ImVec4(0.16f, 0.16f, 0.20f, 1.00f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.16f, 0.16f, 0.20f, 1.00f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.16f, 0.16f, 0.20f, 1.00f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.16f, 0.16f, 0.20f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(0.18f, 0.20f, 0.25f, 1.00f);
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.23f, 0.26f, 0.32f, 0.60f);
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_CheckMark] = ImVec4(0.37f, 0.51f, 0.67f, 1.00f);
colors[ImGuiCol_SliderGrab] = ImVec4(0.51f, 0.63f, 0.76f, 1.00f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.37f, 0.51f, 0.67f, 1.00f);
colors[ImGuiCol_Button] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.51f, 0.63f, 0.76f, 1.00f);
colors[ImGuiCol_ButtonActive] = ImVec4(1.f, 0.f, 0.67f, 1.00f);
colors[ImGuiCol_Header] = ImVec4(0.51f, 0.63f, 0.76f, 1.00f);
colors[ImGuiCol_HeaderHovered] = ImVec4(0.53f, 0.75f, 0.82f, 1.00f);
colors[ImGuiCol_HeaderActive] = ImVec4(0.37f, 0.51f, 0.67f, 1.00f);
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.56f, 0.74f, 0.73f, 1.00f);
colors[ImGuiCol_SeparatorActive] = ImVec4(0.53f, 0.75f, 0.82f, 1.00f);
colors[ImGuiCol_ResizeGrip] = ImVec4(0.53f, 0.75f, 0.82f, 0.86f);
colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.61f, 0.74f, 0.87f, 1.00f);
colors[ImGuiCol_ResizeGripActive] = ImVec4(0.37f, 0.51f, 0.67f, 1.00f);
colors[ImGuiCol_Tab] = ImVec4(0.18f, 0.20f, 0.25f, 1.00f);
colors[ImGuiCol_TabHovered] = ImVec4(0.22f, 0.24f, 0.31f, 1.00f);
colors[ImGuiCol_TabActive] = ImVec4(0.23f, 0.26f, 0.32f, 1.00f);
colors[ImGuiCol_TabUnfocused] = ImVec4(0.13f, 0.15f, 0.18f, 1.00f);
colors[ImGuiCol_TabUnfocusedActive] = ImVec4(0.17f, 0.19f, 0.23f, 1.00f);
colors[ImGuiCol_PlotHistogram] = ImVec4(0.56f, 0.74f, 0.73f, 1.00f);
colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.53f, 0.75f, 0.82f, 1.00f);
colors[ImGuiCol_TextSelectedBg] = ImVec4(0.37f, 0.51f, 0.67f, 1.00f);
colors[ImGuiCol_NavHighlight] = ImVec4(0.53f, 0.75f, 0.82f, 0.86f);
style->WindowPadding = ImVec2(12.00f, 8.00f);
style->ItemSpacing = ImVec2(7.00f, 3.00f);
style->GrabMinSize = 20.00f;
style->WindowRounding = 8.00f;
style->FrameBorderSize = 0.00f;
style->FrameRounding = 4.00f;
style->GrabRounding = 12.00f;
}
};