mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-31 19:57:06 +01:00
draw_boardBegin returns bool now
This commit is contained in:
parent
b447decb78
commit
f684ec9461
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,7 @@ curses_draw_destroyCtxt( DrawCtx* p_dctx )
|
||||||
// CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
// CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
||||||
} /* draw_setup */
|
} /* draw_setup */
|
||||||
|
|
||||||
static void
|
static XP_Bool
|
||||||
curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus )
|
curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus )
|
||||||
{
|
{
|
||||||
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
CursesDrawCtx* dctx = (CursesDrawCtx*)p_dctx;
|
||||||
|
@ -65,6 +65,7 @@ curses_draw_boardBegin( DrawCtx* p_dctx, XP_Rect* rect, XP_Bool hasfocus )
|
||||||
} else {
|
} else {
|
||||||
drawRect( dctx->boardWin, rect, '|', '-' );
|
drawRect( dctx->boardWin, rect, '|', '-' );
|
||||||
}
|
}
|
||||||
|
return XP_TRUE;
|
||||||
} /* draw_finish */
|
} /* draw_finish */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Reference in a new issue