gui/map_win.h
changeset 1876 5ad84ad1b68f
parent 1838 b61682f0ee96
child 1882 2c3f6c7e01b4
equal deleted inserted replaced
13:8dab9add9308 14:83d18f516990
     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