mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
catch up with API change
This commit is contained in:
parent
4272686034
commit
dc70db5ba4
3 changed files with 5 additions and 4 deletions
|
@ -387,8 +387,8 @@ and_draw_dictChanged( DrawCtx* dctx, XP_S16 playerNum,
|
||||||
{
|
{
|
||||||
AndDraw* draw = (AndDraw*)dctx;
|
AndDraw* draw = (AndDraw*)dctx;
|
||||||
if ( NULL != draw->jdraw ) {
|
if ( NULL != draw->jdraw ) {
|
||||||
DRAW_CBK_HEADER( "dictChanged", "(I)V" );
|
DRAW_CBK_HEADER( "dictChanged", "(II)V" );
|
||||||
(*env)->CallVoidMethod( env, draw->jdraw, mid, (jint)dict );
|
(*env)->CallVoidMethod( env, draw->jdraw, mid, playerNum, (jint)dict );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -707,7 +707,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void dictChanged( int dictPtr )
|
public void dictChanged( int playerNum, int dictPtr )
|
||||||
{
|
{
|
||||||
if ( m_dictPtr != dictPtr ) {
|
if ( m_dictPtr != dictPtr ) {
|
||||||
if ( m_dictPtr == 0 ||
|
if ( m_dictPtr == 0 ||
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* -*- compile-command: "cd ../../../../../../; ant install"; -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright 2009-2010 by Eric House (xwords@eehouse.org). All
|
* Copyright 2009-2010 by Eric House (xwords@eehouse.org). All
|
||||||
* rights reserved.
|
* rights reserved.
|
||||||
|
@ -76,6 +77,6 @@ public interface DrawCtx {
|
||||||
|
|
||||||
void objFinished( /*BoardObjectType*/int typ, Rect rect, int dfs );
|
void objFinished( /*BoardObjectType*/int typ, Rect rect, int dfs );
|
||||||
|
|
||||||
void dictChanged( int dictPtr );
|
void dictChanged( int player, int dictPtr );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue