Changeset 1838:b61682f0ee96 in lemon-0.x for gui/map_win.cc
- Timestamp:
- 11/30/05 14:24:23 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2391
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/map_win.cc
r1837 r1838 6 6 if(e->keyval==GDK_Escape) 7 7 { 8 hide(); 8 mainwin.closeMapWin(); 9 // hide(); 9 10 } 10 11 return true; … … 24 25 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 25 26 { 26 e_combo_array[i]=new MapSelector(eml, i, true);27 e_combo_array[i]=new MapSelector(eml, mainwin.getActiveEdgeMap(i), i, true); 27 28 28 29 (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3); … … 44 45 for(int i=0;i<NODE_PROPERTY_NUM;i++) 45 46 { 46 n_combo_array[i]=new MapSelector(nml, i, false);47 n_combo_array[i]=new MapSelector(nml, mainwin.getActiveNodeMap(i), i, false); 47 48 48 49 (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3); … … 60 61 show_all_children(); 61 62 63 } 64 65 MapWin::~MapWin() 66 { 62 67 } 63 68 … … 107 112 } 108 113 } 114 115 bool MapWin::on_delete_event(GdkEventAny * event) 116 { 117 event=event; 118 mainwin.closeMapWin(); 119 return true; 120 }
Note: See TracChangeset
for help on using the changeset viewer.