From 6097f8735db9aa44444597966e17ab784db38ee7 Mon Sep 17 00:00:00 2001 From: rcyeske Date: Mon, 19 Feb 2001 20:41:12 +0000 Subject: theme support file --- src/themes.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/themes.h (limited to 'src/themes.h') 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 -- cgit v1.2.3