catch up with API change

This commit is contained in:
ehouse 2006-05-09 04:04:56 +00:00
parent 468c6efd37
commit 3a4c5dfff6
3 changed files with 5 additions and 5 deletions

View file

@ -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 ); */

View file

@ -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 );

View file

@ -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 );