X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..2bfad376fbc5a10a08ee8f18267234126d34e0bc:/Client/include/item.h?ds=sidebyside diff --git a/Client/include/item.h b/Client/include/item.h index c77df41..fca3b79 100644 --- a/Client/include/item.h +++ b/Client/include/item.h @@ -16,10 +16,21 @@ public: Glib::ustring get_name(); void set_position(int _x, int _y); void set_name(Glib::ustring _name); + void set_actual_flow(float f) { actual_flow = f; } + void set_open(bool b) { open = b; } + void set_extra(float f) { extra = f; } + + + std::string get_actual_flow(); + virtual std::string get_cap_flow() { return "Flujo Actual :"; } + virtual std::string get_cap_extra() { return ""; } + virtual std::string get_extra() { return ""; } protected: Glib::ustring name; Gtk::Image image; int x, y; + float actual_flow, extra; + bool open; }; #endif