]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Client/include/item.h
Se implementa una señal entre Thread con Glib::Dispatch .. no se si soluciona el...
[z.facultad/75.42/plaqui.git] / Client / include / item.h
index 341039dedc4c8b32ae1192e7db083d5b4b9a7567..c77df412cfcae4e1430466547bba192363e1cdb1 100644 (file)
@@ -8,18 +8,19 @@
 #include <libglademm.h>
 #include <gtkmm/entry.h>
 
-class Item:public Gtk::DrawingArea {
+class ViewItem:public Gtk::EventBox {
 public:
-       Item(Glib::ustring _name);
-       virtual ~Item();
-       virtual bool on_expose_event(GdkEventExpose* event);
+       ViewItem(Glib::ustring _name);
+       virtual ~ViewItem();
+//     virtual bool on_expose_event(GdkEventExpose* event);
        Glib::ustring get_name();
        void set_position(int _x, int _y);
        void set_name(Glib::ustring _name);
 protected:
        Glib::ustring name;
-       Glib::RefPtr<Gdk::Pixbuf> image;
+       Gtk::Image image;
        int x, y;
 };
 
 #endif
+