src/gui/map_win.h
author deba
Sat, 14 May 2005 17:34:31 +0000
changeset 1419 c3244a26adb1
permissions -rw-r--r--
Added backward and forward map.
Converting UndirEdge -> Edge
ladanyi@1412
     1
// -*- C++ -*- //
ladanyi@1412
     2
ladanyi@1412
     3
#ifndef MAP_WIN_H
ladanyi@1412
     4
#define MAP_WIN_H
ladanyi@1412
     5
ladanyi@1412
     6
#include <all_include.h>
ladanyi@1412
     7
#include <mapstorage.h>
ladanyi@1412
     8
#include <graph_displayer_canvas.h>
ladanyi@1412
     9
#include <libgnomecanvasmm.h>
ladanyi@1412
    10
#include <libgnomecanvasmm/polygon.h>
ladanyi@1412
    11
ladanyi@1412
    12
class MapWin : public Gtk::Window
ladanyi@1412
    13
{
ladanyi@1412
    14
protected:
ladanyi@1412
    15
  GraphDisplayerCanvas & gdc;
ladanyi@1412
    16
  MapStorage & ms;
ladanyi@1412
    17
ladanyi@1412
    18
  Gtk::HBox * radios;
ladanyi@1412
    19
  Gtk::RadioButton ** rb_array;
ladanyi@1412
    20
ladanyi@1412
    21
  Gtk::VBox vbox_b, * vbox_r1, * vbox_r2;
ladanyi@1412
    22
  Gtk::Notebook notebook;
ladanyi@1412
    23
  Gtk::Label * labels;
ladanyi@1412
    24
ladanyi@1412
    25
public:
ladanyi@1412
    26
  MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &);
ladanyi@1412
    27
  virtual void radio_click(int, int);
ladanyi@1412
    28
};
ladanyi@1412
    29
ladanyi@1412
    30
#endif //MAP_WIN_H