From f7d11f2d73363d2dad1d46cb68885dda60b9ac99 Mon Sep 17 00:00:00 2001 From: Grinch_ Date: Sat, 4 Dec 2021 19:42:31 +0600 Subject: [PATCH] Add more contrast to menu colors --- src/cheatmenu.cpp | 32 ++++++++++++++++---------------- src/menuinfo.h | 2 +- tools/DebugIII.bat | 2 +- tools/DebugSA.bat | 2 +- tools/DebugVC.bat | 2 +- tools/ReleaseIII.bat | 2 +- tools/ReleaseSA.bat | 2 +- tools/ReleaseVC.bat | 2 +- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/cheatmenu.cpp b/src/cheatmenu.cpp index 9ee054c..37debf0 100644 --- a/src/cheatmenu.cpp +++ b/src/cheatmenu.cpp @@ -145,37 +145,37 @@ void CheatMenu::ApplyStyle() style->Colors[ImGuiCol_PopupBg] = ImVec4(0.07f, 0.07f, 0.09f, 0.95f); style->Colors[ImGuiCol_Border] = ImVec4(0.12f, 0.12f, 0.12f, 1.0f); style->Colors[ImGuiCol_BorderShadow] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); - style->Colors[ImGuiCol_FrameBg] = ImVec4(0.12f, 0.12f, 0.12f, 0.95f); - style->Colors[ImGuiCol_FrameBgHovered] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f); - style->Colors[ImGuiCol_FrameBgActive] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); + style->Colors[ImGuiCol_FrameBg] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_FrameBgHovered] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f); + style->Colors[ImGuiCol_FrameBgActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); style->Colors[ImGuiCol_TitleBg] = ImVec4(0.12f, 0.12f, 0.12f, 0.94f); style->Colors[ImGuiCol_TitleBgCollapsed] = ImVec4(1.00f, 0.98f, 0.95f, 0.75f); style->Colors[ImGuiCol_TitleBgActive] = ImVec4(0.07f, 0.07f, 0.09f, 1.00f); - style->Colors[ImGuiCol_MenuBarBg] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); - style->Colors[ImGuiCol_ScrollbarBg] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); - style->Colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.8f, 0.8f, 0.8f, 0.3f); - style->Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.5f, 0.5f, 0.5f, 0.3f); - style->Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.2f, 0.2f, 0.2f, 1.00f); + style->Colors[ImGuiCol_MenuBarBg] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_ScrollbarBg] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.5f, 0.5f, 0.5f, 0.3f); + style->Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.7f, 0.7f, 0.7f, 0.3f); + style->Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.9f, 0.9f, 0.9f, 0.3f); style->Colors[ImGuiCol_CheckMark] = ImVec4(0.80f, 0.80f, 0.83f, 0.31f); style->Colors[ImGuiCol_SliderGrab] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); style->Colors[ImGuiCol_SliderGrabActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); - style->Colors[ImGuiCol_Separator] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); - style->Colors[ImGuiCol_Button] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); - style->Colors[ImGuiCol_ButtonHovered] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f); + style->Colors[ImGuiCol_Separator] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_Button] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_ButtonHovered] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f); style->Colors[ImGuiCol_ButtonActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); - style->Colors[ImGuiCol_Tab] = ImVec4(0.12f, 0.12f, 0.12f, 1.00f); - style->Colors[ImGuiCol_TabHovered] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f); + style->Colors[ImGuiCol_Tab] = ImVec4(0.15f, 0.15f, 0.15f, 0.95f); + style->Colors[ImGuiCol_TabHovered] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f); style->Colors[ImGuiCol_TabActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); style->Colors[ImGuiCol_Header] = ImVec4(0.0f, 0.0f, 0.0f, 0.0f); - style->Colors[ImGuiCol_HeaderHovered] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f); + style->Colors[ImGuiCol_HeaderHovered] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f); style->Colors[ImGuiCol_HeaderActive] = ImVec4(0.06f, 0.05f, 0.07f, 1.00f); style->Colors[ImGuiCol_ResizeGrip] = ImVec4(0.12f, 0.12f, 0.12f, 0.00f); - style->Colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.16f, 0.16f, 0.16f, 1.00f); + style->Colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.17f, 0.17f, 0.17f, 1.00f); style->Colors[ImGuiCol_ResizeGripActive] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); style->Colors[ImGuiCol_PlotLines] = ImVec4(0.40f, 0.39f, 0.38f, 0.63f); style->Colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.25f, 1.00f, 0.00f, 1.00f); style->Colors[ImGuiCol_PlotHistogram] = ImVec4(0.40f, 0.39f, 0.38f, 0.63f); style->Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.25f, 1.00f, 0.00f, 1.00f); - style->Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.20f, 0.20f, 0.20f, 1.00f); + style->Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.06f, 0.05f, 0.06f, 0.95f); style->Colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.20f, 0.20f, 0.20f, 0.6f); } diff --git a/src/menuinfo.h b/src/menuinfo.h index 41c242b..514d037 100644 --- a/src/menuinfo.h +++ b/src/menuinfo.h @@ -2,5 +2,5 @@ #define MENU_NAME "Cheat Menu" #define MENU_VERSION_NUMBER "3.0" #define MENU_VERSION MENU_VERSION_NUMBER"-beta" -#define BUILD_NUMBER "20211124" +#define BUILD_NUMBER "20210412" #define MENU_TITLE MENU_NAME " v" MENU_VERSION diff --git a/tools/DebugIII.bat b/tools/DebugIII.bat index 33f5355..f5aeb3b 100644 --- a/tools/DebugIII.bat +++ b/tools/DebugIII.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuIII cd .. diff --git a/tools/DebugSA.bat b/tools/DebugSA.bat index 49c8ba6..b61bfa3 100644 --- a/tools/DebugSA.bat +++ b/tools/DebugSA.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuSA cd .. diff --git a/tools/DebugVC.bat b/tools/DebugVC.bat index cb1980d..cbebb0a 100644 --- a/tools/DebugVC.bat +++ b/tools/DebugVC.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuVC cd .. diff --git a/tools/ReleaseIII.bat b/tools/ReleaseIII.bat index 2ca71d8..e304cb3 100644 --- a/tools/ReleaseIII.bat +++ b/tools/ReleaseIII.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuIII cd .. diff --git a/tools/ReleaseSA.bat b/tools/ReleaseSA.bat index cac8f4f..cdd027e 100644 --- a/tools/ReleaseSA.bat +++ b/tools/ReleaseSA.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuSA cd .. diff --git a/tools/ReleaseVC.bat b/tools/ReleaseVC.bat index d6bf311..687f260 100644 --- a/tools/ReleaseVC.bat +++ b/tools/ReleaseVC.bat @@ -2,6 +2,6 @@ cd tools premake5.exe vs2022 cd ../build -call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" +call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuVC cd ..