author | ladanyi |
Thu, 26 May 2005 13:21:47 +0000 | |
changeset 1437 | 2a3f3448ced1 |
parent 1412 | c7fab5a1174a |
child 1440 | 3d2e3cfb2a6c |
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