summaryrefslogtreecommitdiff
path: root/apps/onplay.c
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/onplay.c
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/onplay.c')
-rw-r--r--apps/onplay.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 9226f32f4c..fd956167d3 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -49,9 +49,7 @@
49#include "splash.h" 49#include "splash.h"
50#include "yesno.h" 50#include "yesno.h"
51#include "menus/exported_menus.h" 51#include "menus/exported_menus.h"
52#ifdef HAVE_LCD_BITMAP
53#include "icons.h" 52#include "icons.h"
54#endif
55#include "sound_menu.h" 53#include "sound_menu.h"
56#include "playlist_menu.h" 54#include "playlist_menu.h"
57#include "playlist_catalog.h" 55#include "playlist_catalog.h"
@@ -794,7 +792,6 @@ static int cat_playlist_callback(int action,
794 return action; 792 return action;
795} 793}
796 794
797#ifdef HAVE_LCD_BITMAP
798static void draw_slider(void) 795static void draw_slider(void)
799{ 796{
800 FOR_NB_SCREENS(i) 797 FOR_NB_SCREENS(i)
@@ -809,9 +806,6 @@ static void draw_slider(void)
809 screens[i].set_viewport(NULL); 806 screens[i].set_viewport(NULL);
810 } 807 }
811} 808}
812#else
813#define draw_slider()
814#endif
815 809
816static void clear_display(bool update) 810static void clear_display(bool update)
817{ 811{