Changeset 176:9fc3d5170b24 in glemon-0.x for gui_reader.cc
- Timestamp:
- 10/30/06 14:08:04 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3031
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui_reader.cc
r174 r176 37 37 x("arrow_pos", m); 38 38 39 if ((int)m.size() != countEdges(mapstorage->graph)) return; 40 41 for (EdgeIt e(mapstorage->graph); e != INVALID; ++e) 42 { 43 int edgeid = (int)(*mapstorage->edgemap_storage["label"])[e]; 44 mapstorage->arrow_pos.set(e, m[edgeid]); 45 } 46 mapstorage->ArrowPosReadOK(); 47 39 if ((int)m.size() == countEdges(mapstorage->graph)) 40 { 41 for (EdgeIt e(mapstorage->graph); e != INVALID; ++e) 42 { 43 int edgeid = (int)(*mapstorage->edgemap_storage["label"])[e]; 44 mapstorage->arrow_pos.set(e, m[edgeid]); 45 } 46 mapstorage->ArrowPosReadOK(); 47 } 48 48 49 std::map<int, std::string> nm; 49 50 x("active_nodemaps", nm);
Note: See TracChangeset
for help on using the changeset viewer.