Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

MenuViewer Class Reference

Inheritance diagram for MenuViewer:

Inheritance graph
[legend]
List of all members.

Detailed Description

displays the main menu


Public Types

typedef ControlListener * LPtr

Public Member Functions

void addControlListener (const LPtr &l)
void cleanup ()
 called when the applet is deactivated
void close ()
void doGraphics ()
virtual void doLogic ()
void doNetwork ()
 EventDispatcher ()
void fireEvent (ControlEvent &e) const
void init ()
 called when the applet is activated
int int2String (const std::string &s)
bool isMuted () const
virtual void mainLoopBody ()
 MenuViewer (App *app)
void processActionEvent (ONE::util::ActionEvent &)
virtual void processControlEvent (ONE::util::ControlEvent &)
void processEvent (const SDL_Event &)
void processKeyEvent (ONE::util::KeyEvent &)
void processListSelectionEvent (ONE::gui::ListSelectionEvent &)
void removeControlListener (const LPtr &l)
void setMuted (bool mute)
 ~MenuViewer ()

Static Public Member Functions

static void getLines (const std::string &, std::vector< std::string > &)
static void showErrorMessage (const std::string &)

Protected Member Functions

void add (const LPtr &l)
void remove (const LPtr &l)

Protected Attributes

Appapp
GUISet gui

Classes

struct  PlayerTraits


Constructor & Destructor Documentation

MenuViewer::MenuViewer App app  ) 
 

MenuViewer::~MenuViewer  ) 
 


Member Function Documentation

void MenuViewer::cleanup  )  [virtual]
 

called when the applet is deactivated

Reimplemented from AppletViewer.

void AppletViewer::close  )  [inherited]
 

void MenuViewer::doGraphics  ) 
 

void AppletViewer::doLogic  )  [virtual, inherited]
 

void MenuViewer::doNetwork  ) 
 

void AppletViewer::getLines const std::string &  ,
std::vector< std::string > & 
[static, inherited]
 

void MenuViewer::init  )  [virtual]
 

called when the applet is activated

Reimplemented from AppletViewer.

int MenuViewer::int2String const std::string &  s  ) 
 

void AppletViewer::mainLoopBody  )  [virtual, inherited]
 

Reimplemented in GameViewer, and LoadViewer.

void MenuViewer::processActionEvent ONE::util::ActionEvent  )  [virtual]
 

Implements ONE::util::ActionListener.

void AppletViewer::processControlEvent ONE::util::ControlEvent  )  [virtual, inherited]
 

Implements ONE::util::ControlListener.

void MenuViewer::processEvent const SDL_Event &   )  [virtual]
 

Reimplemented from AppletViewer.

void MenuViewer::processKeyEvent ONE::util::KeyEvent  )  [virtual]
 

Implements ONE::util::KeyListener.

void MenuViewer::processListSelectionEvent ONE::gui::ListSelectionEvent  )  [virtual]
 

Implements ONE::gui::ListSelectionListener.

void AppletViewer::showErrorMessage const std::string &   )  [static, inherited]
 


Member Data Documentation

App* AppletViewer::app [protected, inherited]
 

GUISet AppletViewer::gui [protected, inherited]
 


Generated on Wed Sep 7 19:03:46 2005 for AnimalRace by  doxygen 1.4.3