1 /* 2 * Copyright 2010, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _COLORS_H 6 #define _COLORS_H 7 8 #include <InterfaceDefs.h> 9 10 struct color_schema { 11 const char* name; 12 rgb_color text_fore_color; 13 rgb_color text_back_color; 14 rgb_color cursor_fore_color; 15 rgb_color cursor_back_color; 16 rgb_color select_fore_color; 17 rgb_color select_back_color; 18 bool operator==(const color_schema& color); 19 }; 20 21 22 extern color_schema gCustomSchema; 23 extern const color_schema* gPredefinedSchemas[]; 24 25 26 #endif // _COLORS_H 27