diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-04-14 18:15:09 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 14:13:48 +0100 |
commit | 9a4686b563ac9e27615e1032792bd9878bb291f7 (patch) | |
tree | d90ce0718b9c74d9c8b8cdad027f3a391be9abfb /firmware/drivers/lcd-bitmap-common.c | |
parent | 775ebe4ff6508d13712beb6bc18e546adb39f47d (diff) | |
download | rockbox-9a4686b563ac9e27615e1032792bd9878bb291f7.tar.gz rockbox-9a4686b563ac9e27615e1032792bd9878bb291f7.zip |
lcd-common/scroll_engine: Remove unused functions lcd_puts_style_xyoffset() and lcd_puts_scroll_style_xyoffset().
With this functions removed there is no exported function in firmware left
that draws line decorations. Also no function supports specifying an y-offset
anymore (was used for pixel accurate positioning of otherwise strictly line-based
API calls).
Both should be handled in apps/ now.
Change-Id: Iba4b28ccc6e686c7db63e34b51ad4badae983fce
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 14c63ec471..330639fd87 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c | |||
@@ -445,7 +445,7 @@ static void LCDFN(putsxyofs_style)(int xpos, int ypos, | |||
445 | 445 | ||
446 | /*** Line oriented text output ***/ | 446 | /*** Line oriented text output ***/ |
447 | 447 | ||
448 | void LCDFN(puts_style_xyoffset)(int x, int y, const unsigned char *str, | 448 | static void LCDFN(putsofs_style)(int x, int y, const unsigned char *str, |
449 | int style, int x_offset, int y_offset) | 449 | int style, int x_offset, int y_offset) |
450 | { | 450 | { |
451 | int xpos, ypos, h; | 451 | int xpos, ypos, h; |
@@ -469,7 +469,7 @@ void LCDFN(puts_style_xyoffset)(int x, int y, const unsigned char *str, | |||
469 | 469 | ||
470 | void LCDFN(puts)(int x, int y, const unsigned char *str) | 470 | void LCDFN(puts)(int x, int y, const unsigned char *str) |
471 | { | 471 | { |
472 | LCDFN(puts_style_xyoffset)(x, y, str, STYLE_DEFAULT, 0, 0); | 472 | LCDFN(putsofs_style)(x, y, str, STYLE_DEFAULT, 0, 0); |
473 | } | 473 | } |
474 | 474 | ||
475 | /* Formatting version of LCDFN(puts) */ | 475 | /* Formatting version of LCDFN(puts) */ |
@@ -582,13 +582,6 @@ static void LCDFN(puts_scroll_worker)(int x, int y, const unsigned char *string, | |||
582 | } | 582 | } |
583 | } | 583 | } |
584 | 584 | ||
585 | void LCDFN(puts_scroll_style_xyoffset)(int x, int y, const unsigned char *string, | ||
586 | int style, int x_offset, int y_offset) | ||
587 | { | ||
588 | LCDFN(puts_scroll_worker)(x, y, string, style, x_offset, y_offset, | ||
589 | true, LCDFN(scroll_fn), NULL); | ||
590 | } | ||
591 | |||
592 | void LCDFN(putsxy_scroll_func)(int x, int y, const unsigned char *string, | 585 | void LCDFN(putsxy_scroll_func)(int x, int y, const unsigned char *string, |
593 | void (*scroll_func)(struct scrollinfo *), | 586 | void (*scroll_func)(struct scrollinfo *), |
594 | void *data, int x_offset) | 587 | void *data, int x_offset) |