Changeset 30:f70bbee5350a in glemon-0.x for map_win.cc
- Timestamp:
- 06/29/05 17:41:33 (19 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2010
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
map_win.cc
r28 r30 2 2 #include <set> 3 3 4 bool MapWin::close _if_escape_is_pressed(GdkEventKey* e)4 bool MapWin::closeIfEscapeIsPressed(GdkEventKey* e) 5 5 { 6 6 if(e->keyval==GDK_Escape) … … 16 16 set_default_size(200, 50); 17 17 18 signal_key_press_event().connect(sigc::mem_fun(*this, &MapWin::close _if_escape_is_pressed));18 signal_key_press_event().connect(sigc::mem_fun(*this, &MapWin::closeIfEscapeIsPressed)); 19 19 20 20 e_combo_array=new Gtk::Combo [EDGE_PROPERTY_NUM]; … … 75 75 sigc::bind 76 76 ( 77 sigc::mem_fun(*this, &MapWin::e _combo_changed),77 sigc::mem_fun(*this, &MapWin::eComboChanged), 78 78 i 79 79 ) … … 154 154 sigc::bind 155 155 ( 156 sigc::mem_fun(*this, &MapWin::n _combo_changed),156 sigc::mem_fun(*this, &MapWin::nComboChanged), 157 157 i 158 158 ) … … 180 180 } 181 181 182 void MapWin::e _combo_changed(int prop)182 void MapWin::eComboChanged(int prop) 183 183 { 184 184 Gtk::Entry* entry = e_combo_array[prop].get_entry(); … … 215 215 }; 216 216 217 void MapWin::n _combo_changed(int prop)217 void MapWin::nComboChanged(int prop) 218 218 { 219 219 … … 251 251 }; 252 252 253 void MapWin::update _node(Graph::Node node)253 void MapWin::updateNode(Graph::Node node) 254 254 { 255 255 for(int i=0;i<NODE_PROPERTY_NUM;i++) … … 290 290 } 291 291 292 void MapWin::update _edge(Graph::Edge edge)292 void MapWin::updateEdge(Graph::Edge edge) 293 293 { 294 294 for(int i=0;i<EDGE_PROPERTY_NUM;i++)
Note: See TracChangeset
for help on using the changeset viewer.