From e1c7b3b8f72becc9079c04253a2985f577850a48 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 30 Apr 2013 07:41:05 +0200 Subject: lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. These where used for line styling during scrolling, which is now done in apps/, The viewport struct doesn't need to record these anymore. Change-Id: I810d9dcb2644b00a798c6e75acab69c74a78e77f --- apps/plugins/lua/rocklib.c | 5 ----- apps/plugins/reversi/reversi-gui.c | 3 --- apps/plugins/test_viewports.c | 20 -------------------- 3 files changed, 28 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c index 1290a7f298..27c1177748 100644 --- a/apps/plugins/lua/rocklib.c +++ b/apps/plugins/lua/rocklib.c @@ -240,11 +240,6 @@ static struct viewport* opt_viewport(lua_State *L, int narg, struct viewport* al #if LCD_DEPTH > 1 check_tablevalue(L, "fg_pattern", tablepos, &vp->fg_pattern, true); check_tablevalue(L, "bg_pattern", tablepos, &vp->bg_pattern, true); -#ifdef HAVE_LCD_COLOR - check_tablevalue(L, "lss_pattern", tablepos, &vp->lss_pattern, true); - check_tablevalue(L, "lse_pattern", tablepos, &vp->lse_pattern, true); - check_tablevalue(L, "lst_pattern", tablepos, &vp->lst_pattern, true); -#endif #endif return vp; diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index e59a91e341..39a7d2d91c 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c @@ -188,9 +188,6 @@ static bool game_finished; * int drawmode- Modes defined in lcd.h * unsigned fg_pattern - foreground color * unsigned bg_pattern - backbround color - * unsigned lss_pattern - Selector colors (currently unused) - * unsigned lse_pattern - | - * unsigned lst_pattern - \/ * * The rest of the touch button elements are: * bool repeat - requires the area be held for the action diff --git a/apps/plugins/test_viewports.c b/apps/plugins/test_viewports.c index be61c7792e..9fc9caa451 100644 --- a/apps/plugins/test_viewports.c +++ b/apps/plugins/test_viewports.c @@ -47,11 +47,6 @@ static struct viewport vp0 = .fg_pattern = LCD_DEFAULT_FG, .bg_pattern = BGCOLOR_1, #endif -#ifdef HAVE_LCD_COLOR - .lss_pattern = LCD_DEFAULT_BG, - .lse_pattern = LCD_DEFAULT_BG, - .lst_pattern = LCD_DEFAULT_BG, -#endif }; static struct viewport vp1 = @@ -65,11 +60,6 @@ static struct viewport vp1 = #if LCD_DEPTH > 1 .fg_pattern = LCD_DEFAULT_FG, .bg_pattern = LCD_DEFAULT_BG, -#ifdef HAVE_LCD_COLOR - .lss_pattern = LCD_DEFAULT_BG, - .lse_pattern = LCD_DEFAULT_BG, - .lst_pattern = LCD_DEFAULT_BG, -#endif #endif }; @@ -84,11 +74,6 @@ static struct viewport vp2 = #if LCD_DEPTH > 1 .fg_pattern = FGCOLOR_1, .bg_pattern = BGCOLOR_2, -#ifdef HAVE_LCD_COLOR - .lss_pattern = LCD_DEFAULT_BG, - .lse_pattern = LCD_DEFAULT_BG, - .lst_pattern = LCD_DEFAULT_BG, -#endif #endif }; @@ -104,11 +89,6 @@ static struct viewport vp3 = #if LCD_DEPTH > 1 .fg_pattern = LCD_BLACK, .bg_pattern = LCD_WHITE, -#ifdef HAVE_LCD_COLOR - .lss_pattern = LCD_DEFAULT_BG, - .lse_pattern = LCD_DEFAULT_BG, - .lst_pattern = LCD_DEFAULT_BG, -#endif #endif }; -- cgit v1.2.3