cScreenPlayfield::cScreenPlayfield( ) { word Tactical = g_DuneEngine->scenarioGet()->mapTacticalGet(); _mapX = g_DuneEngine->scenarioGet()->mapGet()->posXFromIndex( Tactical ); _mapY = g_DuneEngine->scenarioGet()->mapGet()->posYFromIndex( Tactical ); _mapCell = g_DuneEngine->scenarioGet()->mapGet()->mapCellGet( g_DuneEngine->scenarioGet()->mapCursorGet() ); scaleSet(); _surfaceLandscape = 0; _surfaceUnits = 0; _surfaceTileHighlight = 0; _width = 260; _height = 160; _redraw = false; }
void ImageScaleDialog::scale() { emit scaleSet(ui->sizeBox->text().toDouble()); }