COIN-OR::LEMON - Graph Library

Changeset 1440:3d2e3cfb2a6c in lemon-0.x for gui/map_win.h


Ignore:
Timestamp:
05/27/05 12:34:20 (19 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1915
Message:

Small documentation is added to GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/map_win.h

    r1435 r1440  
    1010#include <libgnomecanvasmm/polygon.h>
    1111
     12///This class is responsible for creating a window,
     13///on which the visualization attributes can be
     14///assigned to maps.
    1215class MapWin : public Gtk::Window
    1316{
    1417protected:
     18  ///The \ref GraphDisplayerCanvas on which the graph will be drawn.
     19  ///It has to be known for this class, because
     20  ///when a map assigned to a certain attribute
     21  ///a function of the \ref GraphDisplayerCanvas will be called.
    1522  GraphDisplayerCanvas & gdc;
     23
     24  ///The \ref MapStorage in which the visualizable maps are stored
    1625  MapStorage & ms;
    1726
     27 
    1828  Gtk::HBox * radios;
    1929  Gtk::RadioButton ** rb_array;
    2030
    2131  Gtk::VBox vbox_b, * vbox_r1, * vbox_r2;
     32
     33  ///The notebook has different pages for each attribute.
    2234  Gtk::Notebook notebook;
     35
    2336  Gtk::Label * labels;
    2437
    2538public:
     39  ///Constructor of MapWin creates the widgets shown in MapWin.
    2640  MapWin(const std::string& title, MapStorage &, GraphDisplayerCanvas &);
     41
     42  ///If a radiobutton is clicked, this function determines
     43  ///which button was that and after that calls the
     44  ///appropriate function of the \ref GraphDisplayerCanvas
     45  ///to change the visible values of that attribute.
    2746  virtual void radio_click(int, int);
    2847};
Note: See TracChangeset for help on using the changeset viewer.