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