diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-01-29 20:49:43 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-01-29 20:49:43 +0000 |
commit | 36c71a60ca82f9777fbdd239f63f62ccf68cf3f5 (patch) | |
tree | 06518f1485a9899da1015445623256721435323e /tools/checkwps/checkwps.h | |
parent | d4b99fdfe06bf5f30f4c3a68f08aedaaa6f432f9 (diff) | |
download | rockbox-36c71a60ca82f9777fbdd239f63f62ccf68cf3f5.tar.gz 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.h | 8 |
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 @@ | |||
23 | #define _CHECKWPS_H_ | 23 | #define _CHECKWPS_H_ |
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <stdbool.h> | ||
26 | #include <fcntl.h> | 27 | #include <fcntl.h> |
27 | 28 | ||
28 | /* subset of global_settings needed to build checkwps. */ | 29 | /* subset of global_settings needed to build checkwps. */ |
29 | struct user_settings { | 30 | struct user_settings { |
30 | bool statusbar; | 31 | bool statusbar; |
31 | #ifdef HAVE_LCD_COLOR | ||
32 | int bg_color; /* background color native format */ | 32 | int bg_color; /* background color native format */ |
33 | int fg_color; /* foreground color native format */ | 33 | int fg_color; /* foreground color native format */ |
34 | #endif | ||
35 | }; | 34 | }; |
36 | 35 | ||
37 | extern struct user_settings global_settings; | 36 | extern struct user_settings global_settings; |
38 | 37 | ||
38 | #define FONT_SYSFIXED 0 | ||
39 | #define FONT_UI 1 | ||
40 | #define SYSFONT_HEIGHT 8 | ||
39 | 41 | ||
40 | 42 | #define MIN(x,y) ((x) > (y) ? (y) : (x)) | |
41 | 43 | ||
42 | #endif | 44 | #endif |