lcd-common: Remove unused function lcd_puts_style().
Change-Id: Id2c64c116f79b8e61a7af49b9072b3e884ffb455
This commit is contained in:
parent
8f64625888
commit
1e324aac36
6 changed files with 2 additions and 24 deletions
|
@ -200,7 +200,6 @@ static const struct plugin_api rockbox_api = {
|
|||
lcd_blit_pal256,
|
||||
lcd_pal256_update_pal,
|
||||
#endif
|
||||
lcd_puts_style,
|
||||
lcd_puts_scroll_style,
|
||||
#ifdef HAVE_LCD_INVERT
|
||||
lcd_set_invert_display,
|
||||
|
@ -260,7 +259,6 @@ static const struct plugin_api rockbox_api = {
|
|||
lcd_remote_mono_bitmap_part,
|
||||
lcd_remote_mono_bitmap,
|
||||
lcd_remote_putsxy,
|
||||
lcd_remote_puts_style,
|
||||
lcd_remote_puts_scroll_style,
|
||||
&lcd_remote_static_framebuffer[0][0],
|
||||
lcd_remote_update,
|
||||
|
|
|
@ -269,7 +269,6 @@ struct plugin_api {
|
|||
int width, int height);
|
||||
void (*lcd_pal256_update_pal)(fb_data *palette);
|
||||
#endif
|
||||
void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style);
|
||||
void (*lcd_puts_scroll_style)(int x, int y, const unsigned char* string,
|
||||
int style);
|
||||
#ifdef HAVE_LCD_INVERT
|
||||
|
@ -347,7 +346,6 @@ struct plugin_api {
|
|||
void (*lcd_remote_mono_bitmap)(const unsigned char *src, int x, int y,
|
||||
int width, int height);
|
||||
void (*lcd_remote_putsxy)(int x, int y, const unsigned char *string);
|
||||
void (*lcd_remote_puts_style)(int x, int y, const unsigned char *str, int style);
|
||||
void (*lcd_remote_puts_scroll_style)(int x, int y, const unsigned char* string,
|
||||
int style);
|
||||
fb_remote_data* lcd_remote_framebuffer;
|
||||
|
|
|
@ -1103,23 +1103,13 @@ void lcd_puts_scroll(int x, int y, const unsigned char* string)
|
|||
\description Puts scrolling string on the LCD at row =x= and column =y=. The scrolling style is STYLE_DEFAULT.
|
||||
|
||||
void lcd_puts_scroll_style(int x, int y, const unsigned char* string, int style)
|
||||
\group lcd
|
||||
\conditions !defined(HAVE_LCD_CHARCELLS)
|
||||
\param x
|
||||
\param y
|
||||
\param string
|
||||
\param style
|
||||
\description Same as lcd_puts_style, but with scrolling is enabled
|
||||
\see lcd_puts_style
|
||||
|
||||
void lcd_puts_style(int x, int y, const unsigned char *str, int style)
|
||||
\group lcd
|
||||
\conditions !defined(HAVE_LCD_CHARCELLS)
|
||||
\param x Row X
|
||||
\param y Column Y
|
||||
\param str
|
||||
\param string
|
||||
\param style can be STYLE_DEFAULT for black text display or STYLE_INVERT for white text display
|
||||
\description Put a string at row =x= and column =y=
|
||||
\description Put a string at row =x= and column =y=, the text scrolls if necessary
|
||||
|
||||
void lcd_put_cursor(int x, int y, unsigned long ucs)
|
||||
\group lcd
|
||||
|
|
|
@ -489,11 +489,6 @@ void LCDFN(putsf)(int x, int y, const unsigned char *fmt, ...)
|
|||
LCDFN(puts)(x, y, buf);
|
||||
}
|
||||
|
||||
void LCDFN(puts_style)(int x, int y, const unsigned char *str, int style)
|
||||
{
|
||||
LCDFN(puts_style_offset)(x, y, str, style, 0);
|
||||
}
|
||||
|
||||
/*** scrolling ***/
|
||||
|
||||
static struct scrollinfo* find_scrolling_line(int x, int y)
|
||||
|
|
|
@ -175,8 +175,6 @@ extern void lcd_remote_clear_display(void);
|
|||
extern void lcd_remote_clear_viewport(void);
|
||||
extern void lcd_remote_puts(int x, int y, const unsigned char *str);
|
||||
extern void lcd_remote_putsf(int x, int y, const unsigned char *fmt, ...);
|
||||
extern void lcd_remote_puts_style(int x, int y, const unsigned char *str,
|
||||
int style);
|
||||
extern void lcd_remote_puts_style_offset(int x, int y, const unsigned char *str,
|
||||
int style, int offset);
|
||||
extern void lcd_remote_puts_style_xyoffset(int x, int y, const unsigned char *str,
|
||||
|
|
|
@ -206,7 +206,6 @@ extern void lcd_putsxy_style_offset(int x, int y, const unsigned char *str,
|
|||
int style, int offset);
|
||||
extern void lcd_puts(int x, int y, const unsigned char *string);
|
||||
extern void lcd_putsf(int x, int y, const unsigned char *fmt, ...);
|
||||
extern void lcd_puts_style(int x, int y, const unsigned char *string, int style);
|
||||
extern void lcd_putc(int x, int y, unsigned long ucs);
|
||||
extern void lcd_puts_scroll(int x, int y, const unsigned char* string);
|
||||
extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string,
|
||||
|
|
Loading…
Reference in a new issue