diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-06-24 22:33:21 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-06-24 22:33:21 +0000 |
| commit | 04daef17a1d180c68888c29d11a1b9087e9ace32 (patch) | |
| tree | f2d794c196981fc605880e3bbb4447edbaba5f50 /apps/plugin.c | |
| parent | 0e935bdf01aff1e3bc66221c9a0fcc80f935c3d6 (diff) | |
| download | rockbox-04daef17a1d180c68888c29d11a1b9087e9ace32.zip rockbox-04daef17a1d180c68888c29d11a1b9087e9ace32.tar.gz rockbox-04daef17a1d180c68888c29d11a1b9087e9ace32.tar.bz2 rockbox-04daef17a1d180c68888c29d11a1b9087e9ace32.tar.xz | |
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
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 7ea443f..fb9da5b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -87,11 +87,11 @@ static const struct plugin_api rockbox_api = { plugin_test, /* lcd */ + lcd_set_contrast, lcd_clear_display, lcd_puts, lcd_puts_scroll, lcd_stop_scroll, - lcd_set_contrast, #ifdef HAVE_LCD_CHARCELLS lcd_define_pattern, lcd_get_locked_pattern, @@ -101,30 +101,28 @@ static const struct plugin_api rockbox_api = { lcd_remove_cursor, PREFIX(lcd_icon), #else +#ifndef SIMULATOR + lcd_roll, +#endif + lcd_set_drawmode, + lcd_get_drawmode, + lcd_setfont, + lcd_getstringsize, + lcd_drawpixel, + lcd_drawline, + lcd_drawrect, + lcd_fillrect, + lcd_bitmap, lcd_putsxy, lcd_puts_style, lcd_puts_scroll_style, - lcd_bitmap, - lcd_drawline, - lcd_clearline, - lcd_drawpixel, - lcd_clearpixel, - lcd_setfont, - font_get, - lcd_clearrect, - lcd_fillrect, - lcd_drawrect, - lcd_invertrect, - lcd_getstringsize, + &lcd_framebuffer[0][0], + lcd_blit, lcd_update, lcd_update_rect, scrollbar, checkbox, - &lcd_framebuffer[0][0], - lcd_blit, -#ifndef SIMULATOR - lcd_roll, -#endif + font_get, #endif backlight_on, backlight_off, @@ -395,6 +393,9 @@ int plugin_load(const char* plugin, void* parameter) /* explicitly casting the pointer here to avoid touching every plugin. */ button_clear_queue(); +#ifdef HAVE_LCD_BITMAP + lcd_set_drawmode(DRMODE_SOLID); +#endif plugin_loaded = false; |