aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2013-01-27 01:44:59 +0000
committercorvid <corvid@lavabit.com>2013-01-27 01:44:59 +0000
commitb81d6410ef72dee94915711bc5c777355a4dab20 (patch)
treef6e1f372bcd0ecf70cf19970ec27a351efe6dbb1 /src/prefs.h
parent0442b5f99a14f6a4eb14309b158a596f1fa433eb (diff)
simplify ui color handling by using fltk free color indices
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 2b0f15e4..c7a04a9a 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -23,6 +23,13 @@ extern "C" {
#define PREFS_GEOMETRY_DEFAULT_XPOS -9999
#define PREFS_GEOMETRY_DEFAULT_YPOS -9999
+/* FLTK has free color indices from 16 to 31 */
+#define PREFS_UI_BUTTON_HIGHLIGHT_COLOR 16
+#define PREFS_UI_TAB_ACTIVE_BG_COLOR 17
+#define PREFS_UI_TAB_ACTIVE_FG_COLOR 18
+#define PREFS_UI_TAB_BG_COLOR 19
+#define PREFS_UI_TAB_FG_COLOR 20
+
/* Panel sizes */
enum { P_tiny = 0, P_small, P_medium };