X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/57ae549a3b51ba148315ff4e64da089203cc7c02..f1f01b21410b676a9c35c93251d5739bb65c711d:/Constructor/include/or.h?ds=inline diff --git a/Constructor/include/or.h b/Constructor/include/or.h index c1844f1..9a22b3e 100644 --- a/Constructor/include/or.h +++ b/Constructor/include/or.h @@ -5,7 +5,7 @@ class Or : public CItem { public: - Or(); + Or(int orientacion=0); virtual ~Or(); virtual bool on_button_press_event(GdkEventButton *event); virtual void on_menu_popup_rotar(); @@ -15,8 +15,10 @@ class Or : 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 void set_out_connected(bool _o); private: int in_x, in_y, out_x, out_y; + bool out_connected; std::vector vec_connector; Glib::RefPtr imageN; // 0 Glib::RefPtr imageS; // 1