COIN-OR::LEMON - Graph Library

source: lemon-0.x/gui/main_win.h @ 1435:8e85e6bbefdf

Last change on this file since 1435:8e85e6bbefdf was 1435:8e85e6bbefdf, checked in by Akos Ladanyi, 19 years ago

trunk/src/* move to trunk/

File size: 794 bytes
RevLine 
[1412]1// -*- C++ -*- //
2
3#ifndef MAIN_WIN_H
4#define MAIN_WIN_H
5
6#include <all_include.h>
7#include <mapstorage.h>
8#include <map_win.h>
9#include <libgnomecanvasmm.h>
10#include <libgnomecanvasmm/polygon.h>
11
12class MainWin : public Gtk::Window
13{
14public:
15  MainWin(const std::string& title, Graph &, CoordinatesMap &, MapStorage &);
16
17protected:
18  //Window of map-showing setup
19  MapWin mapwin;
20
21  //Member widgets:
22  GraphDisplayerCanvas gd_canvas;
23
24  //ActionGroup for menu
25  Glib::RefPtr<Gtk::ActionGroup> ag;
26
27  //UIManager for menu
28  Glib::RefPtr<Gtk::UIManager> uim;
29
30  //Container
31  Gtk::VBox vbox;
32
33  //Pops up map-setup window
34  virtual void showMaps();
35
36  //Exit
37  virtual void quit();
38
39  //Refit screen
40  virtual void rezoom();
41
42};
43
44#endif //MAIN_WIN_H
Note: See TracBrowser for help on using the repository browser.