X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/07b9abd79bb3f097d8bf67d217d077a7da4b1e46..4675818d2893c57a409498cd39dba6f9c18b6fe9:/Constructor/pump.h?ds=inline 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