X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e5f9e15b59fc1ade287321c796ec7c4b9aa27600..29987afb9486f382802e6f607ce24dcd558ab7dc:/Constructor/item.h?ds=sidebyside diff --git a/Constructor/item.h b/Constructor/item.h index 01b8f87..5aef5c6 100644 --- a/Constructor/item.h +++ b/Constructor/item.h @@ -4,18 +4,24 @@ #define GTKMM_EXAMPLE_DRAWINGAREALINES_H #include +#include +#include #include -//Custom drawing area with modified expose_event. class CItem:public Gtk::DrawingArea { public: CItem(); CItem(const char *filename); ~CItem(); virtual bool on_expose_event(GdkEventExpose* event); + virtual void on_menu_popup_opcion(); + virtual void on_menu_popup_rotar(); + virtual void on_menu_popup_eliminar(); Glib::RefPtr get_image() { return image; } protected: + Gtk::Menu menu_popup; + Gtk::Image menu_image; Glib::RefPtr image; }; -#endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H +#endif