6 class And : public CItem {
8 And(int orientacion=0);
10 virtual bool on_button_press_event(GdkEventButton *event);
11 virtual void on_menu_popup_rotar();
12 virtual void save(FILE *archivo);
13 virtual bool check_connection();
14 virtual ConnectorType detect_click_position(int _a, int _b);
15 virtual void update_logic_position();
16 virtual void get_in_logic_connect_position(int& _a, int& _b);
17 virtual void get_out_logic_connect_position(int& _a, int& _b);
18 virtual void set_out_connected(bool _o);
20 int in_x, in_y, out_x, out_y;
22 std::vector<t_logic_connector> vec_connector;
23 Glib::RefPtr<Gdk::Pixbuf> imageN; // 0
24 Glib::RefPtr<Gdk::Pixbuf> imageS; // 1
25 Glib::RefPtr<Gdk::Pixbuf> imageE; // 2
26 Glib::RefPtr<Gdk::Pixbuf> imageO; // 3
27 Glib::RefPtr<Gdk::Pixbuf> null;