mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
catch up with board_setPos API change.
This commit is contained in:
parent
a3926f42ff
commit
e1d956ac09
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue