Public Member Functions | |
eMenuItemUserName (uMenu *M, tString &c) | |
virtual | ~eMenuItemUserName () |
virtual bool | Event (SDL_Event &e) |
Definition at line 357 of file ePlayer.cpp.
Definition at line 360 of file ePlayer.cpp.
00360 : 00361 uMenuItemString(M,"$login_username","$login_username_help",c){} virtual ~eMenuItemUserName(){}
virtual eMenuItemUserName::~eMenuItemUserName | ( | ) | [inline, virtual] |
virtual bool eMenuItemUserName::Event | ( | SDL_Event & | e | ) | [inline, virtual] |
Reimplemented from uMenuItemString.
Definition at line 364 of file ePlayer.cpp.
References uMenuItemString::Event().
00364 { 00365 #ifndef DEDICATED 00366 if (e.type==SDL_KEYDOWN && 00367 (e.key.keysym.sym==SDLK_KP_ENTER || e.key.keysym.sym==SDLK_RETURN)){ 00368 00369 // move on to password menu item 00370 MyMenu()->SetSelected(0); 00371 return true; 00372 } 00373 else 00374 #endif 00375 return uMenuItemString::Event(e); 00376 }