1 /*************************************************************************** 2 * Copyright (C) 2009 by Pere Ràfols Soler * 3 * sapista2@gmail.com * 4 * * 5 * This program is free software; you can redistribute it and/or modify * 6 * it under the terms of the GNU General Public License as published by * 7 * the Free Software Foundation; either version 2 of the License, or * 8 * (at your option) any later version. * 9 * * 10 * This program is distributed in the hope that it will be useful, * 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 * GNU General Public License for more details. * 14 * * 15 * You should have received a copy of the GNU General Public License * 16 * along with this program; if not, write to the * 17 * Free Software Foundation, Inc., * 18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 ***************************************************************************/ 20 #include <glibmm/ustring.h> 21 22 #ifndef EQ10Q_COLORS_H 23 #define EQ10Q_COLORS_H 24 25 //Wdiget background colors 26 #define BACKGROUND_R 0.19 //0.07 27 #define BACKGROUND_G 0.19 //0.08 28 #define BACKGROUND_B 0.22 //0.15 29 30 //Wdiget foreground colors 31 #define FOREGROUND_R 0.8 //0.0 32 #define FOREGROUND_G 0.8 //0.65 33 #define FOREGROUND_B 0.8 //0.65 34 35 //Text Label Color 36 #define TEXT_R 0.9 37 #define TEXT_G 0.9 38 #define TEXT_B 0.9 39 40 //Buttons background colors 41 #define BUTTON_BACKGROUND_R 0.02 42 #define BUTTON_BACKGROUND_G 0.32 43 #define BUTTON_BACKGROUND_B 0.45 44 45 //Buttons Active background colors 46 #define BUTTON_ACTIVE_BG_R 0.11 47 #define BUTTON_ACTIVE_BG_G 0.56 48 #define BUTTON_ACTIVE_BG_B 0.19 49 50 //Buttons inactive background colors 51 #define BUTTON_INACTIVE_BG_R 0.00 52 #define BUTTON_INACTIVE_BG_G 0.15 53 #define BUTTON_INACTIVE_BG_B 0.25 54 55 //Buttons Mouse Over background colors 56 #define BUTTON_OVER_BG_R 0.01 57 #define BUTTON_OVER_BG_G 0.46 58 #define BUTTON_OVER_BG_B 0.09 59 60 //Bands colors LUT 61 const Glib::ustring bandColorLUT[] = {"#FF0000","#CDC009","#535EFB","#19FFAF","#FF01FF","#00FF00","#A52A2A","#FF8C2E","#B2DFEE","#7129EE" }; 62 63 //Convert to Gdk::Color macro 64 #define GDK_COLOR_MACRO(_color) ((gushort)floor(_color * (double)G_MAXUSHORT)) 65 66 #endif