design_win.h
changeset 172 fc1e478697d3
parent 161 aef1fbfd9d60
child 174 95872af46fc4
     1.1 --- a/design_win.h	Tue Oct 24 07:31:31 2006 +0000
     1.2 +++ b/design_win.h	Wed Oct 25 13:21:24 2006 +0000
     1.3 @@ -3,13 +3,19 @@
     1.4  #ifndef DESWIN_H
     1.5  #define DESWIN_H
     1.6  
     1.7 +class DesignWin;
     1.8 +
     1.9  #include <all_include.h>
    1.10 +#include <nbtab.h>
    1.11  #include <libgnomecanvasmm.h>
    1.12  #include <libgnomecanvasmm/polygon.h>
    1.13  
    1.14  class DesignWin : public Gtk::Window
    1.15  {
    1.16  private:
    1.17 +  ///\ref NoteBookTab to that the \ref MapWin belongs to.
    1.18 +  NoteBookTab & mytab;
    1.19 +
    1.20    Gtk::SpinButton * attraction;
    1.21    Gtk::SpinButton * propulsation;
    1.22    Gtk::SpinButton * iteration;
    1.23 @@ -33,11 +39,13 @@
    1.24    ///Constructor
    1.25  
    1.26    ///It builds the window.
    1.27 -  DesignWin(const std::string&, double, double, int);
    1.28 +  DesignWin(const std::string&, double, double, int, NoteBookTab & mw);
    1.29  
    1.30    sigc::signal<void, double> signal_attraction(){return signal_attraction_ch;};
    1.31    sigc::signal<void, double> signal_propulsation(){return signal_propulsation_ch;};
    1.32    sigc::signal<void, int> signal_iteration(){return signal_iteration_ch;};
    1.33    sigc::signal<void> close_run(){return close_run_pr;};
    1.34 +
    1.35 +  void set_title(std::string);
    1.36  };
    1.37  #endif //DESWIN_H