Changeset 1589:9192e1b26d32 in lemon-0.x for gui/map_win.cc
- Timestamp:
- 07/26/05 20:14:23 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2093
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/map_win.cc
r1586 r1589 123 123 void MapWin::eComboChanged(int prop) 124 124 { 125 125 126 Gtk::Entry* entry = e_combo_array[prop].get_entry(); 126 127 … … 250 251 } 251 252 252 void MapWin::registerNewEdgeMap(std::string) 253 { 254 std::cout << "void MapWin::registerNewEdgeMap(std::string) is not yet implemented" << std::endl; 255 } 256 257 void MapWin::registerNewNodeMap(std::string) 258 { 259 std::cout << "void MapWin::registerNewNodeMap(std::string) is not yet implemented" << std::endl; 260 } 253 void MapWin::registerNewEdgeMap(std::string newmapname) 254 { 255 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 256 { 257 //filling in combo box with choices 258 std::list<Glib::ustring> listStrings=e_combo_array[i].get_popdown_strings(); 259 listStrings.push_back(newmapname); 260 e_combo_array[i].set_popdown_strings(listStrings); 261 } 262 Gtk::Entry* entry = e_combo_array[E_TEXT].get_entry(); 263 entry->set_text((Glib::ustring)newmapname); 264 } 265 266 void MapWin::registerNewNodeMap(std::string newmapname) 267 { 268 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 269 { 270 //filling in combo box with choices 271 std::list<Glib::ustring> listStrings=n_combo_array[i].get_popdown_strings(); 272 listStrings.push_back(newmapname); 273 n_combo_array[i].set_popdown_strings(listStrings); 274 } 275 }
Note: See TracChangeset
for help on using the changeset viewer.