X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7f099f6374e9606735fb9766b51b5e86d83de815..43fc1b3f57852f2af098fa7411e83220015aaa6f:/Constructor/pump.h diff --git a/Constructor/pump.h b/Constructor/pump.h index 6c47b1a..0fd2d07 100644 --- a/Constructor/pump.h +++ b/Constructor/pump.h @@ -14,14 +14,18 @@ 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); protected: double entrega; Glib::RefPtr imageE; // 0 Glib::RefPtr imageO; // 1 Glib::RefPtr null; + Gdk::Color liquid_color; PumpPtyWnd *pump_pty_wnd; }; #endif