summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorChristian Klinger2016-05-23 10:19:36 +0200
committerChristian Klinger2016-05-23 10:19:36 +0200
commit6f06aba6d7e52378d6192c631917f69a1b5d0f2e (patch)
tree12051e894c22e6aa4e9cc0871bc5b05843840d2b /src/server/mainwindow/mainwindow.h
parentmoved the camera icon closer to the PVS logo. (diff)
downloadpvs2-6f06aba6d7e52378d6192c631917f69a1b5d0f2e.tar.gz
pvs2-6f06aba6d7e52378d6192c631917f69a1b5d0f2e.tar.xz
pvs2-6f06aba6d7e52378d6192c631917f69a1b5d0f2e.zip
Improved positioning into the grid. (Pixel-precise calculations).
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index ab3befd..932fd3d 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -71,6 +71,7 @@ private:
DiscoveryListener *_discoveryListener;
QStringList _tutorList;
+ QPoint closestFreeSlot(QPoint preferredPixels, ConnectionFrame* toIgnore);
void placeFrameInFreeSlot(ConnectionFrame* frame, QPoint preferred = QPoint(0,0));
ConnectionFrame* createFrame();
ConnectionFrame* createFrame(QString computerId, QPoint position, QPoint gridPosition);