Changeset 1606:dc4ea2010dee in lemon-0.x for gui/map_win.cc
- Timestamp:
- 07/29/05 14:01:37 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/map_win.cc
r1599 r1606 1 #include <map_win.h>1 #include "map_win.h" 2 2 #include <set> 3 3 … … 119 119 show_all_children(); 120 120 121 } 122 123 void MapWin::update() 124 { 125 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 126 { 127 //filling in combo box with choices 128 std::list<Glib::ustring> listStrings; 129 130 listStrings.push_back("Default"); 131 132 std::map< std::string,Graph::EdgeMap<double> * >::iterator emsi=ms.beginOfEdgeMaps(); 133 for(;emsi!=ms.endOfEdgeMaps();emsi++) 134 { 135 listStrings.push_back(emsi->first); 136 } 137 138 e_combo_array[i].set_popdown_strings(listStrings); 139 } 140 for(int i=0;i<NODE_PROPERTY_NUM;i++) 141 { 142 //filling in combo box with choices 143 std::list<Glib::ustring> listStrings; 144 145 listStrings.push_back("Default"); 146 147 std::map< std::string,Graph::NodeMap<double> * >::iterator emsi=ms.beginOfNodeMaps(); 148 149 for(;emsi!=ms.endOfNodeMaps();emsi++) 150 { 151 listStrings.push_back(emsi->first); 152 } 153 154 n_combo_array[i].set_popdown_strings(listStrings); 155 } 121 156 } 122 157
Note: See TracChangeset
for help on using the changeset viewer.