-
-
#ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
#define GTKMM_EXAMPLE_DRAWINGAREALINES_H
+#include <iostream>
#include <gtkmm/drawingarea.h>
+#include <gtkmm/spinbutton.h>
#include <gtkmm/stock.h>
#include <gtkmm.h>
#include <gdkmm.h>
+#include <libglademm.h>
+#include "propertywnd.h"
class CItem:public Gtk::DrawingArea {
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<Gdk::Pixbuf> 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<Gdk::Pixbuf> image;
+ PropertyWnd *property_wnd;
};
#endif