xref: /haiku/src/apps/terminal/Colors.h (revision 776c58b2b56d8bcf33638a2ecb6c697f95a1cbf3)
1 /*
2  * Copyright 2010-2012, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _COLORS_H
6 #define _COLORS_H
7 
8 
9 #include <InterfaceDefs.h>
10 
11 
12 struct color_scheme {
13 	const char* name;
14 	rgb_color text_fore_color;
15 	rgb_color text_back_color;
16 	rgb_color cursor_fore_color;
17 	rgb_color cursor_back_color;
18 	rgb_color select_fore_color;
19 	rgb_color select_back_color;
20 	bool operator==(const color_scheme& color);
21 };
22 
23 extern color_scheme gCustomColorScheme;
24 extern const color_scheme* gPredefinedColorSchemes[];
25 
26 
27 #endif // _COLORS_H
28