From f81202d509bebf98a986113c1b7a087cd32c43d8 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 24 Jun 2020 13:00:30 +0930 Subject: logic: now recursively updates gates when a change is made by keeping track of all connected gates --- MainWindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'MainWindow.h') diff --git a/MainWindow.h b/MainWindow.h index d150325..ac3ff2e 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -83,6 +83,7 @@ class MainWindow : public FXMainWindow private: void create_ui(); void draw(); + void update_gate_state(Gate *gate); Gate *find_gate_at(int x, int y); Gate *find_gate_by_id(int id); -- cgit v1.2.3