COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
02/27/07 18:18:19 (17 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.cc

    r186 r191  
    1818
    1919#include <nbtab.h>
     20#include <eps_win.h>
    2021
    2122NoteBookTab::NoteBookTab():mapwinexists(false), designwinexists(false), mapstorage(*this)
     
    227228}
    228229
     230void NoteBookTab::createExportToEPSWin(std::string name)
     231{
     232  if(!epswinexists)
     233    {
     234      epswin=new EpsWin("Export to EPS - "+name, *this);
     235      epswin->show();
     236      epswinexists=true;
     237    }
     238}
     239
     240
    229241void NoteBookTab::createDesignWin(std::string name)
    230242{
     
    257269}
    258270
     271void NoteBookTab::closeEpsWin()
     272{
     273  epswinexists=false;
     274  delete epswin;
     275}
     276
    259277bool NoteBookTab::closeDesignWin(GdkEventAny * e)
    260278{
     
    291309  mapstorage.broadcastActiveMaps();
    292310}
     311
     312void NoteBookTab::exportGraphToEPS(std::vector<bool> options, std::string filename)
     313{
     314  mapstorage.exportGraphToEPS(options, filename);
     315}
Note: See TracChangeset for help on using the changeset viewer.