summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2001-02-19 20:41:12 +0000
committerrcyeske <rcyeske>2001-02-19 20:41:12 +0000
commit6097f8735db9aa44444597966e17ab784db38ee7 (patch)
tree011df42feea8dcfc70c753082284fd93b21aeb29 /src
parentfe1b95fa672387232732507a65565bac8c470c26 (diff)
downloadratpoison-6097f8735db9aa44444597966e17ab784db38ee7.zip
theme support file
Diffstat (limited to 'src')
-rw-r--r--src/themes.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/themes.h b/src/themes.h
new file mode 100644
index 0000000..7d283d2
--- /dev/null
+++ b/src/themes.h
@@ -0,0 +1,35 @@
+#ifndef THEME_H
+#define THEME_H
+
+#define T_CLASSIC 1
+#define T_CHOCOLATE_BAR 2
+#define T_MAPLE_LEAF 3
+#define T_CHRISTMAS 4
+
+#ifndef THEME
+# define FOREGROUND "black"
+# define BACKGROUND "white"
+# define FONT "9x15bold"
+#else
+# if THEME == T_RATPOISON_CLASSIC
+# define FOREGROUND "black"
+# define BACKGROUND "lightgreen"
+# define FONT "fixed"
+# elif THEME == T_CHOCOLATE_BAR
+# define FOREGROUND "chocolate4"
+# define BACKGROUND "chocolate1"
+# define FONT "8x13bold"
+# elif THEME == T_MAPLE_LEAF
+# define FOREGROUND "red"
+# define BACKGROUND "white"
+# define FONT "12x24"
+# elif THEME == T_CHRISTMAS
+# define FOREGROUND "red"
+# define BACKGROUND "green"
+# define FONT "12x24"
+# else
+# error unknown theme
+# endif
+#endif
+
+#endif