Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
4.1KB

  1. /*******************************************************************************/
  2. /* Copyright (C) 2012 Jonathan Moore Liles */
  3. /* */
  4. /* This program is free software; you can redistribute it and/or modify it */
  5. /* under the terms of the GNU General Public License as published by the */
  6. /* Free Software Foundation; either version 2 of the License, or (at your */
  7. /* option) any later version. */
  8. /* */
  9. /* This program is distributed in the hope that it will be useful, but WITHOUT */
  10. /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
  11. /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for */
  12. /* more details. */
  13. /* */
  14. /* You should have received a copy of the GNU General Public License along */
  15. /* with This program; see the file COPYING. If not,write to the Free Software */
  16. /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  17. /*******************************************************************************/
  18. #include "FL/Crystal_Theme.H"
  19. #include "FL/Gleam_Theme.H"
  20. #include "FL/Clean_Theme.H"
  21. #include "FL/Fl_Theme.H"
  22. void fl_register_themes ( void )
  23. {
  24. init_clean_theme();
  25. init_crystal_theme();
  26. init_gleam_theme();
  27. {
  28. Fl_Color_Scheme *o = new Fl_Color_Scheme( "Dark",
  29. fl_rgb_color( 50, 50, 50 ),
  30. fl_rgb_color( 100, 100, 100 ),
  31. fl_rgb_color( 255, 255, 255 ),
  32. FL_YELLOW );
  33. Fl_Color_Scheme::add( o );
  34. }
  35. {
  36. Fl_Color_Scheme *o = new Fl_Color_Scheme( "Darker",
  37. fl_rgb_color( 20, 20, 20 ),
  38. fl_rgb_color( 100, 100, 100 ),
  39. fl_rgb_color( 240, 240, 240 ),
  40. FL_YELLOW );
  41. Fl_Color_Scheme::add( o );
  42. }
  43. {
  44. Fl_Color_Scheme *o = new Fl_Color_Scheme( "Gray",
  45. fl_rgb_color( 100, 100, 100 ),
  46. fl_rgb_color( 127, 127, 127 ),
  47. fl_rgb_color( 255, 255, 255 ),
  48. FL_YELLOW );
  49. Fl_Color_Scheme::add( o );
  50. }
  51. {
  52. Fl_Color_Scheme *o = new Fl_Color_Scheme( "Black",
  53. fl_rgb_color( 0, 0, 0 ),
  54. fl_rgb_color( 20, 20, 20 ),
  55. fl_rgb_color( 240, 240, 240 ),
  56. FL_YELLOW );
  57. Fl_Color_Scheme::add( o );
  58. }
  59. {
  60. Fl_Color_Scheme *o = new Fl_Color_Scheme( "Light",
  61. fl_rgb_color( 220, 220, 220 ),
  62. fl_rgb_color( 192, 192, 192 ),
  63. fl_rgb_color( 0, 0, 0 ),
  64. FL_BLUE );
  65. Fl_Color_Scheme::add( o );
  66. }
  67. {
  68. Fl::get_system_colors();
  69. Fl_Color_Scheme *o = new Fl_Color_Scheme( "System",
  70. (Fl_Color)Fl::get_color( FL_BACKGROUND_COLOR ),
  71. (Fl_Color)Fl::get_color( FL_BACKGROUND2_COLOR ),
  72. (Fl_Color)Fl::get_color( FL_FOREGROUND_COLOR ),
  73. FL_BLUE );
  74. Fl_Color_Scheme::add( o );
  75. }
  76. }