mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
set background color in timer, preventing flash of color when focus on scoreboard.
This commit is contained in:
parent
64199cf1ec
commit
1355b61906
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue