]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/item.h
Corregido el typo reportado por ricky.
[z.facultad/75.42/plaqui.git] / Constructor / item.h
index 01b8f87eb6f1808ab13174a704eb3f52a44cf972..900e335271b89298efa9d1db7c775f9745878759 100644 (file)
@@ -1,21 +1,29 @@
-
-
 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
 
 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
 
+#include <iostream>
 #include <gtkmm/drawingarea.h>
 #include <gtkmm/drawingarea.h>
+#include <gtkmm/stock.h>
+#include <gtkmm.h>
 #include <gdkmm.h>
 #include <gdkmm.h>
+#include <libglademm.h>
+#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);
 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<Gdk::Pixbuf> get_image() { return image; }
 protected:
        Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
 protected:
+       Gtk::Menu menu_popup;
+       Gtk::Image menu_image_delete, menu_image_rotar;
        Glib::RefPtr<Gdk::Pixbuf> image;
        Glib::RefPtr<Gdk::Pixbuf> image;
+       PropertyWnd *property_wnd;
 };
 
 };
 
-#endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H
+#endif