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.tar.gz
rockbox-e1c7b3b8f72becc9079c04253a2985f577850a48.zip
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 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
240#if LCD_DEPTH > 1 240#if LCD_DEPTH > 1
241 check_tablevalue(L, "fg_pattern", tablepos, &vp->fg_pattern, true); 241 check_tablevalue(L, "fg_pattern", tablepos, &vp->fg_pattern, true);
242 check_tablevalue(L, "bg_pattern", tablepos, &vp->bg_pattern, true); 242 check_tablevalue(L, "bg_pattern", tablepos, &vp->bg_pattern, true);
243#ifdef HAVE_LCD_COLOR
244 check_tablevalue(L, "lss_pattern", tablepos, &vp->lss_pattern, true);
245 check_tablevalue(L, "lse_pattern", tablepos, &vp->lse_pattern, true);
246 check_tablevalue(L, "lst_pattern", tablepos, &vp->lst_pattern, true);
247#endif
248#endif 243#endif
249 244
250 return vp; 245 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;
188 * int drawmode- Modes defined in lcd.h 188 * int drawmode- Modes defined in lcd.h
189 * unsigned fg_pattern - foreground color 189 * unsigned fg_pattern - foreground color
190 * unsigned bg_pattern - backbround color 190 * unsigned bg_pattern - backbround color
191 * unsigned lss_pattern - Selector colors (currently unused)
192 * unsigned lse_pattern - |
193 * unsigned lst_pattern - \/
194 * 191 *
195 * The rest of the touch button elements are: 192 * The rest of the touch button elements are:
196 * bool repeat - requires the area be held for the action 193 * 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 =
47 .fg_pattern = LCD_DEFAULT_FG, 47 .fg_pattern = LCD_DEFAULT_FG,
48 .bg_pattern = BGCOLOR_1, 48 .bg_pattern = BGCOLOR_1,
49#endif 49#endif
50#ifdef HAVE_LCD_COLOR
51 .lss_pattern = LCD_DEFAULT_BG,
52 .lse_pattern = LCD_DEFAULT_BG,
53 .lst_pattern = LCD_DEFAULT_BG,
54#endif
55}; 50};
56 51
57static struct viewport vp1 = 52static struct viewport vp1 =
@@ -65,11 +60,6 @@ static struct viewport vp1 =
65#if LCD_DEPTH > 1 60#if LCD_DEPTH > 1
66 .fg_pattern = LCD_DEFAULT_FG, 61 .fg_pattern = LCD_DEFAULT_FG,
67 .bg_pattern = LCD_DEFAULT_BG, 62 .bg_pattern = LCD_DEFAULT_BG,
68#ifdef HAVE_LCD_COLOR
69 .lss_pattern = LCD_DEFAULT_BG,
70 .lse_pattern = LCD_DEFAULT_BG,
71 .lst_pattern = LCD_DEFAULT_BG,
72#endif
73#endif 63#endif
74}; 64};
75 65
@@ -84,11 +74,6 @@ static struct viewport vp2 =
84#if LCD_DEPTH > 1 74#if LCD_DEPTH > 1
85 .fg_pattern = FGCOLOR_1, 75 .fg_pattern = FGCOLOR_1,
86 .bg_pattern = BGCOLOR_2, 76 .bg_pattern = BGCOLOR_2,
87#ifdef HAVE_LCD_COLOR
88 .lss_pattern = LCD_DEFAULT_BG,
89 .lse_pattern = LCD_DEFAULT_BG,
90 .lst_pattern = LCD_DEFAULT_BG,
91#endif
92#endif 77#endif
93}; 78};
94 79
@@ -104,11 +89,6 @@ static struct viewport vp3 =
104#if LCD_DEPTH > 1 89#if LCD_DEPTH > 1
105 .fg_pattern = LCD_BLACK, 90 .fg_pattern = LCD_BLACK,
106 .bg_pattern = LCD_WHITE, 91 .bg_pattern = LCD_WHITE,
107#ifdef HAVE_LCD_COLOR
108 .lss_pattern = LCD_DEFAULT_BG,
109 .lse_pattern = LCD_DEFAULT_BG,
110 .lst_pattern = LCD_DEFAULT_BG,
111#endif
112#endif 92#endif
113}; 93};
114 94