map_win.h
branchgui
changeset 96 e664d8aa3f72
parent 95 628c0b383d2f
child 112 3689cb170d3e
equal deleted inserted replaced
13:ea000615e6e0 14:14c7d7326592
     4 #define MAP_WIN_H
     4 #define MAP_WIN_H
     5 
     5 
     6 class MapWin;
     6 class MapWin;
     7 
     7 
     8 #include <all_include.h>
     8 #include <all_include.h>
     9 #include <main_win.h>
     9 #include <nbtab.h>
    10 #include <libgnomecanvasmm.h>
    10 #include <libgnomecanvasmm.h>
    11 #include <libgnomecanvasmm/polygon.h>
    11 #include <libgnomecanvasmm/polygon.h>
    12 
    12 
    13 ///This class is responsible for creating a window,
    13 ///This class is responsible for creating a window,
    14 ///on which the visualization attributes can be
    14 ///on which the visualization attributes can be
    63   };
    63   };
    64 
    64 
    65 
    65 
    66 
    66 
    67 protected:
    67 protected:
    68   MainWin & mainwin;
    68   NoteBookTab & mytab;
    69 
    69 
    70   Gtk::Table * table;
    70   Gtk::Table * table;
    71   
    71   
    72   MapSelector ** e_combo_array, ** n_combo_array;
    72   MapSelector ** e_combo_array, ** n_combo_array;
    73 
    73 
    75 
    75 
    76   Gtk::VBox vbox;
    76   Gtk::VBox vbox;
    77 
    77 
    78 public:
    78 public:
    79   ///Constructor of MapWin creates the widgets shown in MapWin.
    79   ///Constructor of MapWin creates the widgets shown in MapWin.
    80   MapWin(const std::string& title, std::vector<std::string>, std::vector<std::string>, MainWin & mw);
    80   MapWin(const std::string& title, std::vector<std::string>, std::vector<std::string>, NoteBookTab & mw);
    81 
    81 
    82   ~MapWin();
    82   ~MapWin();
    83 
    83 
    84   virtual bool on_delete_event(GdkEventAny *);
    84   virtual bool on_delete_event(GdkEventAny *);
    85 
    85