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 bool get_out_logic_connect();
19 virtual void set_out_connected(bool _o);
20 virtual void draw_connectors();
22 int in_x, in_y, out_x, out_y;
24 std::vector<t_logic_connector> vec_connector;
25 Glib::RefPtr<Gdk::Pixbuf> imageN; // 0
26 Glib::RefPtr<Gdk::Pixbuf> imageS; // 1
27 Glib::RefPtr<Gdk::Pixbuf> imageE; // 2
28 Glib::RefPtr<Gdk::Pixbuf> imageO; // 3
29 Glib::RefPtr<Gdk::Pixbuf> null;