author | deba |
Sat, 14 May 2005 17:26:56 +0000 | |
changeset 1416 | 1b481ced25e7 |
permissions | -rw-r--r-- |
1 // -*- C++ -*- //
3 #ifndef MAIN_WIN_H
4 #define MAIN_WIN_H
6 #include <all_include.h>
7 #include <mapstorage.h>
8 #include <map_win.h>
9 #include <libgnomecanvasmm.h>
10 #include <libgnomecanvasmm/polygon.h>
12 class MainWin : public Gtk::Window
13 {
14 public:
15 MainWin(const std::string& title, Graph &, CoordinatesMap &, MapStorage &);
17 protected:
18 //Window of map-showing setup
19 MapWin mapwin;
21 //Member widgets:
22 GraphDisplayerCanvas gd_canvas;
24 //ActionGroup for menu
25 Glib::RefPtr<Gtk::ActionGroup> ag;
27 //UIManager for menu
28 Glib::RefPtr<Gtk::UIManager> uim;
30 //Container
31 Gtk::VBox vbox;
33 //Pops up map-setup window
34 virtual void showMaps();
36 //Exit
37 virtual void quit();
39 //Refit screen
40 virtual void rezoom();
42 };
44 #endif //MAIN_WIN_H