diff options
author | Daniel Jones <admin@danieljon.es> | 2020-07-02 00:01:20 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-07-02 00:01:20 +0930 |
commit | 91e0ff8b0327f2e8d1c3851e2cd5a7784ea2f36b (patch) | |
tree | 0a93ed66b395a3ae772d1b9f9451776b138e8455 /MainWindow.h | |
parent | 010b96610730b5028c42faa633d067ebb411a744 (diff) | |
download | foxlogicgates-91e0ff8b0327f2e8d1c3851e2cd5a7784ea2f36b.tar.gz foxlogicgates-91e0ff8b0327f2e8d1c3851e2cd5a7784ea2f36b.zip |
Functionality: binary display inputs can be selected and deleted now
Diffstat (limited to 'MainWindow.h')
-rw-r--r-- | MainWindow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MainWindow.h b/MainWindow.h index e686321..0902169 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -99,7 +99,8 @@ class MainWindow : public FXMainWindow MainWindow(){} private: - struct Coord { + struct Coord + { int X; int Y; @@ -115,8 +116,8 @@ class MainWindow : public FXMainWindow void find_selected_input(int x, int y); Object *find_object_at(int x, int y); Object *find_object_by_id(int id); - void remove_all_gates(); - void find_gates_in_area(int x, int y, int width, int height); + void remove_all_objects(); + void find_objects_in_area(int x, int y, int width, int height); void remove_object(Object &object); bool save_file(); |