X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/cc77948bedbd851e009ad3b8a421dea93c3ceeff..20f30a0ae955fb71428ab382aeaf025a5f93b7e1:/Constructor/src/not.cpp diff --git a/Constructor/src/not.cpp b/Constructor/src/not.cpp index 679f9df..2be71fe 100644 --- a/Constructor/src/not.cpp +++ b/Constructor/src/not.cpp @@ -51,7 +51,6 @@ Not::~Not() bool Not::on_button_press_event(GdkEventButton *event) { - if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 1)) { WorkPlace::pointed = ID; t_line tmp_line; @@ -304,6 +303,11 @@ bool Not::get_out_logic_connect() return out_connected; } +bool Not::get_in_logic_connect() +{ + return in_connected; +} + void Not::draw_connectors() { Glib::RefPtr window = get_window();