diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2013-04-13 18:20:42 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 14:13:48 +0100 |
| commit | 7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35 (patch) | |
| tree | a57c8639c633561ed841c7a508e7dcb4bc60dd8e /firmware | |
| parent | 1e324aac36c123340d8d33338042402164581860 (diff) | |
| download | rockbox-7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35.zip rockbox-7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35.tar.gz rockbox-7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35.tar.bz2 rockbox-7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35.tar.xz | |
lcd-common: Remove unused function lcd_puts_style_offset().
Change-Id: I24da23d132f933fe647416dc58e8f50879715423
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 8 | ||||
| -rw-r--r-- | firmware/export/lcd-remote.h | 2 | ||||
| -rw-r--r-- | firmware/export/lcd.h | 2 |
3 files changed, 1 insertions, 11 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index f9bc03d..a95efbc 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c @@ -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); } -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) { - 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) */ diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h index d803525..53ddf0f 100644 --- a/firmware/export/lcd-remote.h +++ b/firmware/export/lcd-remote.h @@ -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_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, int style, int x_offset, int y_offset); extern void lcd_remote_putc(int x, int y, unsigned short ch); diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 0c5cf74..b8c4f5c 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -498,8 +498,6 @@ extern int lcd_get_drawmode(void); extern void lcd_setfont(int font); 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, int style, int x_offset, int y_offset); extern void lcd_puts_scroll_style_xyoffset(int x, int y, const unsigned char *string, |