6 class Not : public CItem {
8 Not(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 set_in_connected(bool _o);
20 virtual bool get_out_logic_connect();
21 virtual void draw_connectors();
23 int in_x, in_y, out_x, out_y;
24 bool in_connected, out_connected;
25 std::vector<t_logic_connector> vec_connector;
26 Glib::RefPtr<Gdk::Pixbuf> imageN; // 0
27 Glib::RefPtr<Gdk::Pixbuf> imageS; // 1
28 Glib::RefPtr<Gdk::Pixbuf> imageE; // 2
29 Glib::RefPtr<Gdk::Pixbuf> imageO; // 3
30 Glib::RefPtr<Gdk::Pixbuf> null;