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/mosaique.c | |
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/mosaique.c')
-rw-r--r-- | apps/plugins/mosaique.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/plugins/mosaique.c b/apps/plugins/mosaique.c index 28ea9efd93..caf5346dc5 100644 --- a/apps/plugins/mosaique.c +++ b/apps/plugins/mosaique.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include "lib/pluginlib_actions.h" | 23 | #include "lib/pluginlib_actions.h" |
24 | 24 | ||
25 | 25 | ||
26 | #ifdef HAVE_LCD_BITMAP | ||
27 | #define GFX_X (LCD_WIDTH/2-1) | 26 | #define GFX_X (LCD_WIDTH/2-1) |
28 | #define GFX_Y (LCD_HEIGHT/2-1) | 27 | #define GFX_Y (LCD_HEIGHT/2-1) |
29 | #if LCD_WIDTH != LCD_HEIGHT | 28 | #if LCD_WIDTH != LCD_HEIGHT |
@@ -33,12 +32,6 @@ | |||
33 | #define GFX_WIDTH GFX_X | 32 | #define GFX_WIDTH GFX_X |
34 | #define GFX_HEIGHT (4*GFX_Y/5) | 33 | #define GFX_HEIGHT (4*GFX_Y/5) |
35 | #endif | 34 | #endif |
36 | #else | ||
37 | #define GFX_X 9 | ||
38 | #define GFX_Y 6 | ||
39 | #define GFX_WIDTH 9 | ||
40 | #define GFX_HEIGHT 6 | ||
41 | #endif | ||
42 | 35 | ||
43 | /* this set the context to use with PLA */ | 36 | /* this set the context to use with PLA */ |
44 | static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; | 37 | static const struct button_mapping *plugin_contexts[] = { pla_main_ctx }; |