2 * colors.h -- color attribute definitions
4 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 * Default color definitions
28 #define SCREEN_FG COLOR_CYAN
29 #define SCREEN_BG COLOR_BLUE
30 #define SCREEN_HL TRUE
32 #define SHADOW_FG COLOR_BLACK
33 #define SHADOW_BG COLOR_BLACK
34 #define SHADOW_HL TRUE
36 #define DIALOG_FG COLOR_BLACK
37 #define DIALOG_BG COLOR_WHITE
38 #define DIALOG_HL FALSE
40 #define TITLE_FG COLOR_BLUE
41 #define TITLE_BG COLOR_WHITE
44 #define BORDER_FG COLOR_WHITE
45 #define BORDER_BG COLOR_WHITE
46 #define BORDER_HL TRUE
48 #define BUTTON_ACTIVE_FG COLOR_WHITE
49 #define BUTTON_ACTIVE_BG COLOR_BLUE
50 #define BUTTON_ACTIVE_HL TRUE
52 #define BUTTON_INACTIVE_FG COLOR_BLACK
53 #define BUTTON_INACTIVE_BG COLOR_WHITE
54 #define BUTTON_INACTIVE_HL FALSE
56 #define BUTTON_KEY_ACTIVE_FG COLOR_WHITE
57 #define BUTTON_KEY_ACTIVE_BG COLOR_BLUE
58 #define BUTTON_KEY_ACTIVE_HL TRUE
60 #define BUTTON_KEY_INACTIVE_FG COLOR_RED
61 #define BUTTON_KEY_INACTIVE_BG COLOR_WHITE
62 #define BUTTON_KEY_INACTIVE_HL FALSE
64 #define BUTTON_LABEL_ACTIVE_FG COLOR_YELLOW
65 #define BUTTON_LABEL_ACTIVE_BG COLOR_BLUE
66 #define BUTTON_LABEL_ACTIVE_HL TRUE
68 #define BUTTON_LABEL_INACTIVE_FG COLOR_BLACK
69 #define BUTTON_LABEL_INACTIVE_BG COLOR_WHITE
70 #define BUTTON_LABEL_INACTIVE_HL TRUE
72 #define INPUTBOX_FG COLOR_BLACK
73 #define INPUTBOX_BG COLOR_WHITE
74 #define INPUTBOX_HL FALSE
76 #define INPUTBOX_BORDER_FG COLOR_BLACK
77 #define INPUTBOX_BORDER_BG COLOR_WHITE
78 #define INPUTBOX_BORDER_HL FALSE
80 #define SEARCHBOX_FG COLOR_BLACK
81 #define SEARCHBOX_BG COLOR_WHITE
82 #define SEARCHBOX_HL FALSE
84 #define SEARCHBOX_TITLE_FG COLOR_BLUE
85 #define SEARCHBOX_TITLE_BG COLOR_WHITE
86 #define SEARCHBOX_TITLE_HL TRUE
88 #define SEARCHBOX_BORDER_FG COLOR_WHITE
89 #define SEARCHBOX_BORDER_BG COLOR_WHITE
90 #define SEARCHBOX_BORDER_HL TRUE
92 #define POSITION_INDICATOR_FG COLOR_BLUE
93 #define POSITION_INDICATOR_BG COLOR_WHITE
94 #define POSITION_INDICATOR_HL TRUE
96 #define MENUBOX_FG COLOR_BLACK
97 #define MENUBOX_BG COLOR_WHITE
98 #define MENUBOX_HL FALSE
100 #define MENUBOX_BORDER_FG COLOR_WHITE
101 #define MENUBOX_BORDER_BG COLOR_WHITE
102 #define MENUBOX_BORDER_HL TRUE
104 #define ITEM_FG COLOR_BLACK
105 #define ITEM_BG COLOR_WHITE
106 #define ITEM_HL FALSE
108 #define ITEM_SELECTED_FG COLOR_WHITE
109 #define ITEM_SELECTED_BG COLOR_BLUE
110 #define ITEM_SELECTED_HL TRUE
112 #define TAG_FG COLOR_BLUE
113 #define TAG_BG COLOR_WHITE
116 #define TAG_SELECTED_FG COLOR_YELLOW
117 #define TAG_SELECTED_BG COLOR_BLUE
118 #define TAG_SELECTED_HL TRUE
120 #define TAG_KEY_FG COLOR_BLUE
121 #define TAG_KEY_BG COLOR_WHITE
122 #define TAG_KEY_HL TRUE
124 #define TAG_KEY_SELECTED_FG COLOR_YELLOW
125 #define TAG_KEY_SELECTED_BG COLOR_BLUE
126 #define TAG_KEY_SELECTED_HL TRUE
128 #define CHECK_FG COLOR_BLACK
129 #define CHECK_BG COLOR_WHITE
130 #define CHECK_HL FALSE
132 #define CHECK_SELECTED_FG COLOR_WHITE
133 #define CHECK_SELECTED_BG COLOR_BLUE
134 #define CHECK_SELECTED_HL TRUE
136 #define UARROW_FG COLOR_GREEN
137 #define UARROW_BG COLOR_WHITE
138 #define UARROW_HL TRUE
140 #define DARROW_FG COLOR_GREEN
141 #define DARROW_BG COLOR_WHITE
142 #define DARROW_HL TRUE
144 /* End of default color definitions */
146 #define C_ATTR(x,y) ((x ? A_BOLD : 0) | COLOR_PAIR((y)))
147 #define COLOR_NAME_LEN 10
148 #define COLOR_COUNT 8
154 extern int color_table
[][3];
This page took 0.0528 seconds and 5 git commands to generate.