]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/include/item.h
dd845d48099f689b52215e3d0d2fa6b937aa488d
[z.facultad/75.42/plaqui.git] / Client / include / item.h
1 #ifndef _ITEM_H_
2 #define _ITEM_H_
3
4 #include <iostream>
5 #include <gtkmm/drawingarea.h>
6 #include <gtkmm.h>
7 #include <gdkmm.h>
8 #include <libglademm.h>
9 #include <gtkmm/entry.h>
10
11 class ViewItem:public Gtk::EventBox {
12 public:
13         ViewItem(Glib::ustring _name);
14         virtual ~ViewItem();
15 //      virtual bool on_expose_event(GdkEventExpose* event);
16         Glib::ustring get_name();
17         void set_position(int _x, int _y);
18         void set_name(Glib::ustring _name);
19         void set_actual_flow(float f) { actual_flow = f; }
20         std::string get_actual_flow();
21 protected:
22         Glib::ustring name;
23         Gtk::Image image;
24         int x, y;
25         float actual_flow;
26 };
27
28 #endif
29