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

AppletViewer Class Reference

Inheritance diagram for AppletViewer:

Inheritance graph
[legend]
List of all members.

Detailed Description

common base class for the applet viewers used by the game App

Author:
Daniel Seibert


Public Types

enum  { SCREENSHOT = 0xf000, INPUT_CAPTURE }

Public Member Functions

 AppletViewer (App *)
virtual void cleanup ()
 called when the applet is deactivated
void close ()
virtual void doLogic ()
virtual void init ()
 called when the applet is activated
virtual void initApplet ()=0
 initializes the applet at startup
virtual void mainLoopBody ()
virtual void processControlEvent (ONE::util::ControlEvent &)
virtual void processEvent (const SDL_Event &)
virtual ~AppletViewer ()

Static Public Member Functions

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

Protected Attributes

Appapp
GUISet gui


Member Enumeration Documentation

anonymous enum
 

Enumerator:
SCREENSHOT 
INPUT_CAPTURE 


Constructor & Destructor Documentation

AppletViewer::AppletViewer App  ) 
 

AppletViewer::~AppletViewer  )  [virtual]
 


Member Function Documentation

void AppletViewer::cleanup  )  [virtual]
 

called when the applet is deactivated

Reimplemented in GameViewer, LoadViewer, and MenuViewer.

void AppletViewer::close  ) 
 

void AppletViewer::doLogic  )  [virtual]
 

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

void AppletViewer::init  )  [virtual]
 

called when the applet is activated

Reimplemented in GameViewer, LoadViewer, and MenuViewer.

virtual void AppletViewer::initApplet  )  [pure virtual]
 

initializes the applet at startup

void AppletViewer::mainLoopBody  )  [virtual]
 

Reimplemented in GameViewer, and LoadViewer.

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

Implements ONE::util::ControlListener.

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

Reimplemented in GameViewer, and MenuViewer.

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


Member Data Documentation

App* AppletViewer::app [protected]
 

GUISet AppletViewer::gui [protected]
 


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