X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/235ee3a1e830ab839163ad2585c11d760bcd841c..b0a202776ab7634c206b495b42e20cfe6492e035:/Constructor/cisternptywnd.h?ds=sidebyside diff --git a/Constructor/cisternptywnd.h b/Constructor/cisternptywnd.h index e910ac7..276e889 100644 --- a/Constructor/cisternptywnd.h +++ b/Constructor/cisternptywnd.h @@ -1,17 +1,25 @@ -//cisternptywnd.h #ifndef _CISTERNPTYWND_H_ #define _CISTERNPTYWND_H_ #include "propertywnd.h" +class Cistern; + class CisternPtyWnd : public PropertyWnd { - public: + public: CisternPtyWnd(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~CisternPtyWnd(); - //protected: - Gtk::SpinButton *spin_caudal, *spin_fluido_max; + Cistern *cistern; + Gtk::SpinButton *spin_inicial, *spin_capacidad; + Gtk::Button *btn_select_color, *dlg_select_color_ok, *dlg_select_color_cancel; + Gtk::Entry *txt_cistern_name; + Gtk::ColorSelectionDialog *color_select_dlg; + Gtk::DrawingArea *color_preview; virtual void on_btn_accept_clicked(); + virtual void on_btn_apply_clicked(); + virtual void on_btn_select_color_clicked(); + virtual void on_dlg_select_color_cancel_clicked(); + virtual void on_dlg_select_color_ok_clicked(); }; - #endif