mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
catch up with API changes
This commit is contained in:
parent
0d7b09cb01
commit
92e02c9c2e
2 changed files with 4 additions and 2 deletions
|
@ -109,7 +109,7 @@ curses_draw_trayBegin( DrawCtx* XP_UNUSED(p_dctx),
|
||||||
return XP_TRUE;
|
return XP_TRUE;
|
||||||
} /* draw_finish */
|
} /* draw_finish */
|
||||||
|
|
||||||
static void
|
static XP_Bool
|
||||||
curses_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
curses_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
XP_U16 XP_UNUSED(numPlayers),
|
XP_U16 XP_UNUSED(numPlayers),
|
||||||
const XP_S16* const XP_UNUSED(scores),
|
const XP_S16* const XP_UNUSED(scores),
|
||||||
|
@ -118,6 +118,7 @@ curses_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
{
|
{
|
||||||
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
||||||
eraseRect( dctx, rect );
|
eraseRect( dctx, rect );
|
||||||
|
return XP_TRUE;
|
||||||
} /* curses_draw_scoreBegin */
|
} /* curses_draw_scoreBegin */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -704,7 +704,7 @@ gtk_draw_drawBoardArrow( DrawCtx* p_dctx, const XP_Rect* rectP,
|
||||||
drawHintBorders( dctx, rectP, hintAtts );
|
drawHintBorders( dctx, rectP, hintAtts );
|
||||||
} /* gtk_draw_drawBoardCursor */
|
} /* gtk_draw_drawBoardCursor */
|
||||||
|
|
||||||
static void
|
static XP_Bool
|
||||||
gtk_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
gtk_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
XP_U16 XP_UNUSED(numPlayers),
|
XP_U16 XP_UNUSED(numPlayers),
|
||||||
const XP_S16* const XP_UNUSED(scores),
|
const XP_S16* const XP_UNUSED(scores),
|
||||||
|
@ -716,6 +716,7 @@ gtk_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
/* gdk_gc_set_clip_rectangle( dctx->drawGC, (GdkRectangle*)rect ); */
|
/* gdk_gc_set_clip_rectangle( dctx->drawGC, (GdkRectangle*)rect ); */
|
||||||
gtkEraseRect( dctx, rect );
|
gtkEraseRect( dctx, rect );
|
||||||
dctx->scoreIsVertical = rect->height > rect->width;
|
dctx->scoreIsVertical = rect->height > rect->width;
|
||||||
|
return XP_TRUE;
|
||||||
} /* gtk_draw_scoreBegin */
|
} /* gtk_draw_scoreBegin */
|
||||||
|
|
||||||
static PangoLayout*
|
static PangoLayout*
|
||||||
|
|
Loading…
Add table
Reference in a new issue