forked from len0rd/rockbox
Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16776 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68a21689ae
commit
c84e345e6e
3 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,6 @@ static const struct plugin_api rockbox_api = {
|
||||||
/* lcd */
|
/* lcd */
|
||||||
lcd_set_contrast,
|
lcd_set_contrast,
|
||||||
lcd_update,
|
lcd_update,
|
||||||
lcd_update_rect,
|
|
||||||
lcd_clear_display,
|
lcd_clear_display,
|
||||||
lcd_setmargins,
|
lcd_setmargins,
|
||||||
lcd_getstringsize,
|
lcd_getstringsize,
|
||||||
|
|
@ -93,6 +92,7 @@ static const struct plugin_api rockbox_api = {
|
||||||
lcd_double_height,
|
lcd_double_height,
|
||||||
#else
|
#else
|
||||||
&lcd_framebuffer[0][0],
|
&lcd_framebuffer[0][0],
|
||||||
|
lcd_update_rect,
|
||||||
lcd_set_drawmode,
|
lcd_set_drawmode,
|
||||||
lcd_get_drawmode,
|
lcd_get_drawmode,
|
||||||
lcd_setfont,
|
lcd_setfont,
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,6 @@ struct plugin_api {
|
||||||
/* lcd */
|
/* lcd */
|
||||||
void (*lcd_set_contrast)(int x);
|
void (*lcd_set_contrast)(int x);
|
||||||
void (*lcd_update)(void);
|
void (*lcd_update)(void);
|
||||||
void (*lcd_update_rect)(int x, int y, int width, int height);
|
|
||||||
void (*lcd_clear_display)(void);
|
void (*lcd_clear_display)(void);
|
||||||
void (*lcd_setmargins)(int x, int y);
|
void (*lcd_setmargins)(int x, int y);
|
||||||
int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h);
|
int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h);
|
||||||
|
|
@ -163,6 +162,7 @@ struct plugin_api {
|
||||||
void (*lcd_double_height)(bool on);
|
void (*lcd_double_height)(bool on);
|
||||||
#else /* HAVE_LCD_BITMAP */
|
#else /* HAVE_LCD_BITMAP */
|
||||||
fb_data* lcd_framebuffer;
|
fb_data* lcd_framebuffer;
|
||||||
|
void (*lcd_update_rect)(int x, int y, int width, int height);
|
||||||
void (*lcd_set_drawmode)(int mode);
|
void (*lcd_set_drawmode)(int mode);
|
||||||
int (*lcd_get_drawmode)(void);
|
int (*lcd_get_drawmode)(void);
|
||||||
void (*lcd_setfont)(int font);
|
void (*lcd_setfont)(int font);
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height,
|
void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height,
|
||||||
int stride)
|
int stride)
|
||||||
{
|
{
|
||||||
(void)p_data;
|
(void)data;
|
||||||
(void)x;
|
(void)x;
|
||||||
(void)y;
|
(void)y;
|
||||||
(void)width;
|
(void)width;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue