Changeset 1733:5e0d97823ba2 in lemon-0.x for gui/map_win.cc
- Timestamp:
- 10/21/05 15:32:12 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/map_win.cc
r1731 r1733 11 11 } 12 12 13 MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc ):gdc(grdispc),ms(mapst)13 MapWin::MapWin(const std::string& title, MapStorage & mapst, GraphDisplayerCanvas & grdispc, NewMapWin & newmapwin):gdc(grdispc),ms(mapst), nmw(newmapwin) 14 14 { 15 15 set_title(title); … … 24 24 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 25 25 { 26 e_combo_array[i]=new MapSelector(gdc, ms, *this, i, true);26 e_combo_array[i]=new MapSelector(gdc, ms, nmw, i, true); 27 27 28 28 (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3); … … 41 41 for(int i=0;i<NODE_PROPERTY_NUM;i++) 42 42 { 43 n_combo_array[i]=new MapSelector(gdc, ms, *this, i, false);43 n_combo_array[i]=new MapSelector(gdc, ms, nmw, i, false); 44 44 45 45 (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3); … … 102 102 { 103 103 //filling in combo box with choices 104 e_combo_array[i]->append_text((Glib::ustring)newmapname);104 n_combo_array[i]->append_text((Glib::ustring)newmapname); 105 105 } 106 106 //setting text property for the new map
Note: See TracChangeset
for help on using the changeset viewer.