X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/4ac79a1d1914c71cd3d15853f4b15f5646885412..6983220ff84632481c1628720fe15b8f3ac1c9cb:/Constructor/cisternptywnd.h?ds=inline diff --git a/Constructor/cisternptywnd.h b/Constructor/cisternptywnd.h index 2429af4..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 CisternPtyWnd : public PropertyWnd{ - public: - CisternPtyWnd(); +class Cistern; + +class CisternPtyWnd : public PropertyWnd { + public: + CisternPtyWnd(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~CisternPtyWnd(); - protected: - - + 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