mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
draw timer in player color
This commit is contained in:
parent
6584c69df1
commit
f6be6222a1
1 changed files with 2 additions and 2 deletions
|
@ -1134,7 +1134,7 @@ gtkFormatTimerText( XP_UCHAR* buf, XP_U16 bufLen, XP_S16 secondsLeft )
|
|||
|
||||
static void
|
||||
gtk_draw_drawTimer( DrawCtx* p_dctx, const XP_Rect* rInner,
|
||||
XP_U16 XP_UNUSED(player), XP_S16 secondsLeft )
|
||||
XP_U16 playerNum, XP_S16 secondsLeft )
|
||||
{
|
||||
GtkDrawCtx* dctx = (GtkDrawCtx*)p_dctx;
|
||||
XP_UCHAR buf[10];
|
||||
|
@ -1145,7 +1145,7 @@ gtk_draw_drawTimer( DrawCtx* p_dctx, const XP_Rect* rInner,
|
|||
gtkEraseRect( dctx, rInner );
|
||||
draw_string_at( dctx, NULL, buf, rInner->height-1,
|
||||
rInner, XP_GTK_JUST_CENTER,
|
||||
&dctx->black, NULL );
|
||||
&dctx->playerColors[playerNum], NULL );
|
||||
} /* gtk_draw_drawTimer */
|
||||
|
||||
#define MINI_LINE_HT 12
|
||||
|
|
Loading…
Reference in a new issue