X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/07b9abd79bb3f097d8bf67d217d077a7da4b1e46..b0a202776ab7634c206b495b42e20cfe6492e035:/Constructor/pump.h diff --git a/Constructor/pump.h b/Constructor/pump.h index 17a4748..cdf8bba 100644 --- a/Constructor/pump.h +++ b/Constructor/pump.h @@ -14,15 +14,19 @@ class Pump : public CItem { virtual void on_menu_popup_rotar(); virtual void on_menu_popup_propiedades(); void set_entrega(double _cap); + void set_liquid_color(Gdk::Color _color); double get_entrega(); + Gdk::Color get_liquid_color(); virtual void save(FILE *archivo); virtual bool check_connection(); - virtual bool is_connection_area(int _a, int _b); + virtual void set_default_connector(); + virtual ConnectorType get_connector_type(int _a, int _b); protected: double entrega; Glib::RefPtr imageE; // 0 Glib::RefPtr imageO; // 1 Glib::RefPtr null; + Gdk::Color liquid_color; PumpPtyWnd *pump_pty_wnd; }; #endif