mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
lcd-common/scroll_engine: Remove unused functions lcd_puts_scroll_style().
Change-Id: Ia4f943b3738ab6e66b0e3f1507c629b36d7eba94
This commit is contained in:
parent
7cd07290e6
commit
775ebe4ff6
8 changed files with 2 additions and 39 deletions
|
@ -200,7 +200,6 @@ static const struct plugin_api rockbox_api = {
|
||||||
lcd_blit_pal256,
|
lcd_blit_pal256,
|
||||||
lcd_pal256_update_pal,
|
lcd_pal256_update_pal,
|
||||||
#endif
|
#endif
|
||||||
lcd_puts_scroll_style,
|
|
||||||
#ifdef HAVE_LCD_INVERT
|
#ifdef HAVE_LCD_INVERT
|
||||||
lcd_set_invert_display,
|
lcd_set_invert_display,
|
||||||
#endif /* HAVE_LCD_INVERT */
|
#endif /* HAVE_LCD_INVERT */
|
||||||
|
@ -259,7 +258,6 @@ static const struct plugin_api rockbox_api = {
|
||||||
lcd_remote_mono_bitmap_part,
|
lcd_remote_mono_bitmap_part,
|
||||||
lcd_remote_mono_bitmap,
|
lcd_remote_mono_bitmap,
|
||||||
lcd_remote_putsxy,
|
lcd_remote_putsxy,
|
||||||
lcd_remote_puts_scroll_style,
|
|
||||||
&lcd_remote_static_framebuffer[0][0],
|
&lcd_remote_static_framebuffer[0][0],
|
||||||
lcd_remote_update,
|
lcd_remote_update,
|
||||||
lcd_remote_update_rect,
|
lcd_remote_update_rect,
|
||||||
|
|
|
@ -269,8 +269,6 @@ struct plugin_api {
|
||||||
int width, int height);
|
int width, int height);
|
||||||
void (*lcd_pal256_update_pal)(fb_data *palette);
|
void (*lcd_pal256_update_pal)(fb_data *palette);
|
||||||
#endif
|
#endif
|
||||||
void (*lcd_puts_scroll_style)(int x, int y, const unsigned char* string,
|
|
||||||
int style);
|
|
||||||
#ifdef HAVE_LCD_INVERT
|
#ifdef HAVE_LCD_INVERT
|
||||||
void (*lcd_set_invert_display)(bool yesno);
|
void (*lcd_set_invert_display)(bool yesno);
|
||||||
#endif /* HAVE_LCD_INVERT */
|
#endif /* HAVE_LCD_INVERT */
|
||||||
|
@ -346,8 +344,6 @@ struct plugin_api {
|
||||||
void (*lcd_remote_mono_bitmap)(const unsigned char *src, int x, int y,
|
void (*lcd_remote_mono_bitmap)(const unsigned char *src, int x, int y,
|
||||||
int width, int height);
|
int width, int height);
|
||||||
void (*lcd_remote_putsxy)(int x, int y, const unsigned char *string);
|
void (*lcd_remote_putsxy)(int x, int y, const unsigned char *string);
|
||||||
void (*lcd_remote_puts_scroll_style)(int x, int y, const unsigned char* string,
|
|
||||||
int style);
|
|
||||||
fb_remote_data* lcd_remote_framebuffer;
|
fb_remote_data* lcd_remote_framebuffer;
|
||||||
void (*lcd_remote_update)(void);
|
void (*lcd_remote_update)(void);
|
||||||
void (*lcd_remote_update_rect)(int x, int y, int width, int height);
|
void (*lcd_remote_update_rect)(int x, int y, int width, int height);
|
||||||
|
|
|
@ -249,7 +249,6 @@ struct screen screens[NB_SCREENS] =
|
||||||
.hline=&lcd_hline,
|
.hline=&lcd_hline,
|
||||||
.scroll_step=&lcd_scroll_step,
|
.scroll_step=&lcd_scroll_step,
|
||||||
.puts_style_xyoffset=&lcd_puts_style_xyoffset,
|
.puts_style_xyoffset=&lcd_puts_style_xyoffset,
|
||||||
.puts_scroll_style=&lcd_puts_scroll_style,
|
|
||||||
.puts_scroll_style_xyoffset=&lcd_puts_scroll_style_xyoffset,
|
.puts_scroll_style_xyoffset=&lcd_puts_scroll_style_xyoffset,
|
||||||
#endif /* HAVE_LCD_BITMAP */
|
#endif /* HAVE_LCD_BITMAP */
|
||||||
|
|
||||||
|
@ -351,7 +350,6 @@ struct screen screens[NB_SCREENS] =
|
||||||
.hline=&lcd_remote_hline,
|
.hline=&lcd_remote_hline,
|
||||||
.scroll_step=&lcd_remote_scroll_step,
|
.scroll_step=&lcd_remote_scroll_step,
|
||||||
.puts_style_xyoffset=&lcd_remote_puts_style_xyoffset,
|
.puts_style_xyoffset=&lcd_remote_puts_style_xyoffset,
|
||||||
.puts_scroll_style=&lcd_remote_puts_scroll_style,
|
|
||||||
.puts_scroll_style_xyoffset=&lcd_remote_puts_scroll_style_xyoffset,
|
.puts_scroll_style_xyoffset=&lcd_remote_puts_scroll_style_xyoffset,
|
||||||
#endif /* 1 */
|
#endif /* 1 */
|
||||||
|
|
||||||
|
|
|
@ -80,8 +80,6 @@ struct screen
|
||||||
void (*scroll_step)(int pixels);
|
void (*scroll_step)(int pixels);
|
||||||
void (*puts_style_xyoffset)(int x, int y, const unsigned char *str,
|
void (*puts_style_xyoffset)(int x, int y, const unsigned char *str,
|
||||||
int style, int x_offset, int y_offset);
|
int style, int x_offset, int y_offset);
|
||||||
void (*puts_scroll_style)(int x, int y, const unsigned char *string,
|
|
||||||
int style);
|
|
||||||
void (*puts_scroll_style_xyoffset)(int x, int y, const unsigned char *string,
|
void (*puts_scroll_style_xyoffset)(int x, int y, const unsigned char *string,
|
||||||
int style, int x_offset, int y_offset);
|
int style, int x_offset, int y_offset);
|
||||||
void (*mono_bitmap)(const unsigned char *src,
|
void (*mono_bitmap)(const unsigned char *src,
|
||||||
|
|
|
@ -1102,15 +1102,6 @@ void lcd_puts_scroll(int x, int y, const unsigned char* string)
|
||||||
\param string
|
\param string
|
||||||
\description Puts scrolling string on the LCD at row =x= and column =y=. The scrolling style is STYLE_DEFAULT.
|
\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 Row X
|
|
||||||
\param y Column Y
|
|
||||||
\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=, the text scrolls if necessary
|
|
||||||
|
|
||||||
void lcd_put_cursor(int x, int y, unsigned long ucs)
|
void lcd_put_cursor(int x, int y, unsigned long ucs)
|
||||||
\group lcd
|
\group lcd
|
||||||
\conditions (defined(HAVE_LCD_CHARCELLS))
|
\conditions (defined(HAVE_LCD_CHARCELLS))
|
||||||
|
@ -1266,15 +1257,6 @@ void lcd_remote_puts_scroll(int x, int y, const unsigned char* string)
|
||||||
\param string
|
\param string
|
||||||
\description
|
\description
|
||||||
|
|
||||||
void lcd_remote_puts_scroll_style(int x, int y, const unsigned char* string, int style)
|
|
||||||
\group remote lcd
|
|
||||||
\conditions (defined(HAVE_REMOTE_LCD))
|
|
||||||
\param x
|
|
||||||
\param y
|
|
||||||
\param string
|
|
||||||
\param style
|
|
||||||
\description
|
|
||||||
|
|
||||||
void lcd_remote_puts_style(int x, int y, const unsigned char *str, int style)
|
void lcd_remote_puts_style(int x, int y, const unsigned char *str, int style)
|
||||||
\group remote lcd
|
\group remote lcd
|
||||||
\conditions (defined(HAVE_REMOTE_LCD))
|
\conditions (defined(HAVE_REMOTE_LCD))
|
||||||
|
|
|
@ -602,13 +602,8 @@ void LCDFN(putsxy_scroll_func)(int x, int y, const unsigned char *string,
|
||||||
|
|
||||||
void LCDFN(puts_scroll)(int x, int y, const unsigned char *string)
|
void LCDFN(puts_scroll)(int x, int y, const unsigned char *string)
|
||||||
{
|
{
|
||||||
LCDFN(puts_scroll_style)(x, y, string, STYLE_DEFAULT);
|
LCDFN(puts_scroll_worker)(x, y, string, STYLE_DEFAULT, 0, 0,
|
||||||
}
|
true, LCDFN(scroll_fn), NULL);
|
||||||
|
|
||||||
void LCDFN(puts_scroll_style)(int x, int y, const unsigned char *string,
|
|
||||||
int style)
|
|
||||||
{
|
|
||||||
LCDFN(puts_scroll_style_xyoffset)(x, y, string, style, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(HAVE_LCD_COLOR) || !defined(MAIN_LCD)
|
#if !defined(HAVE_LCD_COLOR) || !defined(MAIN_LCD)
|
||||||
|
|
|
@ -179,8 +179,6 @@ extern void lcd_remote_puts_style_xyoffset(int x, int y, const unsigned char *st
|
||||||
int style, int x_offset, int y_offset);
|
int style, int x_offset, int y_offset);
|
||||||
extern void lcd_remote_putc(int x, int y, unsigned short ch);
|
extern void lcd_remote_putc(int x, int y, unsigned short ch);
|
||||||
extern void lcd_remote_puts_scroll(int x, int y, const unsigned char *str);
|
extern void lcd_remote_puts_scroll(int x, int y, const unsigned char *str);
|
||||||
extern void lcd_remote_puts_scroll_style(int x, int y, const unsigned char *str,
|
|
||||||
int style);
|
|
||||||
extern void lcd_remote_puts_scroll_style_xyoffset(int x, int y,
|
extern void lcd_remote_puts_scroll_style_xyoffset(int x, int y,
|
||||||
const unsigned char *string,
|
const unsigned char *string,
|
||||||
int style, int x_offset,
|
int style, int x_offset,
|
||||||
|
|
|
@ -208,8 +208,6 @@ 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_putsf(int x, int y, const unsigned char *fmt, ...);
|
||||||
extern void lcd_putc(int x, int y, unsigned long ucs);
|
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(int x, int y, const unsigned char* string);
|
||||||
extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string,
|
|
||||||
int style);
|
|
||||||
extern void lcd_putsxy_scroll_func(int x, int y, const unsigned char *string,
|
extern void lcd_putsxy_scroll_func(int x, int y, const unsigned char *string,
|
||||||
void (*scroll_func)(struct scrollinfo *),
|
void (*scroll_func)(struct scrollinfo *),
|
||||||
void *data, int x_offset);
|
void *data, int x_offset);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue