X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/fe35ed0badc6a1a01237027effb74b82acbdb9e5..3314f9284024c7bb9e618f310ca467a93990922d:/Constructor/include/not.h diff --git a/Constructor/include/not.h b/Constructor/include/not.h index 77c086e..02b2bb4 100644 --- a/Constructor/include/not.h +++ b/Constructor/include/not.h @@ -5,7 +5,7 @@ class Not : public CItem { public: - Not(); + Not(int orientacion=0); virtual ~Not(); virtual bool on_button_press_event(GdkEventButton *event); virtual void on_menu_popup_rotar(); @@ -17,6 +17,8 @@ class Not : public CItem { virtual void get_out_logic_connect_position(int& _a, int& _b); virtual void set_out_connected(bool _o); virtual void set_in_connected(bool _o); + virtual bool get_out_logic_connect(); + virtual void draw_connectors(); private: int in_x, in_y, out_x, out_y; bool in_connected, out_connected;