COIN-OR::LEMON - Graph Library

Changeset 48:b8ec84524fa2 in glemon-0.x for graph_displayer_canvas.cc


Ignore:
Timestamp:
07/28/05 17:54:00 (16 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2104
Message:

cout->cerr, node radius and edge width is now scaled, maps are editable by clicking on texts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graph_displayer_canvas.cc

    r47 r48  
    4242    edgetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");
    4343    edgetextmap[i]->property_fill_color().set_value("darkgreen");
     44    edgetextmap[i]->signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::edgeMapEditEventHandler), false);
    4445  }
    4546
     
    7071    nodetextmap[i]=new Gnome::Canvas::Text(displayed_graph, text_pos.x, text_pos.y, "");
    7172    nodetextmap[i]->property_fill_color().set_value("darkblue");
     73    nodetextmap[i]->signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::nodeMapEditEventHandler), false);
    7274  }
    7375
Note: See TracChangeset for help on using the changeset viewer.