diff options
Diffstat (limited to 'tools/checkwps')
-rw-r--r-- | tools/checkwps/SOURCES | 2 | ||||
-rw-r--r-- | tools/checkwps/checkwps.c | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/tools/checkwps/SOURCES b/tools/checkwps/SOURCES index 3a406d1b29..de3a74706a 100644 --- a/tools/checkwps/SOURCES +++ b/tools/checkwps/SOURCES | |||
@@ -17,6 +17,4 @@ | |||
17 | #endif | 17 | #endif |
18 | checkwps.c | 18 | checkwps.c |
19 | 19 | ||
20 | #ifdef HAVE_LCD_BITMAP | ||
21 | ../../apps/recorder/bmp.c | 20 | ../../apps/recorder/bmp.c |
22 | #endif | ||
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 1948c208fd..80b975e479 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c | |||
@@ -181,9 +181,7 @@ struct screen screens[NB_SCREENS] = | |||
181 | #endif | 181 | #endif |
182 | .getwidth = getwidth, | 182 | .getwidth = getwidth, |
183 | .getheight = getheight, | 183 | .getheight = getheight, |
184 | #ifdef HAVE_LCD_BITMAP | ||
185 | .getuifont = getuifont, | 184 | .getuifont = getuifont, |
186 | #endif | ||
187 | #if LCD_DEPTH > 1 | 185 | #if LCD_DEPTH > 1 |
188 | .get_foreground=dummy_func2, | 186 | .get_foreground=dummy_func2, |
189 | .get_background=dummy_func2, | 187 | .get_background=dummy_func2, |
@@ -209,7 +207,6 @@ struct screen screens[NB_SCREENS] = | |||
209 | #endif | 207 | #endif |
210 | }; | 208 | }; |
211 | 209 | ||
212 | #ifdef HAVE_LCD_BITMAP | ||
213 | void screen_clear_area(struct screen * display, int xstart, int ystart, | 210 | void screen_clear_area(struct screen * display, int xstart, int ystart, |
214 | int width, int height) | 211 | int width, int height) |
215 | { | 212 | { |
@@ -217,7 +214,6 @@ void screen_clear_area(struct screen * display, int xstart, int ystart, | |||
217 | display->fillrect(xstart, ystart, width, height); | 214 | display->fillrect(xstart, ystart, width, height); |
218 | display->set_drawmode(DRMODE_SOLID); | 215 | display->set_drawmode(DRMODE_SOLID); |
219 | } | 216 | } |
220 | #endif | ||
221 | 217 | ||
222 | #if CONFIG_TUNER | 218 | #if CONFIG_TUNER |
223 | bool radio_hardware_present(void) | 219 | bool radio_hardware_present(void) |
@@ -226,7 +222,6 @@ bool radio_hardware_present(void) | |||
226 | } | 222 | } |
227 | #endif | 223 | #endif |
228 | 224 | ||
229 | #ifdef HAVE_LCD_BITMAP | ||
230 | static int loaded_fonts = 0; | 225 | static int loaded_fonts = 0; |
231 | static struct font _font; | 226 | static struct font _font; |
232 | int font_load(const char *path) | 227 | int font_load(const char *path) |
@@ -235,7 +230,7 @@ int font_load(const char *path) | |||
235 | loaded_fonts++; | 230 | loaded_fonts++; |
236 | return id; | 231 | return id; |
237 | } | 232 | } |
238 | 233 | ||
239 | void font_unload(int font_id) | 234 | void font_unload(int font_id) |
240 | { | 235 | { |
241 | (void)font_id; | 236 | (void)font_id; |
@@ -245,7 +240,6 @@ struct font* font_get(int font) | |||
245 | { | 240 | { |
246 | return &_font; | 241 | return &_font; |
247 | } | 242 | } |
248 | #endif | ||
249 | 243 | ||
250 | /* This is no longer defined in ROCKBOX builds so just use a huge value */ | 244 | /* This is no longer defined in ROCKBOX builds so just use a huge value */ |
251 | #define SKIN_BUFFER_SIZE (200*1024) | 245 | #define SKIN_BUFFER_SIZE (200*1024) |