1 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
2 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
5 #include <gtkmm/drawingarea.h>
6 #include <gtkmm/stock.h>
9 #include <libglademm.h>
10 #include "propertywnd.h"
12 class CItem:public Gtk::DrawingArea {
15 CItem(const char *filename);
17 virtual bool on_expose_event(GdkEventExpose* event);
18 virtual void on_menu_popup_propiedades();
19 virtual void on_menu_popup_rotar();
20 virtual void on_menu_popup_eliminar();
21 Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
24 Gtk::Image menu_image_delete, menu_image_rotar;
25 Glib::RefPtr<Gdk::Pixbuf> image;
26 PropertyWnd *property_wnd;