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 bool get_open() { return open; }
20 inline void set_actual_flow(float f) { actual_flow = f; }
21 inline void set_open(bool b) { open = b; }
22 inline void set_extra(float f) { extra = f; }
23 inline void set_color(const Gdk::Color &c) { color = c; }
24 inline Gdk::Color get_color() { return color; }
26 std::string get_actual_flow();
27 virtual std::string get_cap_flow() { return "Flujo Actual :"; }
28 virtual std::string get_cap_extra() { return ""; }
29 virtual std::string get_extra() { return ""; }
35 float actual_flow, extra;