From d4d3f3c494e48304d41eada0a4881a9d2b4b97f4 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 10 Jan 2014 21:50:37 +0100 Subject: 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 --- apps/gui/skin_engine/wps_internals.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/gui/skin_engine/wps_internals.h') 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 { bool is_infovp; OFFSETTYPE(char*) label; int parsed_fontid; -#if LCD_DEPTH > 1 +#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) bool output_to_backdrop_buffer; - unsigned start_fgcolour; - unsigned start_bgcolour; + bool fgbg_changed; #ifdef HAVE_LCD_COLOR struct gradient_config start_gradient; #endif -- cgit v1.2.3