Gui Class Reference

#include <gui.h>

Inherits ConfigListener, Module, and VideoModule.

List of all members.

Public Member Functions

 Gui ()
 ~Gui ()
void action (const gcn::ActionEvent &actionEvent)
bool Load ()
bool Unload ()
bool Update ()
void GetSignal (std::string name)
void SettingChanged (std::string name)
void Draw (SDL_Surface *screen)

Protected Member Functions

void InitMain ()
void CleanMain ()
void InitOptions ()
void CleanOptions ()
void InitMenu ()
void CleanMenu ()
void InitIngame ()
void CleanIngame ()
void InitGametypes ()
void CleanGametypes ()
void InitInetchoose ()
void CleanInetchoose ()
void InitConnect ()
void CleanConnect ()

Protected Attributes

gcn::SDLTrueTypeFontm_font
gcn::SDLGraphics * m_sdlgraphics
gcn::SDLInput * m_sdlinput
gcn::SDLImageLoader * m_sdlimageloader
SDL_Event m_event
gcn::Container * m_crown
gcn::Container * m_menu
gcn::Container * m_ingame
gcn::Label * m_player1
gcn::Label * m_player2
gcn::Label * m_title
gcn::Container * m_gametype
gcn::ListBox * m_gametypeentrys
gcn::Container * m_inetchoose
gcn::ListBox * m_inetchooseentrys
gcn::Container * m_main
gcn::ListBox * m_mainentrys
gcn::Container * m_options
gcn::ListBox * m_optionentrys
Spinm_resolution
Spinm_fullscreen
gcn::Container * m_connect
gcn::ListBox * m_connectentrys
gcn::TextField * m_ip
gcn::TextField * m_port
StringListModelm_mentrys
StringListModelm_oentrys
StringListModelm_gametypes
StringListModelm_inetpossibilities
StringListModelm_conentrys
StringListModelm_resolutions
StringListModelm_onoff


Constructor & Destructor Documentation

Gui::Gui (  ) 

Gui::~Gui (  ) 


Member Function Documentation

void Gui::action ( const gcn::ActionEvent &  actionEvent  ) 

bool Gui::Load (  )  [virtual]

Called, when the module is loaded by the Resource Manager ( or another class)

Implements Module.

bool Gui::Unload (  )  [virtual]

Called, when the module is to be updated the Resource Manager ( or another class)

Implements Module.

bool Gui::Update (  )  [virtual]

Called, when the module is unloaded the Resource Manager ( or another class)

Implements Module.

void Gui::GetSignal ( std::string  name  )  [virtual]

Called, when a signal is sent to the module

Parameters:
name the name of the signal

Reimplemented from Module.

void Gui::SettingChanged ( std::string  name  )  [inline, virtual]

Implements ConfigListener.

void Gui::Draw ( SDL_Surface *  screen  )  [virtual]

Implements VideoModule.

void Gui::InitMain (  )  [protected]

void Gui::CleanMain (  )  [protected]

void Gui::InitOptions (  )  [protected]

void Gui::CleanOptions (  )  [protected]

void Gui::InitMenu (  )  [protected]

void Gui::CleanMenu (  )  [protected]

void Gui::InitIngame (  )  [protected]

void Gui::CleanIngame (  )  [protected]

void Gui::InitGametypes (  )  [protected]

void Gui::CleanGametypes (  )  [protected]

void Gui::InitInetchoose (  )  [protected]

void Gui::CleanInetchoose (  )  [protected]

void Gui::InitConnect (  )  [protected]

void Gui::CleanConnect (  )  [protected]


Member Data Documentation

gcn::SDLTrueTypeFont* Gui::m_font [protected]

gcn::SDLGraphics* Gui::m_sdlgraphics [protected]

gcn::SDLInput* Gui::m_sdlinput [protected]

gcn::SDLImageLoader* Gui::m_sdlimageloader [protected]

SDL_Event Gui::m_event [protected]

gcn::Container* Gui::m_crown [protected]

gcn::Container* Gui::m_menu [protected]

gcn::Container* Gui::m_ingame [protected]

gcn::Label* Gui::m_player1 [protected]

gcn::Label* Gui::m_player2 [protected]

gcn::Label* Gui::m_title [protected]

gcn::Container* Gui::m_gametype [protected]

gcn::ListBox* Gui::m_gametypeentrys [protected]

gcn::Container* Gui::m_inetchoose [protected]

gcn::ListBox* Gui::m_inetchooseentrys [protected]

gcn::Container* Gui::m_main [protected]

gcn::ListBox* Gui::m_mainentrys [protected]

gcn::Container* Gui::m_options [protected]

gcn::ListBox* Gui::m_optionentrys [protected]

Spin* Gui::m_resolution [protected]

Spin* Gui::m_fullscreen [protected]

gcn::Container* Gui::m_connect [protected]

gcn::ListBox* Gui::m_connectentrys [protected]

gcn::TextField* Gui::m_ip [protected]

gcn::TextField* Gui::m_port [protected]

StringListModel* Gui::m_mentrys [protected]

StringListModel* Gui::m_oentrys [protected]

StringListModel* Gui::m_gametypes [protected]

StringListModel* Gui::m_inetpossibilities [protected]

StringListModel* Gui::m_conentrys [protected]

StringListModel* Gui::m_resolutions [protected]

StringListModel* Gui::m_onoff [protected]


The documentation for this class was generated from the following files:
Generated on Wed Feb 21 21:50:47 2007 for Minup by  doxygen 1.5.1-p1