summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/searchengine.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /apps/plugins/searchengine/searchengine.h
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-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/searchengine.h')
-rw-r--r--apps/plugins/searchengine/searchengine.h8
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
27extern int w, h, y; 27extern 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); \
34rb->lcd_update() 33rb->lcd_update()
35#else
36#define PUTS(str) do { \
37 rb->lcd_puts(0, y, str); \
38 y = (y + 1) % 2; \
39} while (0); \
40rb->lcd_update()
41#endif
42 34
43void *my_malloc(size_t size); 35void *my_malloc(size_t size);
44void setmallocpos(void *pointer); 36void setmallocpos(void *pointer);