-//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<Gnome::Glade::Xml>& 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