5 #include <gtkmm/drawingarea.h>
8 #include <libglademm.h>
9 #include <gtkmm/entry.h>
11 class ViewItem:public Gtk::EventBox {
13 ViewItem(Glib::ustring _name);
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 void set_open(bool b) { open = b; }
21 void set_extra(float f) { extra = f; }
24 std::string get_actual_flow();
25 virtual std::string get_cap_flow() { return "Flujo Actual :"; }
26 virtual std::string get_cap_extra() { return ""; }
27 virtual std::string get_extra() { return ""; }
32 float actual_flow, extra;