File indexing completed on 2025-01-19 04:23:25
0001 #ifndef _COLOR_TABLE_H 0002 #define _COLOR_TABLE_H 0003 0004 #include "CharacterColor.h" 0005 0006 //using namespace Konsole; 0007 #if 0 0008 static const ColorEntry whiteonblack_color_table[TABLE_COLORS] = { 0009 // normal 0010 ColorEntry(QColor(0xFF,0xFF,0xFF), false ), ColorEntry( QColor(0x00,0x00,0x00), true ), // Dfore, Dback 0011 ColorEntry(QColor(0x00,0x00,0x00), false ), ColorEntry( QColor(0xB2,0x18,0x18), false ), // Black, Red 0012 ColorEntry(QColor(0x18,0xB2,0x18), false ), ColorEntry( QColor(0xB2,0x68,0x18), false ), // Green, Yellow 0013 ColorEntry(QColor(0x18,0x18,0xB2), false ), ColorEntry( QColor(0xB2,0x18,0xB2), false ), // Blue, Magenta 0014 ColorEntry(QColor(0x18,0xB2,0xB2), false ), ColorEntry( QColor(0xB2,0xB2,0xB2), false ), // Cyan, White 0015 // intensiv 0016 ColorEntry(QColor(0x00,0x00,0x00), false ), ColorEntry( QColor(0xFF,0xFF,0xFF), true ), 0017 ColorEntry(QColor(0x68,0x68,0x68), false ), ColorEntry( QColor(0xFF,0x54,0x54), false ), 0018 ColorEntry(QColor(0x54,0xFF,0x54), false ), ColorEntry( QColor(0xFF,0xFF,0x54), false ), 0019 ColorEntry(QColor(0x54,0x54,0xFF), false ), ColorEntry( QColor(0xFF,0x54,0xFF), false ), 0020 ColorEntry(QColor(0x54,0xFF,0xFF), false ), ColorEntry( QColor(0xFF,0xFF,0xFF), false ) 0021 }; 0022 0023 static const ColorEntry greenonblack_color_table[TABLE_COLORS] = { 0024 ColorEntry(QColor( 24, 240, 24), false), ColorEntry(QColor( 0, 0, 0), true), 0025 ColorEntry(QColor( 0, 0, 0), false), ColorEntry(QColor( 178, 24, 24), false), 0026 ColorEntry(QColor( 24, 178, 24), false), ColorEntry(QColor( 178, 104, 24), false), 0027 ColorEntry(QColor( 24, 24, 178), false), ColorEntry(QColor( 178, 24, 178), false), 0028 ColorEntry(QColor( 24, 178, 178), false), ColorEntry(QColor( 178, 178, 178), false), 0029 // intensive colors 0030 ColorEntry(QColor( 24, 240, 24), false ), ColorEntry(QColor( 0, 0, 0), true ), 0031 ColorEntry(QColor( 104, 104, 104), false ), ColorEntry(QColor( 255, 84, 84), false ), 0032 ColorEntry(QColor( 84, 255, 84), false ), ColorEntry(QColor( 255, 255, 84), false ), 0033 ColorEntry(QColor( 84, 84, 255), false ), ColorEntry(QColor( 255, 84, 255), false ), 0034 ColorEntry(QColor( 84, 255, 255), false ), ColorEntry(QColor( 255, 255, 255), false ) 0035 }; 0036 0037 static const ColorEntry blackonlightyellow_color_table[TABLE_COLORS] = { 0038 ColorEntry(QColor( 0, 0, 0), false), ColorEntry(QColor( 255, 255, 221), true), 0039 ColorEntry(QColor( 0, 0, 0), false), ColorEntry(QColor( 178, 24, 24), false), 0040 ColorEntry(QColor( 24, 178, 24), false), ColorEntry(QColor( 178, 104, 24), false), 0041 ColorEntry(QColor( 24, 24, 178), false), ColorEntry(QColor( 178, 24, 178), false), 0042 ColorEntry(QColor( 24, 178, 178), false), ColorEntry(QColor( 178, 178, 178), false), 0043 ColorEntry(QColor( 0, 0, 0), false), ColorEntry(QColor( 255, 255, 221), true), 0044 ColorEntry(QColor(104, 104, 104), false), ColorEntry(QColor( 255, 84, 84), false), 0045 ColorEntry(QColor( 84, 255, 84), false), ColorEntry(QColor( 255, 255, 84), false), 0046 ColorEntry(QColor( 84, 84, 255), false), ColorEntry(QColor( 255, 84, 255), false), 0047 ColorEntry(QColor( 84, 255, 255), false), ColorEntry(QColor( 255, 255, 255), false) 0048 }; 0049 0050 0051 #endif 0052 0053 0054 #endif 0055