Updating Doxygen styling and Licenses
[baulk.git] / src / Widgets / BaulkTerm / qtermwidget / ColorTables.h
blob300e1efb7950f72249e1987d314f31d94670a29d
1 // e_k <e_k at users.sourceforge.net>, Copyright (C)2008
2 // Forked for Baulk - Copyright (C) 2008-2009 - Jacob Alexander <haata at users.sf.net>
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 2 of the License, or
7 // any later version, including version 3 of the License.
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.
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/>.
18 #ifndef _COLOR_TABLE_H
19 #define _COLOR_TABLE_H
21 #include "CharacterColor.h"
23 using namespace Konsole;
25 //static const ColorEntry whiteonblack_color_table[TABLE_COLORS] =
26 //{
27 // // normal
28 // ColorEntry(QColor(0xFF,0xFF,0xFF), 0, 0 ), ColorEntry( QColor(0x00,0x00,0x00), 1, 0 ), // Dfore, Dback
29 // ColorEntry(QColor(0x00,0x00,0x00), 0, 0 ), ColorEntry( QColor(0xB2,0x18,0x18), 0, 0 ), // Black, Red
30 // ColorEntry(QColor(0x18,0xB2,0x18), 0, 0 ), ColorEntry( QColor(0xB2,0x68,0x18), 0, 0 ), // Green, Yellow
31 // ColorEntry(QColor(0x18,0x18,0xB2), 0, 0 ), ColorEntry( QColor(0xB2,0x18,0xB2), 0, 0 ), // Blue, Magenta
32 // ColorEntry(QColor(0x18,0xB2,0xB2), 0, 0 ), ColorEntry( QColor(0xB2,0xB2,0xB2), 0, 0 ), // Cyan, White
33 // // intensiv
34 // ColorEntry(QColor(0x00,0x00,0x00), 0, 1 ), ColorEntry( QColor(0xFF,0xFF,0xFF), 1, 0 ),
35 // ColorEntry(QColor(0x68,0x68,0x68), 0, 0 ), ColorEntry( QColor(0xFF,0x54,0x54), 0, 0 ),
36 // ColorEntry(QColor(0x54,0xFF,0x54), 0, 0 ), ColorEntry( QColor(0xFF,0xFF,0x54), 0, 0 ),
37 // ColorEntry(QColor(0x54,0x54,0xFF), 0, 0 ), ColorEntry( QColor(0xFF,0x54,0xFF), 0, 0 ),
38 // ColorEntry(QColor(0x54,0xFF,0xFF), 0, 0 ), ColorEntry( QColor(0xFF,0xFF,0xFF), 0, 0 )
39 //};
42 static const ColorEntry whiteonblack_color_table[TABLE_COLORS] =
44 // normal
45 ColorEntry( QColor(0xD3,0xD3,0xD3), 0, 0 ), // Foreground1
46 ColorEntry( QColor(0x00,0x00,0x00), 1, 0 ), // Background1
48 ColorEntry( QColor(0x67,0x67,0x67), 0, 0 ), // Black1
49 ColorEntry( QColor(0xEA,0x68,0x68), 0, 0 ), // Red1
51 ColorEntry( QColor(0xAB,0xCB,0x8D), 0, 0 ), // Green1
52 ColorEntry( QColor(0xE8,0xAE,0x5B), 0, 0 ), // Yellow1
54 ColorEntry( QColor(0x71,0xC5,0xF4), 0, 0 ), // Blue1
55 ColorEntry( QColor(0xE2,0xBA,0xF1), 0, 0 ), // Magenta1
57 ColorEntry( QColor(0x21,0xF1,0xEA), 0, 0 ), // Cyan1
58 ColorEntry( QColor(0xD3,0xD3,0xD3), 0, 0 ), // White1
60 // intensive
61 ColorEntry( QColor(0x00,0x00,0x00), 0, 1 ), // Foreground2
62 ColorEntry( QColor(0xD3,0xD3,0xD3), 1, 0 ), // Background2
64 ColorEntry( QColor(0x75,0x75,0x75), 0, 0 ), // Black2
65 ColorEntry( QColor(0xFF,0x72,0x72), 0, 0 ), // Red2
67 ColorEntry( QColor(0xAF,0xD7,0x8A), 0, 0 ), // Green2
68 ColorEntry( QColor(0xFF,0xA7,0x5D), 0, 0 ), // Yellow2
70 ColorEntry( QColor(0x67,0xCD,0xE9), 0, 0 ), // Blue2
71 ColorEntry( QColor(0xEC,0xAE,0xE9), 0, 0 ), // Magenta2
73 ColorEntry( QColor(0x36,0xFF,0xFC), 0, 0 ), // Cyan2
74 ColorEntry( QColor(0xFF,0xFF,0xFF), 0, 0 ) // White2
77 static const ColorEntry greenonblack_color_table[TABLE_COLORS] =
79 ColorEntry(QColor( 24, 240, 24), 0, 0), ColorEntry(QColor( 0, 0, 0), 1, 0),
80 ColorEntry(QColor( 0, 0, 0), 0, 0), ColorEntry(QColor( 178, 24, 24), 0, 0),
81 ColorEntry(QColor( 24, 178, 24), 0, 0), ColorEntry(QColor( 178, 104, 24), 0, 0),
82 ColorEntry(QColor( 24, 24, 178), 0, 0), ColorEntry(QColor( 178, 24, 178), 0, 0),
83 ColorEntry(QColor( 24, 178, 178), 0, 0), ColorEntry(QColor( 178, 178, 178), 0, 0),
84 // intensive colors
85 ColorEntry(QColor( 24, 240, 24), 0, 1 ), ColorEntry(QColor( 0, 0, 0), 1, 0 ),
86 ColorEntry(QColor( 104, 104, 104), 0, 0 ), ColorEntry(QColor( 255, 84, 84), 0, 0 ),
87 ColorEntry(QColor( 84, 255, 84), 0, 0 ), ColorEntry(QColor( 255, 255, 84), 0, 0 ),
88 ColorEntry(QColor( 84, 84, 255), 0, 0 ), ColorEntry(QColor( 255, 84, 255), 0, 0 ),
89 ColorEntry(QColor( 84, 255, 255), 0, 0 ), ColorEntry(QColor( 255, 255, 255), 0, 0 )
92 static const ColorEntry blackonlightyellow_color_table[TABLE_COLORS] =
94 ColorEntry(QColor( 0, 0, 0), 0, 0), ColorEntry(QColor( 255, 255, 221), 1, 0),
95 ColorEntry(QColor( 0, 0, 0), 0, 0), ColorEntry(QColor( 178, 24, 24), 0, 0),
96 ColorEntry(QColor( 24, 178, 24), 0, 0), ColorEntry(QColor( 178, 104, 24), 0, 0),
97 ColorEntry(QColor( 24, 24, 178), 0, 0), ColorEntry(QColor( 178, 24, 178), 0, 0),
98 ColorEntry(QColor( 24, 178, 178), 0, 0), ColorEntry(QColor( 178, 178, 178), 0, 0),
99 ColorEntry(QColor( 0, 0, 0), 0, 1), ColorEntry(QColor( 255, 255, 221), 1, 0),
100 ColorEntry(QColor(104, 104, 104), 0, 0), ColorEntry(QColor( 255, 84, 84), 0, 0),
101 ColorEntry(QColor( 84, 255, 84), 0, 0), ColorEntry(QColor( 255, 255, 84), 0, 0),
102 ColorEntry(QColor( 84, 84, 255), 0, 0), ColorEntry(QColor( 255, 84, 255), 0, 0),
103 ColorEntry(QColor( 84, 255, 255), 0, 0), ColorEntry(QColor( 255, 255, 255), 0, 0)
110 #endif