diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 10:31:31 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 658026e6267277b27d297c481728f74d160a8481 (patch) | |
tree | 915a9d2bb48469bdd5b9127dc19a61f230721a6c /apps/plugins/searchengine | |
parent | 8cb555460ff79e636a7907fb2589e16db98c8600 (diff) | |
download | rockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz rockbox-658026e6267277b27d297c481728f74d160a8481.zip |
[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
Diffstat (limited to 'apps/plugins/searchengine')
-rw-r--r-- | apps/plugins/searchengine/searchengine.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/searchengine/searchengine.h b/apps/plugins/searchengine/searchengine.h index 090adb7051..00bedd816b 100644 --- a/apps/plugins/searchengine/searchengine.h +++ b/apps/plugins/searchengine/searchengine.h | |||
@@ -25,20 +25,12 @@ | |||
25 | #include <autoconf.h> | 25 | #include <autoconf.h> |
26 | 26 | ||
27 | extern int w, h, y; | 27 | extern int w, h, y; |
28 | #ifdef HAVE_LCD_BITMAP | ||
29 | #define PUTS(str) do { \ | 28 | #define PUTS(str) do { \ |
30 | rb->lcd_putsxy(1, y, str); \ | 29 | rb->lcd_putsxy(1, y, str); \ |
31 | rb->lcd_getstringsize(str, &w, &h); \ | 30 | rb->lcd_getstringsize(str, &w, &h); \ |
32 | y += h + 1; \ | 31 | y += h + 1; \ |
33 | } while (0); \ | 32 | } while (0); \ |
34 | rb->lcd_update() | 33 | rb->lcd_update() |
35 | #else | ||
36 | #define PUTS(str) do { \ | ||
37 | rb->lcd_puts(0, y, str); \ | ||
38 | y = (y + 1) % 2; \ | ||
39 | } while (0); \ | ||
40 | rb->lcd_update() | ||
41 | #endif | ||
42 | 34 | ||
43 | void *my_malloc(size_t size); | 35 | void *my_malloc(size_t size); |
44 | void setmallocpos(void *pointer); | 36 | void setmallocpos(void *pointer); |