summaryrefslogtreecommitdiff
path: root/MainWindow.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-27 21:37:43 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-27 21:37:43 +0930
commitde0a6e00949bb151d32e08ee0aedcb9517c1c0c0 (patch)
tree1e7f4eaad85386a85dd9dcd9e1b2cef6b88bfe5b /MainWindow.h
parent353954259bbd23b30c4c5025d682751192a3f745 (diff)
downloadfoxlogicgates-de0a6e00949bb151d32e08ee0aedcb9517c1c0c0.tar.gz
foxlogicgates-de0a6e00949bb151d32e08ee0aedcb9517c1c0c0.zip
Functionality: begin implementing moving of selected gates
Diffstat (limited to 'MainWindow.h')
-rw-r--r--MainWindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/MainWindow.h b/MainWindow.h
index 04162ed..1110806 100644
--- a/MainWindow.h
+++ b/MainWindow.h
@@ -25,6 +25,7 @@
#include <memory>
#include <string>
#include <fxkeys.h>
+#include <cstdlib>
#include "Gate.h"
#include "icons.h"
#include "pugixml.hpp" // saving/loading
@@ -158,6 +159,8 @@ class MainWindow : public FXMainWindow
bool rubberbanding = false;
int rubberband_startx;
int rubberband_starty;
+ int multiple_move_startx;
+ int multiple_move_starty;
/* keyboard */
bool lshift_down = false;