mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
provide no-op implementations of new draw methods
This commit is contained in:
parent
aad97c7c23
commit
33f904fa1e
1 changed files with 6 additions and 0 deletions
|
@ -348,6 +348,10 @@ and_draw_drawTimer( DrawCtx* dctx, const XP_Rect* rect, XP_U16 player,
|
|||
}
|
||||
}
|
||||
|
||||
/* Not used on android yet */
|
||||
static void and_draw_beginDraw( DrawCtx* XP_UNUSED(dctx) ) {}
|
||||
static void and_draw_endDraw( DrawCtx* XP_UNUSED(dctx) ) {}
|
||||
|
||||
static XP_Bool
|
||||
and_draw_boardBegin( DrawCtx* dctx, const XP_Rect* rect,
|
||||
XP_U16 cellWidth, XP_U16 cellHeight,
|
||||
|
@ -613,6 +617,8 @@ makeDraw( MPFORMAL EnvThreadInfo* ti, jobject jdraw )
|
|||
}
|
||||
|
||||
#define SET_PROC(nam) draw->vtable->m_draw_##nam = and_draw_##nam
|
||||
SET_PROC(beginDraw);
|
||||
SET_PROC(endDraw);
|
||||
SET_PROC(boardBegin);
|
||||
SET_PROC(scoreBegin);
|
||||
#ifdef XWFEATURE_SCOREONEPASS
|
||||
|
|
Loading…
Reference in a new issue