COIN-OR::LEMON - Graph Library

Changeset 90:e9f8f44f12a3 in glemon-0.x for mw-mapselector.cc


Ignore:
Timestamp:
11/21/05 19:03:20 (15 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2373
Message:

NewMapWin? has become Dialog instead of Window. Therefore it is created dynamically, when there is need for it, instead of keeping one instance in memory. This solution is slower, but more correct than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mw-mapselector.cc

    r89 r90  
    11#include "map_win.h"
    22
    3 MapWin::MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, NewMapWin & newmapw, int identifier, bool edge):gdc(grdispc),ms(mapst),nmw(newmapw),id(identifier),itisedge(edge),default_state(true),set_new_map(false),node_to_update(INVALID),edge_to_update(INVALID)
     3MapWin::MapSelector::MapSelector(GraphDisplayerCanvas & grdispc, MapStorage & mapst, int identifier, bool edge):gdc(grdispc),ms(mapst),id(identifier),itisedge(edge),default_state(true),set_new_map(false),node_to_update(INVALID),edge_to_update(INVALID)
    44{
    55  update_list();
     
    5151{
    5252  set_new_map=true;
    53   nmw.showByPreChoose(itisedge);
     53  (new NewMapWin("NewMapWin", gdc, itisedge, false))->run();
    5454}
    5555
Note: See TracChangeset for help on using the changeset viewer.