lcd-common: Remove unused function lcd_puts_style_offset().

Change-Id: I24da23d132f933fe647416dc58e8f50879715423
This commit is contained in:
Thomas Martitz 2013-04-13 18:20:42 +02:00
parent 1e324aac36
commit 7cd07290e6
5 changed files with 1 additions and 15 deletions

View file

@ -248,7 +248,6 @@ struct screen screens[NB_SCREENS] =
.vline=&lcd_vline, .vline=&lcd_vline,
.hline=&lcd_hline, .hline=&lcd_hline,
.scroll_step=&lcd_scroll_step, .scroll_step=&lcd_scroll_step,
.puts_style_offset=&lcd_puts_style_offset,
.puts_style_xyoffset=&lcd_puts_style_xyoffset, .puts_style_xyoffset=&lcd_puts_style_xyoffset,
.puts_scroll_style=&lcd_puts_scroll_style, .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,
@ -351,7 +350,6 @@ struct screen screens[NB_SCREENS] =
.vline=&lcd_remote_vline, .vline=&lcd_remote_vline,
.hline=&lcd_remote_hline, .hline=&lcd_remote_hline,
.scroll_step=&lcd_remote_scroll_step, .scroll_step=&lcd_remote_scroll_step,
.puts_style_offset=&lcd_remote_puts_style_offset,
.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=&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,

View file

@ -78,8 +78,6 @@ struct screen
void (*setuifont)(int newfont); void (*setuifont)(int newfont);
void (*scroll_step)(int pixels); void (*scroll_step)(int pixels);
void (*puts_style_offset)(int x, int y, const unsigned char *str,
int style, int x_offset);
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, void (*puts_scroll_style)(int x, int y, const unsigned char *string,

View file

@ -467,15 +467,9 @@ void LCDFN(puts_style_xyoffset)(int x, int y, const unsigned char *str,
LCDFN(putsxyofs_style)(xpos, ypos+y_offset, str, style, h, x_offset); LCDFN(putsxyofs_style)(xpos, ypos+y_offset, str, style, h, x_offset);
} }
void LCDFN(puts_style_offset)(int x, int y, const unsigned char *str,
int style, int x_offset)
{
LCDFN(puts_style_xyoffset)(x, y, str, style, x_offset, 0);
}
void LCDFN(puts)(int x, int y, const unsigned char *str) void LCDFN(puts)(int x, int y, const unsigned char *str)
{ {
LCDFN(puts_style_offset)(x, y, str, STYLE_DEFAULT, 0); LCDFN(puts_style_xyoffset)(x, y, str, STYLE_DEFAULT, 0, 0);
} }
/* Formatting version of LCDFN(puts) */ /* Formatting version of LCDFN(puts) */

View file

@ -175,8 +175,6 @@ extern void lcd_remote_clear_display(void);
extern void lcd_remote_clear_viewport(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_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_putsf(int x, int y, const unsigned char *fmt, ...);
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, extern void lcd_remote_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);
extern void lcd_remote_putc(int x, int y, unsigned short ch); extern void lcd_remote_putc(int x, int y, unsigned short ch);

View file

@ -498,8 +498,6 @@ extern int lcd_get_drawmode(void);
extern void lcd_setfont(int font); extern void lcd_setfont(int font);
extern int lcd_getfont(void); extern int lcd_getfont(void);
extern void lcd_puts_style_offset(int x, int y, const unsigned char *str,
int style, int x_offset);
extern void lcd_puts_style_xyoffset(int x, int y, const unsigned char *str, extern void lcd_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);
extern void lcd_puts_scroll_style_xyoffset(int x, int y, const unsigned char *string, extern void lcd_puts_scroll_style_xyoffset(int x, int y, const unsigned char *string,