COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
05/27/05 12:34:20 (15 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/main_win.h

    r1435 r1440  
    1010#include <libgnomecanvasmm/polygon.h>
    1111
     12///This class is the main window of GUI.
     13///It has menus, but the main part of it is the canvas.
    1214class MainWin : public Gtk::Window
    1315{
    1416public:
     17  ///Constructor of the \ref MainWin. It creates the menu and the \ref GraphDisplayerCanvas on which the graph will be drawn.
     18  ///\param title is the title of the window
     19  ///\param graph is the graph that will be drawn here. It will be given further to the \ref GraphDisplayerCanvas
     20  ///\param cm stores the coordinates of the nodes of the graph
     21  ///\param ms is the \ref MapStorage in which the different visualizable maps are stored
    1522  MainWin(const std::string& title, Graph &, CoordinatesMap &, MapStorage &);
    1623
    1724protected:
    18   //Window of map-showing setup
     25  ///Window of map-showing setup. Its type is \ref MapWin
    1926  MapWin mapwin;
    2027
    21   //Member widgets:
     28  ///The graph will be drawn on this \ref GraphDisplayerCanvas
    2229  GraphDisplayerCanvas gd_canvas;
    2330
    24   //ActionGroup for menu
     31  ///ActionGroup for menu
    2532  Glib::RefPtr<Gtk::ActionGroup> ag;
    2633
    27   //UIManager for menu
     34  ///UIManager for menu
    2835  Glib::RefPtr<Gtk::UIManager> uim;
    2936
    30   //Container
     37  ///Container
    3138  Gtk::VBox vbox;
    3239
    33   //Pops up map-setup window
     40  ///This function makes map-setup window popped up.
    3441  virtual void showMaps();
    3542
    36   //Exit
     43  ///Exit
    3744  virtual void quit();
    3845
    39   //Refit screen
     46  ///Refit screen to be able to show the whole graph.
    4047  virtual void rezoom();
    4148
Note: See TracChangeset for help on using the changeset viewer.