From 1355b61906f393e70f97d22676c9ffc78555960c Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 25 May 2008 15:54:34 +0000 Subject: [PATCH] set background color in timer, preventing flash of color when focus on scoreboard. --- xwords4/wince/cedraw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/wince/cedraw.c b/xwords4/wince/cedraw.c index ac42c6ae1..a7dcb4f50 100755 --- a/xwords4/wince/cedraw.c +++ b/xwords4/wince/cedraw.c @@ -966,6 +966,7 @@ DRAW_FUNC_NAME(drawTimer)( DrawCtx* p_dctx, const XP_Rect* rInner, ceClipToRect( hdc, &rt ); SetTextColor( hdc, dctx->globals->appPrefs.colors[getPlayerColor(player)] ); + SetBkColor( hdc, dctx->globals->appPrefs.colors[CE_BKG_COLOR] ); ceClearToBkground( dctx, rInner ); drawLines( dctx, hdc, buf, CE_TIMER_PADDING, &rt, DT_SINGLELINE | DT_VCENTER | DT_CENTER);