eMenuItemUserName Class Reference

Inheritance diagram for eMenuItemUserName:

Inheritance graph
[legend]
Collaboration diagram for eMenuItemUserName:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 eMenuItemUserName (uMenu *M, tString &c)
virtual ~eMenuItemUserName ()
virtual bool Event (SDL_Event &e)


Detailed Description

Definition at line 357 of file ePlayer.cpp.


Constructor & Destructor Documentation

eMenuItemUserName::eMenuItemUserName ( uMenu M,
tString c 
) [inline]

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]

Definition at line 362 of file ePlayer.cpp.

00362 {}


Member Function Documentation

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     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:26:14 2008 for Armagetron Advanced by  doxygen 1.5.4