X-Git-Url: http://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/dddba407f43a5b9ef23e8a0ed387742a740e08f5..fd530f3f68ba88ca2667eac25607708073c2e19e:/config.h diff --git a/config.h b/config.h index 2dffcc7..a3e4f95 100644 --- a/config.h +++ b/config.h @@ -1,11 +1,20 @@ -#define FONT "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*" -#define UNPRESSEDBG "#FFFFFF" -#define UNPRESSEDFG "#2E3436" -#define PRESSEDBG "#3584E4" -#define PRESSEDFG "#FFFFFF" -#define DECORATIONBG "#CDC7C2" -#define DECORATIONFG "#E6E6E6" -#define ITEMW 130 -#define ITEMB 4 -#define BORDER 1 -#define SEPARATOR 1 +/* font */ +static const char *font = "monospace:size=9"; /* for regular items */ + +/* colors */ +static const char *background_color = "#FFFFFF"; +static const char *foreground_color = "#2E3436"; +static const char *selbackground_color = "#3584E4"; +static const char *selforeground_color = "#FFFFFF"; +static const char *separator_color = "#CDC7C2"; +static const char *border_color = "#E6E6E6"; + +/* sizes in pixels */ +static int width_pixels = 130; /* minimum width of a menu */ +static int padding_pixels = 4; /* padding around label in a item */ +static int border_pixels = 1; /* menu border */ +static int separator_pixels = 3; /* space around separator */ + +/* geometry of the right-pointing isoceles triangle for submenus */ +static const int triangle_width = 3; +static const int triangle_height = 7;