COIN-OR::LEMON - Graph Library

Changeset 191:af2ed974ab68 in glemon-0.x for nbtab.h


Ignore:
Timestamp:
02/27/07 18:18:19 (13 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3202
Message:

GUI can now export graph to EPS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nbtab.h

    r177 r191  
    2424#include "mapstorage.h"
    2525#include "map_win.h"
     26//#include "eps_win.h"
     27class EpsWin;
    2628#include "design_win.h"
    2729#include "graph_displayer_canvas.h"
     
    98100  bool designwinexists;
    99101
     102  ///Indicates whether the \ref EpsWin is opened or not. See \ref epswin.
     103  bool epswinexists;
     104
    100105  ///Address of the only \ref MapWin that the \ref NoteBookTab can open.
    101106
     
    113118  ///more complicated to synchronize them.
    114119  DesignWin * designwin;
     120
     121  ///Address of the only \ref EpsWin that the \ref NoteBookTab can open.
     122
     123  ///Only one of this window can be opened at the same time (\ref epswinexists),
     124  ///because there is no need for more, one per tab is enough.
     125  ///There won't be benefit of more than one.
     126  EpsWin * epswin;
    115127
    116128public:
     
    186198  void createDesignWin(std::string);
    187199
     200  ///Pops up a window, that can dump graph to EPS
     201
     202  ///Different parameters can be set here.
     203  void createExportToEPSWin(std::string);
     204
    188205  ///Closes and deregistrates the \ref MapWin of \ref NoteBookTab.
    189206 
     
    192209  void closeMapWin();
    193210
     211  ///Closes and deregistrates the \ref DesignWin of \ref NoteBookTab.
     212 
     213  ///See also
     214  ///\ref designwin.
    194215  bool closeDesignWin(GdkEventAny *);
     216
     217  ///Closes and deregistrates the \ref EpsWin of \ref NoteBookTab.
     218 
     219  ///See also
     220  ///\ref epswin.
     221  void closeEpsWin();
    195222
    196223  ///Sets node representation settings
     
    202229  ///Let the graph redesign, based on gravity and edge elasticity.
    203230  void reDesignGraph();
     231
     232  ///Lets Mapstorage export the graph to EPS
     233  void exportGraphToEPS(std::vector<bool>, std::string);
    204234
    205235  ///\ref MapWin calls this function when it updates the maplist in comboboxes.
Note: See TracChangeset for help on using the changeset viewer.