#include <WindowVideoManager.h>
Inherits SubsystemInterface.
Public Member Functions | |
| WindowVideoManager (void) | |
| ~WindowVideoManager (void) | |
| virtual void | init (void) |
| virtual void | reset (void) |
| virtual void | update (void) |
| void | playMovie (GameWindow *win, AsciiString movieName, WindowVideoPlayType playType) |
| void | hideMovie (GameWindow *win) |
| If the window becomes hidden while we're playing, stop the movie but test to see if we should resume. | |
| void | pauseMovie (GameWindow *win) |
| Pause a movie and display it's current frame. | |
| void | resumeMovie (GameWindow *win) |
| If a movie has been stopped, resume it. | |
| void | stopMovie (GameWindow *win) |
| Stop a movie. | |
| void | stopAndRemoveMovie (GameWindow *win) |
| Stop a movie, and remove it from the manager. | |
| void | stopAllMovies (void) |
| Stop all playing movies. | |
| void | pauseAllMovies (void) |
| Pauses all movies on their current frame. | |
| void | resumeAllMovies (void) |
| Resume Playing all movies. | |
| Int | getWinState (GameWindow *win) |
| return the current state of the window. | |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Additional Inherited Members | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
Definition at line 122 of file WindowVideoManager.h.
| WindowVideoManager::WindowVideoManager | ( | void | ) |
Definition at line 137 of file WindowVideoManager.cpp.
| WindowVideoManager::~WindowVideoManager | ( | void | ) |
Definition at line 154 of file WindowVideoManager.cpp.
| Int WindowVideoManager::getWinState | ( | GameWindow * | win | ) |
return the current state of the window.
Definition at line 406 of file WindowVideoManager.cpp.
| void WindowVideoManager::hideMovie | ( | GameWindow * | win | ) |
If the window becomes hidden while we're playing, stop the movie but test to see if we should resume.
Definition at line 311 of file WindowVideoManager.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 169 of file WindowVideoManager.cpp.
| void WindowVideoManager::pauseAllMovies | ( | void | ) |
Pauses all movies on their current frame.
Definition at line 375 of file WindowVideoManager.cpp.
| void WindowVideoManager::pauseMovie | ( | GameWindow * | win | ) |
Pause a movie and display it's current frame.
Definition at line 300 of file WindowVideoManager.cpp.
| void WindowVideoManager::playMovie | ( | GameWindow * | win, |
| AsciiString | movieName, | ||
| WindowVideoPlayType | playType ) |
Definition at line 256 of file WindowVideoManager.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 177 of file WindowVideoManager.cpp.
| void WindowVideoManager::resumeAllMovies | ( | void | ) |
Resume Playing all movies.
Definition at line 391 of file WindowVideoManager.cpp.
| void WindowVideoManager::resumeMovie | ( | GameWindow * | win | ) |
If a movie has been stopped, resume it.
Definition at line 322 of file WindowVideoManager.cpp.
| void WindowVideoManager::stopAllMovies | ( | void | ) |
Stop all playing movies.
Definition at line 359 of file WindowVideoManager.cpp.
| void WindowVideoManager::stopAndRemoveMovie | ( | GameWindow * | win | ) |
Stop a movie, and remove it from the manager.
Definition at line 346 of file WindowVideoManager.cpp.
| void WindowVideoManager::stopMovie | ( | GameWindow * | win | ) |
Stop a movie.
Definition at line 335 of file WindowVideoManager.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 193 of file WindowVideoManager.cpp.