diff -r d8475431bbbb -r 8e85e6bbefdf gui/main_win.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui/main_win.h Mon May 23 04:48:14 2005 +0000 @@ -0,0 +1,44 @@ +// -*- C++ -*- // + +#ifndef MAIN_WIN_H +#define MAIN_WIN_H + +#include +#include +#include +#include +#include + +class MainWin : public Gtk::Window +{ +public: + MainWin(const std::string& title, Graph &, CoordinatesMap &, MapStorage &); + +protected: + //Window of map-showing setup + MapWin mapwin; + + //Member widgets: + GraphDisplayerCanvas gd_canvas; + + //ActionGroup for menu + Glib::RefPtr ag; + + //UIManager for menu + Glib::RefPtr uim; + + //Container + Gtk::VBox vbox; + + //Pops up map-setup window + virtual void showMaps(); + + //Exit + virtual void quit(); + + //Refit screen + virtual void rezoom(); + +}; + +#endif //MAIN_WIN_H