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/shortcuts | |
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/shortcuts')
-rw-r--r-- | apps/plugins/shortcuts/shortcuts_view.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/shortcuts/shortcuts_view.c b/apps/plugins/shortcuts/shortcuts_view.c index c9a4655341..cfc9d8d746 100644 --- a/apps/plugins/shortcuts/shortcuts_view.c +++ b/apps/plugins/shortcuts/shortcuts_view.c | |||
@@ -223,20 +223,16 @@ enum plugin_status plugin_start(const void* void_parameter) | |||
223 | return PLUGIN_OK; | 223 | return PLUGIN_OK; |
224 | } | 224 | } |
225 | 225 | ||
226 | #ifdef HAVE_LCD_BITMAP | ||
227 | FOR_NB_SCREENS(i) | 226 | FOR_NB_SCREENS(i) |
228 | rb->viewportmanager_theme_enable(i, true, NULL); | 227 | rb->viewportmanager_theme_enable(i, true, NULL); |
229 | #endif | ||
230 | 228 | ||
231 | do { | 229 | do { |
232 | /* Display a menu to choose between the entries */ | 230 | /* Display a menu to choose between the entries */ |
233 | leave_loop = list_sc(); | 231 | leave_loop = list_sc(); |
234 | } while (!leave_loop); | 232 | } while (!leave_loop); |
235 | 233 | ||
236 | #ifdef HAVE_LCD_BITMAP | ||
237 | FOR_NB_SCREENS(i) | 234 | FOR_NB_SCREENS(i) |
238 | rb->viewportmanager_theme_undo(i, false); | 235 | rb->viewportmanager_theme_undo(i, false); |
239 | #endif | ||
240 | 236 | ||
241 | return usb_connected ? PLUGIN_USB_CONNECTED : PLUGIN_OK; | 237 | return usb_connected ? PLUGIN_USB_CONNECTED : PLUGIN_OK; |
242 | } | 238 | } |