#include <video.h>
Inheritance diagram for wftk::Video:
Public Member Functions | |
Video (const Point &screen_loc=Point(0, 0), ScreenSurface *screen=0) | |
create a Video instance | |
void | setMask (const Region &r) |
set the MPEG drawing mask | |
void | clearMask () |
clear the MPEG drawing mask | |
void | move (const Point &) |
move the video to a different location on the screen | |
virtual bool | load (const std::string &file) |
overrides Sound::load() pure virtual | |
virtual bool | load (const std::string &, double scale) |
load MPEG video, and configure it to display resized by factor 'scale' | |
virtual bool | play (int loops=0) const |
play the video | |
virtual int | setVolume (int vol) |
set volume (0..100) | |
virtual void | stop () const |
cease playback | |
virtual bool | playing () const |
true if music is playing | |
virtual bool | paused () const |
true if music is paused | |
virtual void | pause () |
pause playback | |
virtual void | rewind () const |
rewind song to beginning | |
virtual void | resume () |
resume song (if paused) |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.