Dash:
[t2.git] / misc / confdialog / colors.h
blob4f08f6b5cc5b3aa5f23f02d4678221bd726496eb
1 /*
2 * --- T2-COPYRIGHT-NOTE-BEGIN ---
3 * This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 *
5 * T2 SDE: misc/confdialog/colors.h
6 * Copyright (C) 2004 - 2005 The T2 SDE Project
7 * Copyright (C) 1998 - 2003 ROCK Linux Project
8 *
9 * More information can be found in the files COPYING and README.
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; version 2 of the License. A copy of the
14 * GNU General Public License can be found in the file COPYING.
15 * --- T2-COPYRIGHT-NOTE-END ---
18 * colors.h -- color attribute definitions
20 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
21 * MODIFIED FOR ROCK LINUX CONFIG BY: Clifford Wolf (clifford@clifford.at)
23 * This program is free software; you can redistribute it and/or
24 * modify it under the terms of the GNU General Public License
25 * as published by the Free Software Foundation; either version 2
26 * of the License, or (at your option) any later version.
28 * This program is distributed in the hope that it will be useful,
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 * GNU General Public License for more details.
33 * You should have received a copy of the GNU General Public License
34 * along with this program; if not, write to the Free Software
35 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40 * Default color definitions
42 * *_FG = foreground
43 * *_BG = background
44 * *_HL = highlight?
46 #define SCREEN_FG COLOR_CYAN
47 #define SCREEN_BG COLOR_BLUE
48 #define SCREEN_HL TRUE
50 #define SHADOW_FG COLOR_BLACK
51 #define SHADOW_BG COLOR_BLACK
52 #define SHADOW_HL TRUE
54 #define DIALOG_FG COLOR_BLACK
55 #define DIALOG_BG COLOR_WHITE
56 #define DIALOG_HL FALSE
58 #define TITLE_FG COLOR_YELLOW
59 #define TITLE_BG COLOR_WHITE
60 #define TITLE_HL TRUE
62 #define BORDER_FG COLOR_WHITE
63 #define BORDER_BG COLOR_WHITE
64 #define BORDER_HL TRUE
66 #define BUTTON_ACTIVE_FG COLOR_WHITE
67 #define BUTTON_ACTIVE_BG COLOR_BLUE
68 #define BUTTON_ACTIVE_HL TRUE
70 #define BUTTON_INACTIVE_FG COLOR_BLACK
71 #define BUTTON_INACTIVE_BG COLOR_WHITE
72 #define BUTTON_INACTIVE_HL FALSE
74 #define BUTTON_KEY_ACTIVE_FG COLOR_WHITE
75 #define BUTTON_KEY_ACTIVE_BG COLOR_BLUE
76 #define BUTTON_KEY_ACTIVE_HL TRUE
78 #define BUTTON_KEY_INACTIVE_FG COLOR_RED
79 #define BUTTON_KEY_INACTIVE_BG COLOR_WHITE
80 #define BUTTON_KEY_INACTIVE_HL FALSE
82 #define BUTTON_LABEL_ACTIVE_FG COLOR_YELLOW
83 #define BUTTON_LABEL_ACTIVE_BG COLOR_BLUE
84 #define BUTTON_LABEL_ACTIVE_HL TRUE
86 #define BUTTON_LABEL_INACTIVE_FG COLOR_BLACK
87 #define BUTTON_LABEL_INACTIVE_BG COLOR_WHITE
88 #define BUTTON_LABEL_INACTIVE_HL TRUE
90 #define INPUTBOX_FG COLOR_BLACK
91 #define INPUTBOX_BG COLOR_WHITE
92 #define INPUTBOX_HL FALSE
94 #define INPUTBOX_BORDER_FG COLOR_BLACK
95 #define INPUTBOX_BORDER_BG COLOR_WHITE
96 #define INPUTBOX_BORDER_HL FALSE
98 #define SEARCHBOX_FG COLOR_BLACK
99 #define SEARCHBOX_BG COLOR_WHITE
100 #define SEARCHBOX_HL FALSE
102 #define SEARCHBOX_TITLE_FG COLOR_YELLOW
103 #define SEARCHBOX_TITLE_BG COLOR_WHITE
104 #define SEARCHBOX_TITLE_HL TRUE
106 #define SEARCHBOX_BORDER_FG COLOR_WHITE
107 #define SEARCHBOX_BORDER_BG COLOR_WHITE
108 #define SEARCHBOX_BORDER_HL TRUE
110 #define POSITION_INDICATOR_FG COLOR_YELLOW
111 #define POSITION_INDICATOR_BG COLOR_WHITE
112 #define POSITION_INDICATOR_HL TRUE
114 #define MENUBOX_FG COLOR_BLACK
115 #define MENUBOX_BG COLOR_WHITE
116 #define MENUBOX_HL FALSE
118 #define MENUBOX_BORDER_FG COLOR_WHITE
119 #define MENUBOX_BORDER_BG COLOR_WHITE
120 #define MENUBOX_BORDER_HL TRUE
122 #define ITEM_FG COLOR_BLACK
123 #define ITEM_BG COLOR_WHITE
124 #define ITEM_HL FALSE
126 #define ITEM_SELECTED_FG COLOR_WHITE
127 #define ITEM_SELECTED_BG COLOR_BLUE
128 #define ITEM_SELECTED_HL TRUE
130 #define TAG_FG COLOR_YELLOW
131 #define TAG_BG COLOR_WHITE
132 #define TAG_HL TRUE
134 #define TAG_SELECTED_FG COLOR_YELLOW
135 #define TAG_SELECTED_BG COLOR_BLUE
136 #define TAG_SELECTED_HL TRUE
138 #define TAG_KEY_FG COLOR_YELLOW
139 #define TAG_KEY_BG COLOR_WHITE
140 #define TAG_KEY_HL TRUE
142 #define TAG_KEY_SELECTED_FG COLOR_YELLOW
143 #define TAG_KEY_SELECTED_BG COLOR_BLUE
144 #define TAG_KEY_SELECTED_HL TRUE
146 #define CHECK_FG COLOR_BLACK
147 #define CHECK_BG COLOR_WHITE
148 #define CHECK_HL FALSE
150 #define CHECK_SELECTED_FG COLOR_WHITE
151 #define CHECK_SELECTED_BG COLOR_BLUE
152 #define CHECK_SELECTED_HL TRUE
154 #define UARROW_FG COLOR_GREEN
155 #define UARROW_BG COLOR_WHITE
156 #define UARROW_HL TRUE
158 #define DARROW_FG COLOR_GREEN
159 #define DARROW_BG COLOR_WHITE
160 #define DARROW_HL TRUE
162 /* End of default color definitions */
164 #define C_ATTR(x,y) ((x ? A_BOLD : 0) | COLOR_PAIR((y)))
165 #define COLOR_NAME_LEN 10
166 #define COLOR_COUNT 8
169 * Global variables
172 typedef struct {
173 char name[COLOR_NAME_LEN];
174 int value;
175 } color_names_st;
177 extern color_names_st color_names[];
178 extern int color_table[][3];