summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-29 01:39:50 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-29 01:39:50 +0000
commit576908d36a58d51ee880791418a32cef25b49aba (patch)
treeda2e34886085ca15de28d1b7226064be2906232b /apps/plugin.c
parent7e11acbce9b9a63c28ded055d02301175391e027 (diff)
downloadrockbox-576908d36a58d51ee880791418a32cef25b49aba.zip
rockbox-576908d36a58d51ee880791418a32cef25b49aba.tar.gz
rockbox-576908d36a58d51ee880791418a32cef25b49aba.tar.bz2
rockbox-576908d36a58d51ee880791418a32cef25b49aba.tar.xz
Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 2a8d2c0..bd8ea2f 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -133,32 +133,33 @@ static const struct plugin_api rockbox_api = {
splash,
#ifdef HAVE_REMOTE_LCD
/* remote lcd */
+ lcd_remote_set_contrast,
lcd_remote_clear_display,
lcd_remote_puts,
lcd_remote_puts_scroll,
lcd_remote_stop_scroll,
- lcd_remote_set_contrast,
+ lcd_remote_roll,
+ lcd_remote_set_drawmode,
+ lcd_remote_get_drawmode,
+ lcd_remote_setfont,
+ lcd_remote_getstringsize,
+ lcd_remote_drawpixel,
+ lcd_remote_drawline,
+ lcd_remote_hline,
+ lcd_remote_vline,
+ lcd_remote_drawrect,
+ lcd_remote_fillrect,
+ lcd_remote_bitmap_part,
+ lcd_remote_bitmap,
lcd_remote_putsxy,
lcd_remote_puts_style,
lcd_remote_puts_scroll_style,
- lcd_remote_bitmap,
- lcd_remote_drawline,
- lcd_remote_clearline,
- lcd_remote_drawpixel,
- lcd_remote_clearpixel,
- lcd_remote_setfont,
- font_get,
- lcd_remote_clearrect,
- lcd_remote_fillrect,
- lcd_remote_drawrect,
- lcd_remote_invertrect,
- lcd_remote_getstringsize,
+ &lcd_remote_framebuffer[0][0],
lcd_remote_update,
lcd_remote_update_rect,
lcd_remote_backlight_on,
lcd_remote_backlight_off,
- &lcd_remote_framebuffer[0][0],
#endif
/* button */
button_get,