Themes.h 914 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "../api/imgui/ImGui/imgui.h"
  3. #include "../config/ConfigManager.h"
  4. static int fontindex_menu = 1;
  5. static int theme_index = 1;
  6. static int style_index = 1;
  7. static ImVec4 wordle_empty = ImVec4(0.07058f, 0.07058f, 0.07450f, 1.0f); // default = not guessed, dark grey
  8. static ImVec4 wordle_guessed_noexist = ImVec4(0.22745f, 0.22745f, 0.23529f, 1.0f); // 1 = guessed, letter doesnt exist, brighter grey
  9. static ImVec4 wordle_guessed_wrongpos = ImVec4(0.70980f, 0.62352f, 0.23137f, 1.0f); // 2 = guessed, letter exists but wrong position, yellow
  10. static ImVec4 wordle_guessed_correct = ImVec4(0.32549f, 0.55294f, 0.30588f, 1.0f); // 3 = guessed, letter exists and in right pos, green
  11. void dark_theme();
  12. void light_theme();
  13. //void red_theme();
  14. void cozy_style();
  15. void cozy_square_style();
  16. void setTheme(int themeIndex);
  17. void setStyle(int styleIndex);
  18. void setFont(int fontIndex);