File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 2121#include < SDL_opengl.h>
2222#include < SDL_syswm.h>
2323
24- #include " imgui.h"
25- #include " imgui_impl_opengl3.h"
26- #include " imgui_internal.h"
27- #include " imgui_stdlib.h"
28-
2924#include " ui_imgui_impl_tms.hh"
3025
3126#include < cstdio>
@@ -153,16 +148,12 @@ static void principia_style() {
153148 ImVec4* colors = style->Colors ;
154149
155150 // Rounding
151+ style->FramePadding = ImVec2 (10 , 5 );
152+ style->ItemSpacing = ImVec2 (8 , 6 );
156153 style->FrameRounding = style->GrabRounding = 2 .3f ;
157154 style->WindowRounding = style->PopupRounding = style->ChildRounding = 3 .0f ;
158155
159156 // style->FrameBorderSize = .5;
160-
161- // TODO style
162- // colors[ImGuiCol_WindowBg] = rgba(0xfdfdfdff);
163- // colors[ImGuiCol_ScrollbarBg] = rgba(0x767676ff);
164- // colors[ImGuiCol_ScrollbarGrab] = rgba(0x767676ff);
165- // colors[ImGuiCol_ScrollbarGrabActive] = rgba(0xb1b1b1);
166157}
167158
168159static bool init_ready = false ;
You can’t perform that action at this time.
0 commit comments