summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-10 21:50:37 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-10 21:54:06 +0100
commitd4d3f3c494e48304d41eada0a4881a9d2b4b97f4 (patch)
tree2b656c825f1e668beae9893139a945d9c1adbdee /apps/gui/skin_engine/wps_internals.h
parent9cd3444e272bbffc5ca6dcf172577b0e7885a3d2 (diff)
downloadrockbox-d4d3f3c494e48304d41eada0a4881a9d2b4b97f4.tar.gz
rockbox-d4d3f3c494e48304d41eada0a4881a9d2b4b97f4.zip
skin engine: Fix FS#12884.
The %Vf and %Vb tags change the colors for the rest of the viewport. This requires the rest of the vp to be redrawn when they change due to a conditional. The previous code did this redraw in all cases (conditional or not) which led to visible blinking. Change-Id: Ie59dfc6fe8ed76485a2a2bd7caf1315f1944c227
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index be99ad82ae..339669570a 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -186,10 +186,9 @@ struct skin_viewport {
186 bool is_infovp; 186 bool is_infovp;
187 OFFSETTYPE(char*) label; 187 OFFSETTYPE(char*) label;
188 int parsed_fontid; 188 int parsed_fontid;
189#if LCD_DEPTH > 1 189#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1))
190 bool output_to_backdrop_buffer; 190 bool output_to_backdrop_buffer;
191 unsigned start_fgcolour; 191 bool fgbg_changed;
192 unsigned start_bgcolour;
193#ifdef HAVE_LCD_COLOR 192#ifdef HAVE_LCD_COLOR
194 struct gradient_config start_gradient; 193 struct gradient_config start_gradient;
195#endif 194#endif