1 /* 2 * Copyright 2001-2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm <bpmagic@columbus.rr.com> 7 */ 8 #ifndef COLORWHICH_ITEM_H 9 #define COLORWHICH_ITEM_H 10 11 #include <InterfaceDefs.h> 12 #include <ListItem.h> 13 14 #define B_INACTIVE_WINDOW_TAB_TEXT_COLOR 'iwtt' 15 #define B_WINDOW_TAB_TEXT_COLOR 'wttx' 16 #define B_INACTIVE_WINDOW_TAB_COLOR 'iwtb' 17 18 //#ifdef BUILD_UNDER_R5 19 #define B_MENU_SELECTED_BACKGROUND_COLOR B_MENU_SELECTION_BACKGROUND_COLOR 20 #define B_PANEL_TEXT_COLOR 'ptxt' 21 #define B_DOCUMENT_BACKGROUND_COLOR 'dbgc' 22 #define B_DOCUMENT_TEXT_COLOR 'dtxc' 23 #define B_CONTROL_BACKGROUND_COLOR 'cbgc' 24 #define B_CONTROL_TEXT_COLOR 'ctxc' 25 #define B_CONTROL_BORDER_COLOR 'cboc' 26 #define B_CONTROL_HIGHLIGHT_COLOR 'chic' 27 #define B_NAVIGATION_BASE_COLOR 'navb' 28 #define B_NAVIGATION_PULSE_COLOR 'navp' 29 #define B_SHINE_COLOR 'shin' 30 #define B_SHADOW_COLOR 'shad' 31 #define B_MENU_SELECTED_BORDER_COLOR 'msbo' 32 #define B_TOOLTIP_BACKGROUND_COLOR 'ttbg' 33 #define B_TOOLTIP_TEXT_COLOR 'tttx' 34 #define B_SUCCESS_COLOR 'sucs' 35 #define B_FAILURE_COLOR 'fail' 36 //#endif 37 38 class ColorWhichItem : public BStringItem 39 { 40 public: 41 ColorWhichItem(color_which which); 42 ~ColorWhichItem(void); 43 void SetAttribute(color_which which); 44 color_which GetAttribute(void); 45 private: 46 color_which attribute; 47 }; 48 49 #endif 50