mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
add accessor for current selected player
This commit is contained in:
parent
f7f4825c67
commit
01b746860e
2 changed files with 7 additions and 0 deletions
|
@ -1823,6 +1823,12 @@ board_getTrayVisState( const BoardCtxt* board )
|
|||
return board->trayVisState;
|
||||
} /* board_getTrayVisible */
|
||||
|
||||
XP_S16
|
||||
board_getSelPlayer( const BoardCtxt* board )
|
||||
{
|
||||
return board->selPlayer;
|
||||
}
|
||||
|
||||
static XP_Bool
|
||||
setTrayVisState( BoardCtxt* board, XW_TrayVisState newState )
|
||||
{
|
||||
|
|
|
@ -197,6 +197,7 @@ XP_Bool board_focusChanged( BoardCtxt* board, BoardObjectType typ,
|
|||
XP_Bool board_hideTray( BoardCtxt* board );
|
||||
XP_Bool board_showTray( BoardCtxt* board );
|
||||
XW_TrayVisState board_getTrayVisState( const BoardCtxt* board );
|
||||
XP_S16 board_getSelPlayer( const BoardCtxt* board );
|
||||
|
||||
void board_invalTrayTiles( BoardCtxt* board, TileBit what );
|
||||
XP_Bool board_juggleTray( BoardCtxt* board );
|
||||
|
|
Loading…
Reference in a new issue