colorscheme.cpp 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // SuperTux
  2. // Copyright (C) 2009 qMax
  3. //
  4. // This program is free software: you can redistribute it and/or modify
  5. // it under the terms of the GNU General Public License as published by
  6. // the Free Software Foundation, either version 3 of the License, or
  7. // (at your option) any later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. #include "supertux/colorscheme.hpp"
  17. #include "editor/overlay_widget.hpp"
  18. #include "interface/control.hpp"
  19. #include "object/floating_text.hpp"
  20. #include "object/level_time.hpp"
  21. #include "object/text_object.hpp"
  22. #include "supertux/levelintro.hpp"
  23. #include "supertux/player_status_hud.hpp"
  24. #include "supertux/statistics.hpp"
  25. #include "supertux/textscroller_screen.hpp"
  26. #include "trigger/climbable.hpp"
  27. #include "trigger/secretarea_trigger.hpp"
  28. #include "worldmap/worldmap.hpp"
  29. Color LevelIntro::s_header_color(1.f,1.f,0.6f);
  30. Color LevelIntro::s_author_color(1.f,1.f,1.f);
  31. Color LevelIntro::s_stat_hdr_color(0.2f,0.5f,1.f);
  32. Color LevelIntro::s_stat_color(1.f,1.f,1.f);
  33. Color LevelIntro::s_stat_perfect_color(0.4f,1.f,0.4f);
  34. Color Statistics::header_color(1.f,1.f,1.f);
  35. Color Statistics::text_color(1.f,1.f,0.6f);
  36. Color Statistics::perfect_color(0.4f,1.f,0.4f);
  37. Color ColorScheme::Menu::back_color(0.2f, 0.3f, 0.4f, 0.8f);
  38. Color ColorScheme::Menu::front_color(0.6f, 0.7f, 0.8f, 0.5f);
  39. Color ColorScheme::Menu::help_back_color(0.5f, 0.6f, 0.7f, 0.8f);
  40. Color ColorScheme::Menu::help_front_color(0.8f, 0.9f, 1.f, 0.5f);
  41. Color ColorScheme::Menu::hl_color(0.6f, 0.7f, 1.f, 1.f);
  42. Color ColorScheme::Menu::default_color(1.f,1.f,1.f);
  43. Color ColorScheme::Menu::active_color(0.4f,0.66f,1.f);
  44. Color ColorScheme::Menu::inactive_color(0.5f,0.5f,0.5f);
  45. Color ColorScheme::Menu::label_color(0.f,1.f,1.f);
  46. Color ColorScheme::Menu::field_color(1.f,1.f,0.6f);
  47. Color ColorScheme::Menu::warning_color(1.f,1.f,0.6f);
  48. Color PlayerStatusHUD::text_color(1.f,1.f,0.6f);
  49. Color TextObject::default_color(1.f,1.f,1.f);
  50. Color FloatingText::text_color(1.f,1.f,0.6f);
  51. Color LevelTime::text_color(1.f,1.f,0.6f);
  52. Color SecretAreaTrigger::text_color(1.f,1.f,0.6f);
  53. Color Climbable::text_color(1.f,1.f,0.6f);
  54. Color worldmap::WorldMap::s_level_title_color(1.f,1.f,1.f);
  55. Color worldmap::WorldMap::s_message_color(1.f,1.f,0.6f);
  56. Color worldmap::WorldMap::s_teleporter_message_color(1.f,1.f,1.f);
  57. Color ColorScheme::Text::small_color(1.f,1.f,1.f);
  58. Color ColorScheme::Text::heading_color(1.f,1.f,0.6f);
  59. Color ColorScheme::Text::reference_color(0.2f,0.6f,1.f);
  60. Color ColorScheme::Text::normal_color(1.f,1.f,1.f);
  61. Color ColorScheme::Editor::default_color(0.9f, 0.9f, 1.0f, 0.6f);
  62. Color ColorScheme::Editor::hover_color(1.f, 1.f, 1.f, 0.4f);
  63. Color ColorScheme::Editor::grab_color(1.f, 1.f, 1.f, 0.7f);
  64. Color EditorOverlayWidget::text_autotile_available_color(1.f,1.f,0.6f);
  65. Color EditorOverlayWidget::text_autotile_active_color(1.f,1.f,1.f);
  66. Color EditorOverlayWidget::text_autotile_error_color(1.f,0.2f,0.1f);
  67. Color EditorOverlayWidget::warning_color(1.f, 0.5f, 0.f);
  68. Color EditorOverlayWidget::error_color(1.f, 0.2f, 0.f);
  69. /* EOF */