From b39ee0b0a3b8c51da2f2ef709dbb88e20ec93703 Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Wed, 27 Apr 2016 15:54:03 +0200 Subject: add aspect ratio preservation. --- src/server/mainwindow/mainwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/mainwindow/mainwindow.h') 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 _lockingButtons; -- cgit v1.2.3-55-g7522