From 775ebe4ff6508d13712beb6bc18e546adb39f47d Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 14 Apr 2013 18:13:12 +0200 Subject: lcd-common/scroll_engine: Remove unused functions lcd_puts_scroll_style(). Change-Id: Ia4f943b3738ab6e66b0e3f1507c629b36d7eba94 --- apps/plugin.c | 2 -- apps/plugin.h | 4 ---- apps/screen_access.c | 2 -- apps/screen_access.h | 2 -- 4 files changed, 10 deletions(-) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index eed3be7291..af06a4c484 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -200,7 +200,6 @@ static const struct plugin_api rockbox_api = { lcd_blit_pal256, lcd_pal256_update_pal, #endif - lcd_puts_scroll_style, #ifdef HAVE_LCD_INVERT lcd_set_invert_display, #endif /* HAVE_LCD_INVERT */ @@ -259,7 +258,6 @@ static const struct plugin_api rockbox_api = { lcd_remote_mono_bitmap_part, lcd_remote_mono_bitmap, lcd_remote_putsxy, - lcd_remote_puts_scroll_style, &lcd_remote_static_framebuffer[0][0], lcd_remote_update, lcd_remote_update_rect, diff --git a/apps/plugin.h b/apps/plugin.h index 237d2f82ee..673ad0b8c1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -269,8 +269,6 @@ struct plugin_api { int width, int height); void (*lcd_pal256_update_pal)(fb_data *palette); #endif - void (*lcd_puts_scroll_style)(int x, int y, const unsigned char* string, - int style); #ifdef HAVE_LCD_INVERT void (*lcd_set_invert_display)(bool yesno); #endif /* HAVE_LCD_INVERT */ @@ -346,8 +344,6 @@ struct plugin_api { void (*lcd_remote_mono_bitmap)(const unsigned char *src, int x, int y, int width, int height); 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; void (*lcd_remote_update)(void); void (*lcd_remote_update_rect)(int x, int y, int width, int height); diff --git a/apps/screen_access.c b/apps/screen_access.c index 452e5e9501..7ca6f8d310 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -249,7 +249,6 @@ struct screen screens[NB_SCREENS] = .hline=&lcd_hline, .scroll_step=&lcd_scroll_step, .puts_style_xyoffset=&lcd_puts_style_xyoffset, - .puts_scroll_style=&lcd_puts_scroll_style, .puts_scroll_style_xyoffset=&lcd_puts_scroll_style_xyoffset, #endif /* HAVE_LCD_BITMAP */ @@ -351,7 +350,6 @@ struct screen screens[NB_SCREENS] = .hline=&lcd_remote_hline, .scroll_step=&lcd_remote_scroll_step, .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, #endif /* 1 */ diff --git a/apps/screen_access.h b/apps/screen_access.h index 4f1faac187..933a4dc692 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -80,8 +80,6 @@ struct screen 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)(int x, int y, const unsigned char *string, - int style); 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, -- cgit v1.2.3