X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e5f9e15b59fc1ade287321c796ec7c4b9aa27600..2686d511ecfa9bdd0693fc3e1c8320e52188beb4:/Constructor/item.h?ds=sidebyside diff --git a/Constructor/item.h b/Constructor/item.h index 01b8f87..900e335 100644 --- a/Constructor/item.h +++ b/Constructor/item.h @@ -1,21 +1,29 @@ - - #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H #define GTKMM_EXAMPLE_DRAWINGAREALINES_H +#include #include +#include +#include #include +#include +#include "propertywnd.h" -//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_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_delete, menu_image_rotar; Glib::RefPtr image; + PropertyWnd *property_wnd; }; -#endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H +#endif