#include <videomanager.h>
Inherits Module, and ConfigListener.
Public Member Functions | |
bool | Load () |
bool | Unload () |
bool | Update () |
void | GetSignal (std::string name) |
void | SettingChanged (std::string name) |
VideoManager () | |
~VideoManager () | |
bool | LoadScreen () |
void | SetClipRect (mup::Rect &clip) |
void | AddVideoModule (VideoModule *ptr) |
void | RemoveVideoModule (VideoModule *ptr) |
void | ClearVideoModules () |
Protected Attributes | |
std::list< VideoModule * > | m_videomodules |
std::list< VideoModule * >::iterator | m_iter |
SDL_Surface * | m_screen |
VideoManager::VideoManager | ( | ) |
VideoManager::~VideoManager | ( | ) |
bool VideoManager::Load | ( | ) | [virtual] |
Called, when the module is loaded by the Resource Manager ( or another class)
Implements Module.
bool VideoManager::Unload | ( | ) | [virtual] |
Called, when the module is to be updated the Resource Manager ( or another class)
Implements Module.
bool VideoManager::Update | ( | ) | [virtual] |
Called, when the module is unloaded the Resource Manager ( or another class)
Implements Module.
void VideoManager::GetSignal | ( | std::string | name | ) | [inline, virtual] |
Called, when a signal is sent to the module
name | the name of the signal |
Reimplemented from Module.
void VideoManager::SettingChanged | ( | std::string | name | ) | [inline, virtual] |
Implements ConfigListener.
bool VideoManager::LoadScreen | ( | ) |
void VideoManager::SetClipRect | ( | mup::Rect & | clip | ) |
void VideoManager::AddVideoModule | ( | VideoModule * | ptr | ) |
void VideoManager::RemoveVideoModule | ( | VideoModule * | ptr | ) |
void VideoManager::ClearVideoModules | ( | ) |
std::list<VideoModule*> VideoManager::m_videomodules [protected] |
std::list<VideoModule*>::iterator VideoManager::m_iter [protected] |
SDL_Surface* VideoManager::m_screen [protected] |