mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
Quick drawTileMidDrag() so doesn't crash. Still needs to set
background color.
This commit is contained in:
parent
2c3b7b23db
commit
4dfbfb34f7
1 changed files with 13 additions and 0 deletions
|
@ -750,6 +750,16 @@ palm_draw_drawTile( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
WinPopDrawState();
|
WinPopDrawState();
|
||||||
} /* palm_draw_drawTile */
|
} /* palm_draw_drawTile */
|
||||||
|
|
||||||
|
#ifdef POINTER_SUPPORT
|
||||||
|
static void
|
||||||
|
palm_draw_drawTileMidDrag( DrawCtx* p_dctx, const XP_Rect* rect,
|
||||||
|
const XP_UCHAR* letters, XP_Bitmap bitmap,
|
||||||
|
XP_S16 val, CellFlags flags )
|
||||||
|
{
|
||||||
|
palm_draw_drawTile( p_dctx, rect, letters, bitmap, val, flags );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
palm_draw_drawTileBack( DrawCtx* p_dctx, const XP_Rect* rect, CellFlags flags )
|
palm_draw_drawTileBack( DrawCtx* p_dctx, const XP_Rect* rect, CellFlags flags )
|
||||||
{
|
{
|
||||||
|
@ -1447,6 +1457,9 @@ palm_drawctxt_make( MPFORMAL GraphicsAbility able,
|
||||||
|
|
||||||
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTile, palm );
|
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTile, palm );
|
||||||
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTileBack, palm );
|
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTileBack, palm );
|
||||||
|
#ifdef POINTER_SUPPORT
|
||||||
|
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTileMidDrag, palm );
|
||||||
|
#endif
|
||||||
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTrayDivider, palm );
|
SET_VTABLE_ENTRY( dctx->vtable, draw_drawTrayDivider, palm );
|
||||||
|
|
||||||
SET_VTABLE_ENTRY( dctx->vtable, draw_drawBoardArrow, palm );
|
SET_VTABLE_ENTRY( dctx->vtable, draw_drawBoardArrow, palm );
|
||||||
|
|
Loading…
Add table
Reference in a new issue