1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/main_win.h Wed May 11 16:55:18 2005 +0000
1.3 @@ -0,0 +1,44 @@
1.4 +// -*- C++ -*- //
1.5 +
1.6 +#ifndef MAIN_WIN_H
1.7 +#define MAIN_WIN_H
1.8 +
1.9 +#include <all_include.h>
1.10 +#include <mapstorage.h>
1.11 +#include <map_win.h>
1.12 +#include <libgnomecanvasmm.h>
1.13 +#include <libgnomecanvasmm/polygon.h>
1.14 +
1.15 +class MainWin : public Gtk::Window
1.16 +{
1.17 +public:
1.18 + MainWin(const std::string& title, Graph &, CoordinatesMap &, MapStorage &);
1.19 +
1.20 +protected:
1.21 + //Window of map-showing setup
1.22 + MapWin mapwin;
1.23 +
1.24 + //Member widgets:
1.25 + GraphDisplayerCanvas gd_canvas;
1.26 +
1.27 + //ActionGroup for menu
1.28 + Glib::RefPtr<Gtk::ActionGroup> ag;
1.29 +
1.30 + //UIManager for menu
1.31 + Glib::RefPtr<Gtk::UIManager> uim;
1.32 +
1.33 + //Container
1.34 + Gtk::VBox vbox;
1.35 +
1.36 + //Pops up map-setup window
1.37 + virtual void showMaps();
1.38 +
1.39 + //Exit
1.40 + virtual void quit();
1.41 +
1.42 + //Refit screen
1.43 + virtual void rezoom();
1.44 +
1.45 +};
1.46 +
1.47 +#endif //MAIN_WIN_H