COIN-OR::LEMON - Graph Library

source: glemon-0.x/map_win.h @ 121:637c12cbd64c

gui
Last change on this file since 121:637c12cbd64c was 121:637c12cbd64c, checked in by Hegyi Péter, 18 years ago

Documentation of NoteBookTab?. Redundant function parameters are removed from other classes as well.

File size: 1.2 KB
RevLine 
[6]1// -*- C++ -*- //
2
3#ifndef MAP_WIN_H
4#define MAP_WIN_H
5
[28]6class MapWin;
7
[94]8#include <all_include.h>
[96]9#include <nbtab.h>
[112]10#include <mapselector.h>
[6]11#include <libgnomecanvasmm.h>
12#include <libgnomecanvasmm/polygon.h>
13
14///This class is responsible for creating a window,
15///on which the visualization attributes can be
16///assigned to maps.
17class MapWin : public Gtk::Window
18{
19protected:
[96]20  NoteBookTab & mytab;
[6]21
[28]22  Gtk::Table * table;
[6]23 
[81]24  MapSelector ** e_combo_array, ** n_combo_array;
[6]25
[8]26  Gtk::Label * label;
[6]27
[28]28  Gtk::VBox vbox;
29
[6]30public:
31  ///Constructor of MapWin creates the widgets shown in MapWin.
[96]32  MapWin(const std::string& title, std::vector<std::string>, std::vector<std::string>, NoteBookTab & mw);
[6]33
[95]34  ~MapWin();
35
36  virtual bool on_delete_event(GdkEventAny *);
37
[94]38  void nodeMapChanged(std::string, int);
[28]39
[94]40  void edgeMapChanged(std::string, int);
41
[121]42  void newMapWinNeeded(bool);
[28]43
[38]44  ///This function inserts name of the new edgemap in the list in the combo box
45  void registerNewEdgeMap(std::string);
46
47  ///This function inserts name of the new nodemap in the list in the combo box
48  void registerNewNodeMap(std::string);
49
[30]50  virtual bool closeIfEscapeIsPressed(GdkEventKey*);
[38]51
[94]52  void update(std::vector<std::string>, std::vector<std::string>);
[6]53};
54
55#endif //MAP_WIN_H
Note: See TracBrowser for help on using the repository browser.