mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
catch up with API change
This commit is contained in:
parent
468c6efd37
commit
3a4c5dfff6
3 changed files with 5 additions and 5 deletions
|
@ -965,7 +965,8 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
|
|||
board_setScoreboardLoc( globals.cGlobals.game.board, 20, 1, 50,
|
||||
5, /*4 players + rem*/ XP_FALSE );
|
||||
|
||||
board_setTrayLoc( globals.cGlobals.game.board, 25, 8, 3, 4, 1 );
|
||||
board_setTrayLoc( globals.cGlobals.game.board, 25, 8, (3*MAX_TRAY_TILES)+1,
|
||||
4, 1 );
|
||||
/* no divider -- yet */
|
||||
/* board_setTrayVisible( globals.board, XP_TRUE, XP_FALSE ); */
|
||||
|
||||
|
|
|
@ -366,8 +366,7 @@ configure_event( GtkWidget* widget, GdkEventConfigure* event,
|
|||
TIMER_WIDTH, HOR_SCORE_HEIGHT );
|
||||
|
||||
board_setTrayLoc( globals->cGlobals.game.board, TRAY_LEFT, trayTop,
|
||||
hscale * 2, vscale * 2,
|
||||
GTK_DIVIDER_WIDTH );
|
||||
width, vscale * 2, GTK_DIVIDER_WIDTH );
|
||||
|
||||
setCtrlsForTray( globals );
|
||||
|
||||
|
|
|
@ -449,8 +449,8 @@ positionBoard( PalmAppGlobals* globals )
|
|||
board_setTrayLoc( globals->game.board,
|
||||
(isLefty? PALM_TRAY_LEFT_LH:PALM_TRAY_LEFT_RH) * doubler,
|
||||
trayTop,
|
||||
PALM_TRAY_SCALEH * doubler, trayScaleV,
|
||||
PALM_DIVIDER_WIDTH * doubler );
|
||||
PALM_TRAY_WIDTH * doubler, trayScaleV,
|
||||
PALM_DIVIDER_WIDTH );
|
||||
|
||||
board_prefsChanged( globals->game.board, &globals->gState.cp );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue