catch up with API changes

This commit is contained in:
eehouse 2010-05-28 02:31:04 +00:00
parent 0d7b09cb01
commit 92e02c9c2e
2 changed files with 4 additions and 2 deletions

View file

@ -109,7 +109,7 @@ curses_draw_trayBegin( DrawCtx* XP_UNUSED(p_dctx),
return XP_TRUE;
} /* draw_finish */
static void
static XP_Bool
curses_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
XP_U16 XP_UNUSED(numPlayers),
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;
eraseRect( dctx, rect );
return XP_TRUE;
} /* curses_draw_scoreBegin */
static void

View file

@ -704,7 +704,7 @@ gtk_draw_drawBoardArrow( DrawCtx* p_dctx, const XP_Rect* rectP,
drawHintBorders( dctx, rectP, hintAtts );
} /* gtk_draw_drawBoardCursor */
static void
static XP_Bool
gtk_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
XP_U16 XP_UNUSED(numPlayers),
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 ); */
gtkEraseRect( dctx, rect );
dctx->scoreIsVertical = rect->height > rect->width;
return XP_TRUE;
} /* gtk_draw_scoreBegin */
static PangoLayout*