From 91e0ff8b0327f2e8d1c3851e2cd5a7784ea2f36b Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Thu, 2 Jul 2020 00:01:20 +0930 Subject: Functionality: binary display inputs can be selected and deleted now --- MainWindow.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'MainWindow.h') 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(); -- cgit v1.2.3