X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a2567db67c5d678c5e71bfadc555f8319ee835a8..4341c033f13578b5b3aeb3e08e20d3889cb2d7c7:/Client/include/item.h diff --git a/Client/include/item.h b/Client/include/item.h index 02e62b9..d44f403 100644 --- a/Client/include/item.h +++ b/Client/include/item.h @@ -2,6 +2,7 @@ #define _ITEM_H_ #include +#include #include #include #include @@ -29,12 +30,22 @@ public: virtual std::string get_cap_flow() { return "Flujo Actual :"; } virtual std::string get_cap_extra() { return ""; } virtual std::string get_extra() { return ""; } + + std::list out_lines; // lineas que salen de una compuerta + std::list in_lines; // lineas que entran a una compuerta + + // Coordenadas para los conectores + int x,y; + int in_x, in_y; + int out_x, out_y; + int offset_x, offset_y; + int item_offset_x, item_offset_y; protected: Glib::ustring name; Gtk::Image image; Gdk::Color color; Glib::RefPtr gc; - int x, y, m_or; + int m_or; float actual_flow, extra; bool open; };