#include <MercuryScreenManager.h>
Collaboration diagram for MercuryScreenManager:
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) |
MercuryScreen * | GetCurrentScreen () |
Private Attributes | |
MercuryScreen * | m_primary |
MDeque< MercuryScreen * > | m_screens |
MercuryScreen * | m_current |
Definition at line 9 of file MercuryScreenManager.h.
MercuryScreenManager::MercuryScreenManager | ( | ) |
MercuryScreenManager::~MercuryScreenManager | ( | ) |
Definition at line 15 of file MercuryScreenManager.cpp.
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.
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.