From 9490414f961b885295eaa9037cf8db1fb8d8bc8c Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Wed, 2 May 2012 19:09:39 +0430 Subject: [PATCH] config.h: bring up the more important macros --- config.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config.h b/config.h index 3b226fc..e9142c4 100644 --- a/config.h +++ b/config.h @@ -4,6 +4,9 @@ #define MAIL "mailx" #define EDITOR "vi" +/* fbval_t should match framebuffer depth */ +typedef unsigned int fbval_t; + /* fontsets; tinyfont files for regular, italic, and bold fonts */ #define F0 {"/path/to/font.tf", NULL, NULL} #define F1 {} @@ -14,6 +17,12 @@ #define FGCOLOR 0 #define BGCOLOR 7 +/* where to write the screen shot */ +#define SCRSHOT "/tmp/scr" + +/* optimized version of fb_val() */ +#define FB_VAL(r, g, b) fb_val((r), (g), (b)) + /* black */ #define COLOR0 0x000000 #define COLOR8 0x407080 @@ -38,12 +47,3 @@ /* white */ #define COLOR7 0xf0f0f0 #define COLOR15 0xdedede - -/* where to write the screen shot */ -#define SCRSHOT "/tmp/scr" - -/* framebuffer depth */ -typedef unsigned int fbval_t; - -/* optimized version of fb_val() */ -#define FB_VAL(r, g, b) fb_val((r), (g), (b)) -- 2.11.4.GIT