summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorChristian Klinger2016-04-27 15:54:03 +0200
committerChristian Klinger2016-04-27 16:12:53 +0200
commitb39ee0b0a3b8c51da2f2ef709dbb88e20ec93703 (patch)
tree3866ea228b25848196ea603a43cfeab9dc9299c3 /src/server/mainwindow/mainwindow.h
parentrespect configured clientSize. (diff)
downloadpvs2-b39ee0b0a3b8c51da2f2ef709dbb88e20ec93703.tar.gz
pvs2-b39ee0b0a3b8c51da2f2ef709dbb88e20ec93703.tar.xz
pvs2-b39ee0b0a3b8c51da2f2ef709dbb88e20ec93703.zip
add aspect ratio preservation.
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index fdbbf94..effc8f1 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -43,6 +43,10 @@ private:
int _tilesX;
int _tilesY;
+ /* virtual columns to preserve the aspect ratio of the loaded room */
+ int _virtCols;
+ int _virtRows;
+
// Button block stuff
QTimer *_buttonLockTimer;
QList<QAction*> _lockingButtons;