summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-01-29 20:49:43 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-01-29 20:49:43 +0000
commit36c71a60ca82f9777fbdd239f63f62ccf68cf3f5 (patch)
tree06518f1485a9899da1015445623256721435323e /tools/checkwps/checkwps.h
parentd4b99fdfe06bf5f30f4c3a68f08aedaaa6f432f9 (diff)
downloadrockbox-36c71a60ca82f9777fbdd239f63f62ccf68cf3f5.tar.gz
rockbox-36c71a60ca82f9777fbdd239f63f62ccf68cf3f5.tar.bz2
rockbox-36c71a60ca82f9777fbdd239f63f62ccf68cf3f5.zip
Get checkwps working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19880 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/checkwps.h')
-rw-r--r--tools/checkwps/checkwps.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/checkwps/checkwps.h b/tools/checkwps/checkwps.h
index fa3b425500..2ba8f5f59e 100644
--- a/tools/checkwps/checkwps.h
+++ b/tools/checkwps/checkwps.h
@@ -23,20 +23,22 @@
#define _CHECKWPS_H_
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <fcntl.h>
/* subset of global_settings needed to build checkwps. */
struct user_settings {
bool statusbar;
-#ifdef HAVE_LCD_COLOR
int bg_color; /* background color native format */
int fg_color; /* foreground color native format */
-#endif
};
extern struct user_settings global_settings;
+#define FONT_SYSFIXED 0
+#define FONT_UI 1
+#define SYSFONT_HEIGHT 8
-
+#define MIN(x,y) ((x) > (y) ? (y) : (x))
#endif