summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-04-30 07:41:05 +0200
committerThomas Martitz <kugel@rockbox.org>2014-01-07 14:13:48 +0100
commite1c7b3b8f72becc9079c04253a2985f577850a48 (patch)
tree84358cf14d067ab5089813d3778a96bfbaa66670 /apps/plugins
parentdeb6ac3693a6fb5c47abd0c32f966f5e38b6a68a (diff)
downloadrockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.zip
rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.gz
rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.bz2
rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.tar.xz
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lua/rocklib.c5
-rw-r--r--apps/plugins/reversi/reversi-gui.c3
-rw-r--r--apps/plugins/test_viewports.c20
3 files changed, 0 insertions, 28 deletions
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c
index 1290a7f..27c1177 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 e59a91e..39a7d2d 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 be61c77..9fc9caa 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
};