]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/not.cpp
se arregla el bug de la NOT
[z.facultad/75.42/plaqui.git] / Constructor / src / not.cpp
index 679f9dfaeef640bc5132212819da083fc6670779..2be71fec1026fb81bd6b6e865a7fd72869edfe20 100644 (file)
@@ -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<Gdk::Window> window = get_window();