Changeset 120 for abuse/trunk/src/netcfg.cpp
- Timestamp:
- Mar 17, 2008, 3:25:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/netcfg.cpp
r113 r120 53 53 void net_configuration::cfg_error(char const *msg) 54 54 { 55 jwindow *j=wm->new_window(-1,0,-1,-1,new info_field(0, 0, 0, msg,55 Jwindow *j=wm->new_window(-1,0,-1,-1,new info_field(0, 0, 0, msg, 56 56 new button(0, 30,CFG_ERR_OK,symbol_str("ok_button"),NULL)),symbol_str("input_error")); 57 57 event ev; … … 94 94 95 95 96 int net_configuration::confirm_inputs( input_manager *i, int server)96 int net_configuration::confirm_inputs(InputManager *i, int server) 97 97 { 98 98 if (server) … … 171 171 int x=0,y=0; 172 172 173 jwindow *sv=wm->new_window(50,80,-1,-1,new button(0,0,NET_SERVER,symbol_str("server"),173 Jwindow *sv=wm->new_window(50,80,-1,-1,new button(0,0,NET_SERVER,symbol_str("server"), 174 174 new button(0,wm->font()->height()*2,NET_CLIENT,symbol_str("client"), 175 175 new button(0,wm->font()->height()*4,NET_SINGLE,symbol_str("single_play"), … … 233 233 234 234 235 jwindow *nw=wm->new_window(0,0,-1,-1,ilist,symbol_str("Networking"));235 Jwindow *nw=wm->new_window(0,0,-1,-1,ilist,symbol_str("Networking")); 236 236 237 237 done=0; … … 288 288 button *sb=new button(bx,by,NET_SERVER,ok,NULL); 289 289 290 input_manager inm(screen,sb);290 InputManager inm(screen,sb); 291 291 inm.allow_no_selections(); 292 292 inm.clear_current(); … … 408 408 409 409 { 410 input_manager inm(screen,list);410 InputManager inm(screen,list); 411 411 inm.allow_no_selections(); 412 412 inm.clear_current(); … … 463 463 sb=new button(x+40,y+ns_h-9-fnt->height(),NET_SINGLE,symbol_str("single_play"),sb); 464 464 465 input_manager inm(screen,sb);465 InputManager inm(screen,sb); 466 466 467 467 inm.allow_no_selections();
Note: See TracChangeset
for help on using the changeset viewer.