From 1e76ef7d2df9d49a905f416774f33fdedfcf6f34 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 29 Jun 2020 22:45:32 +0930 Subject: Logic: created ned Object class and derived gates from that This class will allow us to make new devices (displays, custom gates etc) easily --- MainWindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MainWindow.h') diff --git a/MainWindow.h b/MainWindow.h index b6ba8e6..965c822 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -28,6 +28,7 @@ #include #include "Gate.h" #include "icons.h" +#include "Object.h" #include "pugixml.hpp" // saving/loading class MainWindow : public FXMainWindow @@ -161,7 +162,7 @@ class MainWindow : public FXMainWindow Gate::GATE_TYPE selected_gate_type = Gate::NONE; // the type of gate we will place struct selected_input selected_input; - std::vector selected_gates; + std::vector selected_gates; /* mouse */ bool lmouse_down = false; -- cgit v1.2.3