summaryrefslogtreecommitdiff
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r--tools/checkwps/checkwps.c8
1 files changed, 1 insertions, 7 deletions
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
213void screen_clear_area(struct screen * display, int xstart, int ystart, 210void 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
223bool radio_hardware_present(void) 219bool 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
230static int loaded_fonts = 0; 225static int loaded_fonts = 0;
231static struct font _font; 226static struct font _font;
232int font_load(const char *path) 227int 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
239void font_unload(int font_id) 234void 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)