X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/fe35ed0badc6a1a01237027effb74b82acbdb9e5..6fcc8fcf6b98f413f813904fe0f078d2782fb9d5:/Constructor/include/and.h?ds=inline diff --git a/Constructor/include/and.h b/Constructor/include/and.h index 754a534..a71b536 100644 --- a/Constructor/include/and.h +++ b/Constructor/include/and.h @@ -5,7 +5,7 @@ class And : public CItem { public: - And(); + And(int orientacion=0); virtual ~And(); virtual bool on_button_press_event(GdkEventButton *event); virtual void on_menu_popup_rotar(); @@ -15,7 +15,9 @@ class And : public CItem { virtual void update_logic_position(); virtual void get_in_logic_connect_position(int& _a, int& _b); virtual void get_out_logic_connect_position(int& _a, int& _b); + virtual bool get_out_logic_connect(); virtual void set_out_connected(bool _o); + virtual void draw_connectors(); private: int in_x, in_y, out_x, out_y; bool out_connected;