catch up with board_setPos API change.

This commit is contained in:
eehouse 2010-06-03 04:58:02 +00:00
parent a3926f42ff
commit e1d956ac09
2 changed files with 3 additions and 2 deletions

View file

@ -1381,7 +1381,8 @@ positionSizeStuff( CursesAppGlobals* globals, int width, int height )
cellWidth = CURSES_CELL_WIDTH;
cellHt = CURSES_CELL_HT;
board_setPos( board, BOARD_OFFSET, BOARD_OFFSET,
cellWidth * MAX_COLS, cellHt * MAX_ROWS, XP_FALSE );
cellWidth * MAX_COLS, cellHt * MAX_ROWS,
cellHt, XP_FALSE );
/* board_setScale( board, cellWidth, cellHt ); */
scoreLeft = (cellWidth * MAX_COLS);// + BOARD_SCORE_PADDING;
remWidth -= cellWidth * MAX_COLS;

View file

@ -540,7 +540,7 @@ configure_event( GtkWidget* widget, GdkEventConfigure* XP_UNUSED(event),
trayTop -= vscale * globals->cGlobals.params->nHidden;
board_setPos( globals->cGlobals.game.board, GTK_BOARD_LEFT, boardTop,
hscale*GTK_NUM_COLS, vscale * GTK_NUM_ROWS,
XP_FALSE );
hscale * 2, XP_FALSE );
/* board_setScale( globals->cGlobals.game.board, hscale, vscale ); */
globals->gridOn = XP_TRUE;