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();
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;
std::vector<t_logic_connector> vec_connector;
Glib::RefPtr<Gdk::Pixbuf> imageN; // 0
Glib::RefPtr<Gdk::Pixbuf> imageS; // 1