diff options
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index a4c73a2..9cbec70 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -40,9 +40,8 @@ private: QLabel *_sessionNameLabel; int _tbIconSize; Qt::ToolBarArea _tbArea; - int _tileWidth, _tileHeight; - static const int _tilesX = 9; - static const int _tilesY = 7; + int _tilesX; + int _tilesY; // Button block stuff QTimer *_buttonLockTimer; @@ -84,6 +83,8 @@ private: void resizeEvent(QResizeEvent *e); void mouseReleaseEvent(QMouseEvent* e); + int getTileWidthPx() const; + int getTileHeightPx() const; protected slots: void onTutorListDownloaded(QByteArray& tutorList); |