diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 7ea443f30e..fb9da5bd5d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -87,11 +87,11 @@ static const struct plugin_api rockbox_api = { | |||
87 | plugin_test, | 87 | plugin_test, |
88 | 88 | ||
89 | /* lcd */ | 89 | /* lcd */ |
90 | lcd_set_contrast, | ||
90 | lcd_clear_display, | 91 | lcd_clear_display, |
91 | lcd_puts, | 92 | lcd_puts, |
92 | lcd_puts_scroll, | 93 | lcd_puts_scroll, |
93 | lcd_stop_scroll, | 94 | lcd_stop_scroll, |
94 | lcd_set_contrast, | ||
95 | #ifdef HAVE_LCD_CHARCELLS | 95 | #ifdef HAVE_LCD_CHARCELLS |
96 | lcd_define_pattern, | 96 | lcd_define_pattern, |
97 | lcd_get_locked_pattern, | 97 | lcd_get_locked_pattern, |
@@ -101,30 +101,28 @@ static const struct plugin_api rockbox_api = { | |||
101 | lcd_remove_cursor, | 101 | lcd_remove_cursor, |
102 | PREFIX(lcd_icon), | 102 | PREFIX(lcd_icon), |
103 | #else | 103 | #else |
104 | #ifndef SIMULATOR | ||
105 | lcd_roll, | ||
106 | #endif | ||
107 | lcd_set_drawmode, | ||
108 | lcd_get_drawmode, | ||
109 | lcd_setfont, | ||
110 | lcd_getstringsize, | ||
111 | lcd_drawpixel, | ||
112 | lcd_drawline, | ||
113 | lcd_drawrect, | ||
114 | lcd_fillrect, | ||
115 | lcd_bitmap, | ||
104 | lcd_putsxy, | 116 | lcd_putsxy, |
105 | lcd_puts_style, | 117 | lcd_puts_style, |
106 | lcd_puts_scroll_style, | 118 | lcd_puts_scroll_style, |
107 | lcd_bitmap, | 119 | &lcd_framebuffer[0][0], |
108 | lcd_drawline, | 120 | lcd_blit, |
109 | lcd_clearline, | ||
110 | lcd_drawpixel, | ||
111 | lcd_clearpixel, | ||
112 | lcd_setfont, | ||
113 | font_get, | ||
114 | lcd_clearrect, | ||
115 | lcd_fillrect, | ||
116 | lcd_drawrect, | ||
117 | lcd_invertrect, | ||
118 | lcd_getstringsize, | ||
119 | lcd_update, | 121 | lcd_update, |
120 | lcd_update_rect, | 122 | lcd_update_rect, |
121 | scrollbar, | 123 | scrollbar, |
122 | checkbox, | 124 | checkbox, |
123 | &lcd_framebuffer[0][0], | 125 | font_get, |
124 | lcd_blit, | ||
125 | #ifndef SIMULATOR | ||
126 | lcd_roll, | ||
127 | #endif | ||
128 | #endif | 126 | #endif |
129 | backlight_on, | 127 | backlight_on, |
130 | backlight_off, | 128 | backlight_off, |
@@ -395,6 +393,9 @@ int plugin_load(const char* plugin, void* parameter) | |||
395 | /* explicitly casting the pointer here to avoid touching every plugin. */ | 393 | /* explicitly casting the pointer here to avoid touching every plugin. */ |
396 | 394 | ||
397 | button_clear_queue(); | 395 | button_clear_queue(); |
396 | #ifdef HAVE_LCD_BITMAP | ||
397 | lcd_set_drawmode(DRMODE_SOLID); | ||
398 | #endif | ||
398 | 399 | ||
399 | plugin_loaded = false; | 400 | plugin_loaded = false; |
400 | 401 | ||