#include <video.h>
A video monitored by the VideoManager
◆ operator bool()
Mohawk::VideoEntry::operator bool |
( |
| ) |
const |
|
inline |
Convenience implicit cast to bool
◆ isOpen()
bool Mohawk::VideoEntry::isOpen |
( |
| ) |
const |
|
inline |
◆ close()
void Mohawk::VideoEntry::close |
( |
| ) |
|
◆ endOfVideo()
bool Mohawk::VideoEntry::endOfVideo |
( |
| ) |
const |
Has the video reached its end?
◆ getX()
uint16 Mohawk::VideoEntry::getX |
( |
| ) |
const |
|
inline |
Get the X position of where the video is displayed
◆ getY()
uint16 Mohawk::VideoEntry::getY |
( |
| ) |
const |
|
inline |
Get the Y position of where the video is displayed
◆ isLooping()
bool Mohawk::VideoEntry::isLooping |
( |
| ) |
const |
|
inline |
◆ isEnabled()
bool Mohawk::VideoEntry::isEnabled |
( |
| ) |
const |
|
inline |
Is the video enabled? (Drawing to the screen)
◆ getStart()
Get the start time of the video bounds
◆ getFileName()
const Common::Path& Mohawk::VideoEntry::getFileName |
( |
| ) |
const |
|
inline |
Get the file name of the video, or empty if by ID
◆ getID()
int Mohawk::VideoEntry::getID |
( |
| ) |
const |
|
inline |
Get the ID of the video, or -1 if by file name
◆ getCurFrame()
int Mohawk::VideoEntry::getCurFrame |
( |
| ) |
const |
Get the current frame of the video
◆ getFrameCount()
uint32 Mohawk::VideoEntry::getFrameCount |
( |
| ) |
const |
Get the frame count of the video
◆ getTime()
uint32 Mohawk::VideoEntry::getTime |
( |
| ) |
const |
Get the current time position of the video
◆ getDuration()
Get the duration of the video
◆ getRate()
Get the current playback rate of the videos
◆ setX()
void Mohawk::VideoEntry::setX |
( |
uint16 |
x | ) |
|
|
inline |
Move the x position of the video
◆ setY()
void Mohawk::VideoEntry::setY |
( |
uint16 |
y | ) |
|
|
inline |
Move the y position of the video
◆ moveTo()
void Mohawk::VideoEntry::moveTo |
( |
uint16 |
x, |
|
|
uint16 |
y |
|
) |
| |
|
inline |
Move the video to the specified coordinates
◆ center()
void Mohawk::VideoEntry::center |
( |
| ) |
|
Center the video on the screen
◆ setStart()
Set the start time when using video bounds
◆ setLooping()
void Mohawk::VideoEntry::setLooping |
( |
bool |
loop | ) |
|
|
inline |
Set the video to loop (true) or not (false)
◆ setEnabled()
void Mohawk::VideoEntry::setEnabled |
( |
bool |
enabled | ) |
|
|
inline |
Set the video's enabled status
◆ setBounds()
Set the bounds of the video
This automatically seeks to the start time
◆ seek()
◆ setRate()
◆ pause()
void Mohawk::VideoEntry::pause |
( |
bool |
isPaused | ) |
|
◆ start()
void Mohawk::VideoEntry::start |
( |
| ) |
|
◆ stop()
void Mohawk::VideoEntry::stop |
( |
| ) |
|
◆ isPlaying()
bool Mohawk::VideoEntry::isPlaying |
( |
| ) |
const |
◆ getVolume()
int Mohawk::VideoEntry::getVolume |
( |
| ) |
const |
Get the volume of the video
◆ setVolume()
void Mohawk::VideoEntry::setVolume |
( |
int |
volume | ) |
|
Set the volume of the video
◆ loadSubtitles()
void Mohawk::VideoEntry::loadSubtitles |
( |
const Common::Path & |
fname | ) |
|
|
inline |
The documentation for this class was generated from the following file: