Changeset 172:fc1e478697d3 in glemon-0.x for map_win.cc
- Timestamp:
- 10/25/06 15:21:24 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3017
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
map_win.cc
r146 r172 20 20 21 21 signal_key_press_event().connect(sigc::mem_fun(*this, &MapWin::closeIfEscapeIsPressed)); 22 23 mytab.signal_title_ch().connect(sigc::mem_fun(*this, &MapWin::set_title)); 22 24 23 25 e_combo_array=new MapSelector * [EDGE_PROPERTY_NUM]; … … 91 93 n_combo_array[i]->update_list(nml); 92 94 } 95 96 mytab.active_maps_needed(); 93 97 } 94 98 … … 117 121 return true; 118 122 } 123 124 void MapWin::changeEntry(bool isitedge, int prop, std::string mapname) 125 { 126 if(isitedge) 127 { 128 e_combo_array[prop]->set_active_text(mapname); 129 } 130 else 131 { 132 n_combo_array[prop]->set_active_text(mapname); 133 } 134 } 135 136 void MapWin::set_title(std::string tabname) 137 { 138 Gtk::Window::set_title("Map Setup - "+tabname); 139 }
Note: See TracChangeset
for help on using the changeset viewer.