X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a2ca4e29e49cdb77f86db1de08f7421483e4adbb..235ee3a1e830ab839163ad2585c11d760bcd841c:/Constructor/item.h?ds=sidebyside diff --git a/Constructor/item.h b/Constructor/item.h index 0b51b30..7a4bd31 100644 --- a/Constructor/item.h +++ b/Constructor/item.h @@ -1,12 +1,14 @@ - - #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H #define GTKMM_EXAMPLE_DRAWINGAREALINES_H +#include #include +#include #include #include #include +#include +#include "propertywnd.h" class CItem:public Gtk::DrawingArea { @@ -15,12 +17,15 @@ public: CItem(const char *filename); ~CItem(); virtual bool on_expose_event(GdkEventExpose* event); - virtual void on_menu_popup_generic(); + virtual void on_menu_popup_propiedades(); + 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; + Gtk::Image menu_image_delete, menu_image_rotar, menu_image_propiedades; Glib::RefPtr image; + PropertyWnd *property_wnd; }; #endif