summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-04-14 18:15:09 +0200
committerThomas Martitz <kugel@rockbox.org>2014-01-07 14:13:48 +0100
commit9a4686b563ac9e27615e1032792bd9878bb291f7 (patch)
treed90ce0718b9c74d9c8b8cdad027f3a391be9abfb /apps
parent775ebe4ff6508d13712beb6bc18e546adb39f47d (diff)
downloadrockbox-9a4686b563ac9e27615e1032792bd9878bb291f7.tar.gz
rockbox-9a4686b563ac9e27615e1032792bd9878bb291f7.tar.bz2
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 'apps')
-rw-r--r--apps/screen_access.c4
-rw-r--r--apps/screen_access.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 7ca6f8d310..31a946080c 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -248,8 +248,6 @@ struct screen screens[NB_SCREENS] =
.vline=&lcd_vline,
.hline=&lcd_hline,
.scroll_step=&lcd_scroll_step,
- .puts_style_xyoffset=&lcd_puts_style_xyoffset,
- .puts_scroll_style_xyoffset=&lcd_puts_scroll_style_xyoffset,
#endif /* HAVE_LCD_BITMAP */
#ifdef HAVE_LCD_CHARCELLS
@@ -349,8 +347,6 @@ struct screen screens[NB_SCREENS] =
.vline=&lcd_remote_vline,
.hline=&lcd_remote_hline,
.scroll_step=&lcd_remote_scroll_step,
- .puts_style_xyoffset=&lcd_remote_puts_style_xyoffset,
- .puts_scroll_style_xyoffset=&lcd_remote_puts_scroll_style_xyoffset,
#endif /* 1 */
#if 0 /* no charcell remote LCDs so far */
diff --git a/apps/screen_access.h b/apps/screen_access.h
index 933a4dc692..c5684fc0c7 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -78,10 +78,6 @@ struct screen
void (*setuifont)(int newfont);
void (*scroll_step)(int pixels);
- void (*puts_style_xyoffset)(int x, int y, const unsigned char *str,
- int style, int x_offset, int y_offset);
- void (*puts_scroll_style_xyoffset)(int x, int y, const unsigned char *string,
- int style, int x_offset, int y_offset);
void (*mono_bitmap)(const unsigned char *src,
int x, int y, int width, int height);
void (*mono_bitmap_part)(const unsigned char *src, int src_x, int src_y,