From d2305e4b136b3bdfccf7de897a9f14583a1ca35a Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sat, 14 Jun 2008 10:55:13 +0100 Subject: reusing config.h's color values, note we have to use const char *, instead of const char [] here, because the pointer might change --- config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 43d3a53..5af4304 100644 --- a/config.h +++ b/config.h @@ -1,14 +1,14 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" -#define NORMBGCOLOR "#cccccc" -#define NORMFGCOLOR "#000000" -#define SELBGCOLOR "#0066ff" -#define SELFGCOLOR "#ffffff" +static const char *font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"; +static const char *normbgcolor = "#cccccc"; +static const char *normfgcolor = "#000000"; +static const char *selbgcolor = "#0066ff"; +static const char *selfgcolor = "#ffffff"; -static uint spaceitem = 30; /* px between menu items */ +static uint spaceitem = 30; /* px between menu items */ #ifdef XINERAMA -static uint xidx = 0; /* Xinerama screen index to use */ +static uint xidx = 0; /* Xinerama screen index to use */ #endif -- cgit v1.2.3-54-g00ecf