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);
16 inline Glib::ustring get_name() { return name; }
17 void set_position(int _x, int _y);
18 void set_name(Glib::ustring _name);
19 inline void set_actual_flow(float f) { actual_flow = f; }
20 inline void set_open(bool b) { open = b; }
21 inline void set_extra(float f) { extra = f; }
22 inline void set_color(const Gdk::Color &c) { color = c; }
23 inline Gdk::Color get_color() { return color; }
25 std::string get_actual_flow();
26 virtual std::string get_cap_flow() { return "Flujo Actual :"; }
27 virtual std::string get_cap_extra() { return ""; }
28 virtual std::string get_extra() { return ""; }
34 float actual_flow, extra;