Стайлы FlexHack

root

  • 239
  • 283

root

Администратор
  • 239
  • 283
Код:
ImGuiStyle& style = ImGui::GetStyle();
  style.Alpha = 1.0f;
  style.WindowPadding = ImVec2(8, 8);
  style.WindowMinSize = ImVec2(32, 32);
  style.WindowRounding = 0.0f;
  style.ChildWindowRounding = 0.0f;
  style.FramePadding = ImVec2(4, 3);
  style.FrameRounding = 0;
  style.ItemSpacing = ImVec2(8, 4);
  style.ItemInnerSpacing = ImVec2(4, 4);
  style.TouchExtraPadding = ImVec2(0, 0);
  style.IndentSpacing = 21.0f;
  style.ColumnsMinSpacing = 3.0f;
  style.ScrollbarSize = 2.0f;
  style.ScrollbarRounding = 0.0f;
  style.GrabMinSize = 2.0f;
  style.GrabRounding = 0;
  style.DisplayWindowPadding = ImVec2(22, 22);
  style.DisplaySafeAreaPadding = ImVec2(4, 4);
  style.AntiAliasedLines = true;
  style.AntiAliasedShapes = true;
  style.WindowTitleAlign = ImVec2(0.5, 0.5);

  style.Colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
  style.Colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f);
  style.Colors[ImGuiCol_WindowBg] = ImColor(53,59,81);
  style.Colors[ImGuiCol_ChildWindowBg] = ImColor(53, 59, 81);
  style.Colors[ImGuiCol_Border] = ImColor(66, 72, 99);
  style.Colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
  style.Colors[ImGuiCol_FrameBg] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_FrameBgHovered] = ImColor(77, 86, 115);
  style.Colors[ImGuiCol_FrameBgActive] = ImColor(70, 79, 104);
  style.Colors[ImGuiCol_TitleBg] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_TitleBgCollapsed] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_TitleBgActive] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_MenuBarBg] = ImVec4(1.00f, 0.0f, 0.0f, 0.96f);
  style.Colors[ImGuiCol_ScrollbarBg] = ImColor(53, 59, 81);
  style.Colors[ImGuiCol_ScrollbarGrab] = ImColor(101, 112, 142);
  style.Colors[ImGuiCol_ScrollbarGrabHovered] = ImColor(97, 107, 135);
  style.Colors[ImGuiCol_ScrollbarGrabActive] = ImColor(90, 100, 127);
  style.Colors[ImGuiCol_ComboBg] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_CheckMark] = ImColor(25, 176, 215);
  style.Colors[ImGuiCol_SliderGrab] = ImColor(25, 176, 215);
  style.Colors[ImGuiCol_SliderGrabActive] = ImColor(27, 178, 217);
  style.Colors[ImGuiCol_Button] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_ButtonHovered] = ImColor(31, 143, 207);
  style.Colors[ImGuiCol_ButtonActive] = ImColor(25, 176, 215);
  style.Colors[ImGuiCol_Header] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_HeaderHovered] = ImColor(31, 143, 207);
  style.Colors[ImGuiCol_HeaderActive] = ImColor(25, 176, 215);
  style.Colors[ImGuiCol_Column] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f);
  style.Colors[ImGuiCol_ColumnHovered] = ImVec4(0.70f, 0.60f, 0.60f, 1.00f);
  style.Colors[ImGuiCol_ColumnActive] = ImVec4(0.90f, 0.70f, 0.70f, 1.00f);
  style.Colors[ImGuiCol_ResizeGrip] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_ResizeGripHovered] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_ResizeGripActive] = ImColor(64, 72, 95);
  style.Colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
  style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.0f, 0.0f, 0.86f);
  style.Colors[ImGuiCol_PlotHistogram] = ImVec4(0.87f, 0.87f, 0.87f, 0.87f);
  style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.87f, 0.87f, 0.87f, 0.87f);
  style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.35f);
  style.Colors[ImGuiCol_ModalWindowDarkening] = ImVec4(1.00f, 0.09f, 0.43f, 0.0f);
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.