From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a --- tools/checkwps/SOURCES | 2 -- tools/checkwps/checkwps.c | 8 +------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'tools/checkwps') 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 @@ #endif checkwps.c -#ifdef HAVE_LCD_BITMAP ../../apps/recorder/bmp.c -#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] = #endif .getwidth = getwidth, .getheight = getheight, -#ifdef HAVE_LCD_BITMAP .getuifont = getuifont, -#endif #if LCD_DEPTH > 1 .get_foreground=dummy_func2, .get_background=dummy_func2, @@ -209,7 +207,6 @@ struct screen screens[NB_SCREENS] = #endif }; -#ifdef HAVE_LCD_BITMAP void screen_clear_area(struct screen * display, int xstart, int ystart, int width, int height) { @@ -217,7 +214,6 @@ void screen_clear_area(struct screen * display, int xstart, int ystart, display->fillrect(xstart, ystart, width, height); display->set_drawmode(DRMODE_SOLID); } -#endif #if CONFIG_TUNER bool radio_hardware_present(void) @@ -226,7 +222,6 @@ bool radio_hardware_present(void) } #endif -#ifdef HAVE_LCD_BITMAP static int loaded_fonts = 0; static struct font _font; int font_load(const char *path) @@ -235,7 +230,7 @@ int font_load(const char *path) loaded_fonts++; return id; } - + void font_unload(int font_id) { (void)font_id; @@ -245,7 +240,6 @@ struct font* font_get(int font) { return &_font; } -#endif /* This is no longer defined in ROCKBOX builds so just use a huge value */ #define SKIN_BUFFER_SIZE (200*1024) -- cgit