Kamazity.win
-
Автор темы
- #1
Всем доброго времени суток! Я не шарю в имгуи и мне нужна помощь. Я не знаю, где тут изменять цвет чекбокса! Сижу меняю цвета пытаюсь, но поменять цвет чекбокса не получается кпц.
colors[ImGuiCol_Text] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_TextDisabled] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_WindowBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
//colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 1.00f, 1.00f, 1.00f, 0.98f
colors[ImGuiCol_Border] = ImVec4(0.00f, 0.00f, 0.00f, 0.31f);
colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.100f, 0.175f, 0.586f, 0.540f); // 1.00f, 1.00f, 1.00f, 1.00f это за слайдеры
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.00f, 0.00f, 0.00f, 0.05f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.00f, 0.00f, 0.00f, 0.18f);
colors[ImGuiCol_TitleBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(1.00f, 1.00f, 1.00f, 0.51f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.86f, 0.86f, 0.86f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.98f, 0.98f, 0.98f, 0.53f
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 0.80f
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 0.80f
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 1.00f
colors[ImGuiCol_CheckMark] = ImVec4(0.994f, 0.000f, 0.000f, 1.000f); // нажатие кнопки
colors[ImGuiCol_SliderGrab] = ImVec4(0.154f, 0.032f, 0.232f, 0.940f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.154f, 0.032f, 0.232f, 0.940f);
colors[ImGuiCol_Button] = ImVec4(0.485f, 0.077f, 1.000f, 0.540f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.485f, 0.077f, 1.000f, 0.540f);
colors[ImGuiCol_ButtonActive] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_ComboBg] = ImVec4(0.219, 0.262, 0.482, 1.00);
colors[ImGuiCol_ChildWindowBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
colors[ImGuiCol_Text] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_TextDisabled] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_WindowBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
//colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 1.00f, 1.00f, 1.00f, 0.98f
colors[ImGuiCol_Border] = ImVec4(0.00f, 0.00f, 0.00f, 0.31f);
colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.100f, 0.175f, 0.586f, 0.540f); // 1.00f, 1.00f, 1.00f, 1.00f это за слайдеры
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.00f, 0.00f, 0.00f, 0.05f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.00f, 0.00f, 0.00f, 0.18f);
colors[ImGuiCol_TitleBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(1.00f, 1.00f, 1.00f, 0.51f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.86f, 0.86f, 0.86f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.98f, 0.98f, 0.98f, 0.53f
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 0.80f
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 0.80f
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.267f, 0.000f, 0.464f, 0.940f); // 0.49f, 0.49f, 0.49f, 1.00f
colors[ImGuiCol_CheckMark] = ImVec4(0.994f, 0.000f, 0.000f, 1.000f); // нажатие кнопки
colors[ImGuiCol_SliderGrab] = ImVec4(0.154f, 0.032f, 0.232f, 0.940f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.154f, 0.032f, 0.232f, 0.940f);
colors[ImGuiCol_Button] = ImVec4(0.485f, 0.077f, 1.000f, 0.540f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.485f, 0.077f, 1.000f, 0.540f);
colors[ImGuiCol_ButtonActive] = ImVec4(1.000f, 1.000f, 1.000f, 1.000f);
colors[ImGuiCol_ComboBg] = ImVec4(0.219, 0.262, 0.482, 1.00);
colors[ImGuiCol_ChildWindowBg] = ImVec4(0.114f, 0.021f, 0.204f, 0.940f);