|
|
|
@ -190,86 +190,86 @@ namespace SHADE
|
|
|
|
|
default:
|
|
|
|
|
case Style::SHADE:
|
|
|
|
|
{
|
|
|
|
|
ImGuiStyle& imStyle = ImGui::GetStyle();
|
|
|
|
|
ImVec4* colors = imStyle.Colors;
|
|
|
|
|
colors[ImGuiCol_Text] = ImVec4(0.706f, 0.729f, 0.757f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_WindowBg] = ImVec4(0.172f, 0.184f, 0.203f, 1.f);
|
|
|
|
|
colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
|
|
|
|
|
colors[ImGuiCol_PopupBg] = ImVec4(0.19f, 0.19f, 0.19f, 0.92f);
|
|
|
|
|
colors[ImGuiCol_Border] = ImVec4(0.19f, 0.19f, 0.19f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.24f);
|
|
|
|
|
colors[ImGuiCol_FrameBg] = ImVec4(0.05f, 0.05f, 0.05f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.19f, 0.19f, 0.19f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_FrameBgActive] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TitleBg] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TitleBgActive] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TitleBgCollapsed] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_MenuBarBg] = ImVec4(0.129f, 0.141f, 0.157f, 1.f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarBg] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.34f, 0.34f, 0.34f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.40f, 0.40f, 0.40f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.56f, 0.56f, 0.56f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_CheckMark] = ImVec4(0.627f, 0.239f, 0.761f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_SliderGrab] = ImVec4(0.34f, 0.34f, 0.34f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.56f, 0.56f, 0.56f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_Button] = ImVec4(0.05f, 0.05f, 0.05f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ButtonHovered] = ImVec4(0.15f, 0.15f, 0.15f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ButtonActive] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_Header] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_HeaderHovered] = ImVec4(0.00f, 0.00f, 0.00f, 0.36f);
|
|
|
|
|
colors[ImGuiCol_HeaderActive] = ImVec4(0.20f, 0.22f, 0.23f, 0.33f);
|
|
|
|
|
colors[ImGuiCol_Separator] = colors[ImGuiCol_MenuBarBg];
|
|
|
|
|
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.44f, 0.44f, 0.44f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_SeparatorActive] = ImVec4(0.40f, 0.44f, 0.47f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_ResizeGrip] = ImVec4(0.28f, 0.28f, 0.28f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.44f, 0.44f, 0.44f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_ResizeGripActive] = ImVec4(0.40f, 0.44f, 0.47f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_Tab] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TabHovered] = ImVec4(0.14f, 0.14f, 0.14f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TabActive] = ImVec4(0.14f, 0.14f, 0.14f, 0.8f);
|
|
|
|
|
colors[ImGuiCol_TabUnfocused] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TabUnfocusedActive] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_DockingPreview] = ImVec4(0.627f, 0.239f, 0.761f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_DockingEmptyBg] = ImVec4(0.855f, 0.6f, 0.941f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotHistogram] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TableHeaderBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_TableBorderStrong] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_TableBorderLight] = ImVec4(0.28f, 0.28f, 0.28f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_TableRowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
|
|
|
|
|
colors[ImGuiCol_TableRowBgAlt] = ImVec4(1.00f, 1.00f, 1.00f, 0.06f);
|
|
|
|
|
colors[ImGuiCol_TextSelectedBg] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_DragDropTarget] = ImVec4(0.33f, 0.67f, 0.86f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_NavHighlight] = ImVec4(0.73f, 0.73f, 0.73f, 0.7f);
|
|
|
|
|
ImGuiStyle& imStyle = ImGui::GetStyle();
|
|
|
|
|
ImVec4* colors = imStyle.Colors;
|
|
|
|
|
colors[ImGuiCol_Text] = ImVec4(0.706f, 0.729f, 0.757f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_WindowBg] = ImVec4(0.172f, 0.184f, 0.203f, 1.f);
|
|
|
|
|
colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
|
|
|
|
|
colors[ImGuiCol_PopupBg] = ImVec4(0.19f, 0.19f, 0.19f, 0.92f);
|
|
|
|
|
colors[ImGuiCol_Border] = ImVec4(0.19f, 0.19f, 0.19f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.24f);
|
|
|
|
|
colors[ImGuiCol_FrameBg] = ImVec4(0.05f, 0.05f, 0.05f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.19f, 0.19f, 0.19f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_FrameBgActive] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TitleBg] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TitleBgActive] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TitleBgCollapsed] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_MenuBarBg] = ImVec4(0.129f, 0.141f, 0.157f, 1.f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarBg] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.34f, 0.34f, 0.34f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.40f, 0.40f, 0.40f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.56f, 0.56f, 0.56f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_CheckMark] = ImVec4(0.627f, 0.239f, 0.761f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_SliderGrab] = ImVec4(0.34f, 0.34f, 0.34f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.56f, 0.56f, 0.56f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_Button] = ImVec4(0.05f, 0.05f, 0.05f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ButtonHovered] = ImVec4(0.15f, 0.15f, 0.15f, 0.54f);
|
|
|
|
|
colors[ImGuiCol_ButtonActive] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_Header] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_HeaderHovered] = ImVec4(0.00f, 0.00f, 0.00f, 0.36f);
|
|
|
|
|
colors[ImGuiCol_HeaderActive] = ImVec4(0.20f, 0.22f, 0.23f, 0.33f);
|
|
|
|
|
colors[ImGuiCol_Separator] = colors[ImGuiCol_MenuBarBg];
|
|
|
|
|
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.44f, 0.44f, 0.44f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_SeparatorActive] = ImVec4(0.40f, 0.44f, 0.47f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_ResizeGrip] = ImVec4(0.28f, 0.28f, 0.28f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.44f, 0.44f, 0.44f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_ResizeGripActive] = ImVec4(0.40f, 0.44f, 0.47f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_Tab] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TabHovered] = ImVec4(0.14f, 0.14f, 0.14f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TabActive] = ImVec4(0.14f, 0.14f, 0.14f, 0.8f);
|
|
|
|
|
colors[ImGuiCol_TabUnfocused] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_TabUnfocusedActive] = colors[ImGuiCol_WindowBg];
|
|
|
|
|
colors[ImGuiCol_DockingPreview] = ImVec4(0.627f, 0.239f, 0.761f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_DockingEmptyBg] = ImVec4(0.855f, 0.6f, 0.941f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotHistogram] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_TableHeaderBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_TableBorderStrong] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
|
|
|
|
|
colors[ImGuiCol_TableBorderLight] = ImVec4(0.28f, 0.28f, 0.28f, 0.29f);
|
|
|
|
|
colors[ImGuiCol_TableRowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
|
|
|
|
|
colors[ImGuiCol_TableRowBgAlt] = ImVec4(1.00f, 1.00f, 1.00f, 0.06f);
|
|
|
|
|
colors[ImGuiCol_TextSelectedBg] = ImVec4(0.20f, 0.22f, 0.23f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_DragDropTarget] = ImVec4(0.33f, 0.67f, 0.86f, 1.00f);
|
|
|
|
|
colors[ImGuiCol_NavHighlight] = ImVec4(0.73f, 0.73f, 0.73f, 0.7f);
|
|
|
|
|
colors[ImGuiCol_NavWindowingHighlight] = ImVec4(0.141f, 0.141f, 0.141f, 0.70f);
|
|
|
|
|
colors[ImGuiCol_NavWindowingDimBg] = colors[ImGuiCol_NavHighlight];
|
|
|
|
|
colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.2f, 0.2f, 0.2f, 0.65f);
|
|
|
|
|
colors[ImGuiCol_NavWindowingDimBg] = colors[ImGuiCol_NavHighlight];
|
|
|
|
|
colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.2f, 0.2f, 0.2f, 0.65f);
|
|
|
|
|
|
|
|
|
|
imStyle.WindowPadding = ImVec2(8.00f, 8.00f);
|
|
|
|
|
imStyle.FramePadding = ImVec2(5.00f, 2.00f);
|
|
|
|
|
imStyle.CellPadding = ImVec2(6.00f, 8.00f);
|
|
|
|
|
imStyle.ItemSpacing = ImVec2(6.00f, 6.00f);
|
|
|
|
|
imStyle.ItemInnerSpacing = ImVec2(6.00f, 6.00f);
|
|
|
|
|
imStyle.TouchExtraPadding = ImVec2(0.00f, 0.00f);
|
|
|
|
|
imStyle.IndentSpacing = 25;
|
|
|
|
|
imStyle.ScrollbarSize = 15;
|
|
|
|
|
imStyle.GrabMinSize = 10;
|
|
|
|
|
imStyle.WindowBorderSize = 0.6f;
|
|
|
|
|
imStyle.ChildBorderSize = 1;
|
|
|
|
|
imStyle.PopupBorderSize = 1;
|
|
|
|
|
imStyle.FrameBorderSize = 1;
|
|
|
|
|
imStyle.TabBorderSize = 1;
|
|
|
|
|
imStyle.WindowRounding = 7;
|
|
|
|
|
imStyle.ChildRounding = 4;
|
|
|
|
|
imStyle.FrameRounding = 3;
|
|
|
|
|
imStyle.PopupRounding = 4;
|
|
|
|
|
imStyle.ScrollbarRounding = 9;
|
|
|
|
|
imStyle.GrabRounding = 3;
|
|
|
|
|
imStyle.LogSliderDeadzone = 4;
|
|
|
|
|
imStyle.TabRounding = 4;
|
|
|
|
|
imStyle.WindowPadding = ImVec2(8.00f, 8.00f);
|
|
|
|
|
imStyle.FramePadding = ImVec2(5.00f, 2.00f);
|
|
|
|
|
imStyle.CellPadding = ImVec2(6.00f, 8.00f);
|
|
|
|
|
imStyle.ItemSpacing = ImVec2(6.00f, 6.00f);
|
|
|
|
|
imStyle.ItemInnerSpacing = ImVec2(6.00f, 6.00f);
|
|
|
|
|
imStyle.TouchExtraPadding = ImVec2(0.00f, 0.00f);
|
|
|
|
|
imStyle.IndentSpacing = 25;
|
|
|
|
|
imStyle.ScrollbarSize = 15;
|
|
|
|
|
imStyle.GrabMinSize = 10;
|
|
|
|
|
imStyle.WindowBorderSize = 0.6f;
|
|
|
|
|
imStyle.ChildBorderSize = 1;
|
|
|
|
|
imStyle.PopupBorderSize = 1;
|
|
|
|
|
imStyle.FrameBorderSize = 1;
|
|
|
|
|
imStyle.TabBorderSize = 1;
|
|
|
|
|
imStyle.WindowRounding = 7;
|
|
|
|
|
imStyle.ChildRounding = 4;
|
|
|
|
|
imStyle.FrameRounding = 3;
|
|
|
|
|
imStyle.PopupRounding = 4;
|
|
|
|
|
imStyle.ScrollbarRounding = 9;
|
|
|
|
|
imStyle.GrabRounding = 3;
|
|
|
|
|
imStyle.LogSliderDeadzone = 4;
|
|
|
|
|
imStyle.TabRounding = 4;
|
|
|
|
|
imStyle.WindowMenuButtonPosition = ImGuiDir_None;
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|