MercuryScreenManager Class Reference

Screen Manager accessable via SCREENMAN->. More...

#include <MercuryScreenManager.h>

Collaboration diagram for MercuryScreenManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercuryScreenManager ()
 ~MercuryScreenManager ()
void Update (const float dTime)
void AddScreen (MercuryScreen *screen)
void AddScreen (MString name)
void RemoveScreen (MercuryScreen *screen, bool delScreen=false)
void RemoveScreen (MString name, bool delScreen=true)
void SetPrimaryScreen (MString name)
MercuryScreenGetCurrentScreen ()

Private Attributes

MercuryScreenm_primary
MDeque< MercuryScreen * > m_screens
MercuryScreenm_current

Detailed Description

Screen Manager accessable via SCREENMAN->.

Definition at line 9 of file MercuryScreenManager.h.


Constructor & Destructor Documentation

MercuryScreenManager::MercuryScreenManager (  ) 

MercuryScreenManager::~MercuryScreenManager (  ) 

Definition at line 15 of file MercuryScreenManager.cpp.


Member Function Documentation

void MercuryScreenManager::Update ( const float  dTime  ) 

Definition at line 28 of file MercuryScreenManager.cpp.

void MercuryScreenManager::AddScreen ( MercuryScreen screen  ) 

Definition at line 75 of file MercuryScreenManager.cpp.

void MercuryScreenManager::AddScreen ( MString  name  ) 

Definition at line 80 of file MercuryScreenManager.cpp.

void MercuryScreenManager::RemoveScreen ( MercuryScreen screen,
bool  delScreen = false 
)

Definition at line 101 of file MercuryScreenManager.cpp.

void MercuryScreenManager::RemoveScreen ( MString  name,
bool  delScreen = true 
)

Definition at line 116 of file MercuryScreenManager.cpp.

void MercuryScreenManager::SetPrimaryScreen ( MString  name  ) 

Definition at line 50 of file MercuryScreenManager.cpp.

MercuryScreen* MercuryScreenManager::GetCurrentScreen (  )  [inline]

Definition at line 21 of file MercuryScreenManager.h.


Member Data Documentation

MercuryScreen* MercuryScreenManager::m_primary [private]

Definition at line 23 of file MercuryScreenManager.h.

MDeque<MercuryScreen*> MercuryScreenManager::m_screens [private]

Definition at line 24 of file MercuryScreenManager.h.

MercuryScreen* MercuryScreenManager::m_current [private]

Definition at line 25 of file MercuryScreenManager.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo