1.1 --- a/map_win.h Wed Jun 01 23:30:13 2005 +0000
1.2 +++ b/map_win.h Wed Jun 01 23:33:26 2005 +0000
1.3 @@ -1,49 +1,49 @@
1.4 -// -*- C++ -*- //
1.5 -
1.6 -#ifndef MAP_WIN_H
1.7 -#define MAP_WIN_H
1.8 -
1.9 -#include <all_include.h>
1.10 -#include <mapstorage.h>
1.11 -#include <graph_displayer_canvas.h>
1.12 -#include <libgnomecanvasmm.h>
1.13 -#include <libgnomecanvasmm/polygon.h>
1.14 -
1.15 -///This class is responsible for creating a window,
1.16 -///on which the visualization attributes can be
1.17 -///assigned to maps.
1.18 -class MapWin : public Gtk::Window
1.19 -{
1.20 -protected:
1.21 - ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
1.22 - ///It has to be known for this class, because
1.23 - ///when a map assigned to a certain attribute
1.24 - ///a function of the \ref GraphDisplayerCanvas will be called.
1.25 - GraphDisplayerCanvas & gdc;
1.26 -
1.27 - ///The \ref MapStorage in which the visualizable maps are stored
1.28 - MapStorage & ms;
1.29 -
1.30 -
1.31 - Gtk::HBox * radios;
1.32 - Gtk::RadioButton ** rb_array;
1.33 -
1.34 - Gtk::VBox vbox_b, * vbox_r1, * vbox_r2;
1.35 -
1.36 - ///The notebook has different pages for each attribute.
1.37 - Gtk::Notebook notebook;
1.38 -
1.39 - Gtk::Label * labels;
1.40 -
1.41 -public:
1.42 - ///Constructor of MapWin creates the widgets shown in MapWin.
1.43 - MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &);
1.44 -
1.45 - ///If a radiobutton is clicked, this function determines
1.46 - ///which button was that and after that calls the
1.47 - ///appropriate function of the \ref GraphDisplayerCanvas
1.48 - ///to change the visible values of that attribute.
1.49 - virtual void radio_click(int, int);
1.50 -};
1.51 -
1.52 -#endif //MAP_WIN_H
1.53 +// -*- C++ -*- //
1.54 +
1.55 +#ifndef MAP_WIN_H
1.56 +#define MAP_WIN_H
1.57 +
1.58 +#include <all_include.h>
1.59 +#include <mapstorage.h>
1.60 +#include <graph_displayer_canvas.h>
1.61 +#include <libgnomecanvasmm.h>
1.62 +#include <libgnomecanvasmm/polygon.h>
1.63 +
1.64 +///This class is responsible for creating a window,
1.65 +///on which the visualization attributes can be
1.66 +///assigned to maps.
1.67 +class MapWin : public Gtk::Window
1.68 +{
1.69 +protected:
1.70 + ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
1.71 + ///It has to be known for this class, because
1.72 + ///when a map assigned to a certain attribute
1.73 + ///a function of the \ref GraphDisplayerCanvas will be called.
1.74 + GraphDisplayerCanvas & gdc;
1.75 +
1.76 + ///The \ref MapStorage in which the visualizable maps are stored
1.77 + MapStorage & ms;
1.78 +
1.79 +
1.80 + Gtk::HBox * radios;
1.81 + Gtk::RadioButton ** rb_array;
1.82 +
1.83 + Gtk::VBox vbox_b, * vbox_r1, * vbox_r2;
1.84 +
1.85 + ///The notebook has different pages for each attribute.
1.86 + Gtk::Notebook notebook;
1.87 +
1.88 + Gtk::Label * labels;
1.89 +
1.90 +public:
1.91 + ///Constructor of MapWin creates the widgets shown in MapWin.
1.92 + MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &);
1.93 +
1.94 + ///If a radiobutton is clicked, this function determines
1.95 + ///which button was that and after that calls the
1.96 + ///appropriate function of the \ref GraphDisplayerCanvas
1.97 + ///to change the visible values of that attribute.
1.98 + virtual void radio_click(int, int);
1.99 +};
1.100 +
1.101 +#endif //MAP_WIN_H