mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
add getters
This commit is contained in:
parent
7d3048bb55
commit
c65d2cf574
2 changed files with 16 additions and 2 deletions
|
@ -1233,7 +1233,7 @@ trayOnTop( const BoardCtxt* board )
|
||||||
} /* trayOnTop */
|
} /* trayOnTop */
|
||||||
|
|
||||||
XW_TrayVisState
|
XW_TrayVisState
|
||||||
board_getTrayVisState( BoardCtxt* board )
|
board_getTrayVisState( const BoardCtxt* board )
|
||||||
{
|
{
|
||||||
return board->trayVisState;
|
return board->trayVisState;
|
||||||
} /* board_getTrayVisible */
|
} /* board_getTrayVisible */
|
||||||
|
@ -1327,6 +1327,12 @@ invalReflection( BoardCtxt* board )
|
||||||
}
|
}
|
||||||
} /* invalReflection */
|
} /* invalReflection */
|
||||||
|
|
||||||
|
XP_Bool
|
||||||
|
board_get_flipped( const BoardCtxt* board )
|
||||||
|
{
|
||||||
|
return board->isFlipped;
|
||||||
|
}
|
||||||
|
|
||||||
XP_Bool
|
XP_Bool
|
||||||
board_flip( BoardCtxt* board )
|
board_flip( BoardCtxt* board )
|
||||||
{
|
{
|
||||||
|
@ -1353,6 +1359,12 @@ board_flip( BoardCtxt* board )
|
||||||
return board->needsDrawing;
|
return board->needsDrawing;
|
||||||
} /* board_flip */
|
} /* board_flip */
|
||||||
|
|
||||||
|
XP_Bool
|
||||||
|
board_get_showValues( const BoardCtxt* board )
|
||||||
|
{
|
||||||
|
return board->showCellValues;
|
||||||
|
}
|
||||||
|
|
||||||
XP_Bool
|
XP_Bool
|
||||||
board_toggle_showValues( BoardCtxt* board )
|
board_toggle_showValues( BoardCtxt* board )
|
||||||
{
|
{
|
||||||
|
|
|
@ -89,7 +89,9 @@ void board_invalRect( BoardCtxt* board, XP_Rect* rect );
|
||||||
|
|
||||||
XP_Bool board_draw( BoardCtxt* board );
|
XP_Bool board_draw( BoardCtxt* board );
|
||||||
|
|
||||||
|
XP_Bool board_get_flipped( const BoardCtxt* board );
|
||||||
XP_Bool board_flip( BoardCtxt* board );
|
XP_Bool board_flip( BoardCtxt* board );
|
||||||
|
XP_Bool board_get_showValues( const BoardCtxt* board );
|
||||||
XP_Bool board_toggle_showValues( BoardCtxt* board );
|
XP_Bool board_toggle_showValues( BoardCtxt* board );
|
||||||
XP_Bool board_getShowColors( BoardCtxt* board );
|
XP_Bool board_getShowColors( BoardCtxt* board );
|
||||||
XP_Bool board_setShowColors( BoardCtxt* board, XP_Bool showColors );
|
XP_Bool board_setShowColors( BoardCtxt* board, XP_Bool showColors );
|
||||||
|
@ -147,7 +149,7 @@ void board_setTrayLoc( BoardCtxt* board, XP_U16 trayLeft, XP_U16 trayTop,
|
||||||
XP_U16 minDividerWidth );
|
XP_U16 minDividerWidth );
|
||||||
XP_Bool board_hideTray( BoardCtxt* board );
|
XP_Bool board_hideTray( BoardCtxt* board );
|
||||||
XP_Bool board_showTray( BoardCtxt* board );
|
XP_Bool board_showTray( BoardCtxt* board );
|
||||||
XW_TrayVisState board_getTrayVisState( BoardCtxt* board );
|
XW_TrayVisState board_getTrayVisState( const BoardCtxt* board );
|
||||||
|
|
||||||
void board_invalTrayTiles( BoardCtxt* board, TileBit what );
|
void board_invalTrayTiles( BoardCtxt* board, TileBit what );
|
||||||
XP_Bool board_juggleTray( BoardCtxt* board );
|
XP_Bool board_juggleTray( BoardCtxt* board );
|
||||||
|
|
Loading…
Add table
Reference in a new issue