![]() |
CMGDK r49-rc2
|
#include <TheoraMovie.H>
公有成员 | |
TheoraMovie () | |
~TheoraMovie () | |
bool | Open (const WideString &, bool=true, bool=true) |
打开影片文件 | |
bool | Open (HAC *, const WideString &, bool=true, bool=true) |
从HAC包中打开影片文件 | |
bool | Open (const WideString &, const WideString &, bool=true, bool=true) |
打开影片文件,分开指定视频和音频文件 | |
bool | Open (HAC *, const WideString &, const WideString &, bool=true, bool=true) |
从HAC包中打开影片文件,分开指定视频和音频文件 | |
void | SetNextObject (FlowObject *) |
void | Update () |
void | Draw () |
对象绘制函数 | |
公有属性 | |
bool | key_break |
可键盘中断 | |
bool | mouse_break |
可鼠标中断 | |
保护成员 | |
void | InitPrivate (bool, bool) |
bool | OpenMovie () |
bool | MouseProc (int, int, uint) |
bool | KeyProc (uint) |
保护属性 | |
Stream * | file |
AudioPlayer * | audio |
MovieDecode * | movie |
bool | start |
FlowObjectState | end_fos |
影片播放器,一个通用流程对像
hgl::TheoraMovie::TheoraMovie | ( | ) |
hgl::TheoraMovie::~TheoraMovie | ( | ) |
void hgl::TheoraMovie::Draw | ( | ) | [virtual] |
void hgl::TheoraMovie::InitPrivate | ( | bool | key, |
bool | mouse | ||
) | [protected] |
bool hgl::TheoraMovie::KeyProc | ( | uint | ) | [protected] |
bool hgl::TheoraMovie::Open | ( | HAC * | hac, |
const WideString & | ogv_filename, | ||
const WideString & | ogg_filename, | ||
bool | key = true , |
||
bool | mouse = true |
||
) |
从HAC包中打开影片文件,分开指定视频和音频文件
本类构造函数
hac | HAC包指针 |
ogv_filename | 视频ogv文件名称(注:带扩展名.ogv) ogg_filename 音频ogg文件名称(注:带扩展名.ogg) |
key | 是否键盘可以中断播放 |
mouse | 是否鼠标可以中断播放 |
bool hgl::TheoraMovie::Open | ( | const WideString & | ogv_filename, |
const WideString & | ogg_filename, | ||
bool | key = true , |
||
bool | mouse = true |
||
) |
打开影片文件,分开指定视频和音频文件
本类构造函数
ogv_filename | 视频ogv文件名称(注:带扩展名.ogv) ogg_filename 音频ogg文件名称(注:带扩展名.ogg) |
key | 是否键盘可以中断播放 |
mouse | 是否鼠标可以中断播放 |
bool hgl::TheoraMovie::Open | ( | const WideString & | filename, |
bool | key = true , |
||
bool | mouse = true |
||
) |
打开影片文件
打开一个影片文件
filename | 影片文件名称(注:不带扩展名) |
key | 是否键盘可以中断播放 |
mouse | 是否鼠标可以中断播放 |
bool hgl::TheoraMovie::Open | ( | HAC * | hac, |
const WideString & | filename, | ||
bool | key = true , |
||
bool | mouse = true |
||
) |
从HAC包中打开影片文件
打开一个影片文件
hac | HAC包指针 |
filename | 影片文件名称(注:不带扩展名) |
key | 是否键盘可以中断播放 |
mouse | 是否鼠标可以中断播放 |
bool hgl::TheoraMovie::OpenMovie | ( | ) | [protected] |
void hgl::TheoraMovie::SetNextObject | ( | FlowObject * | fo | ) |
void hgl::TheoraMovie::Update | ( | ) | [virtual] |
对象刷新函数。如果对象没有重载这个函数,即被视为放弃刷新属性,将不会存在于对象控制器的刷新列表里
AudioPlayer* hgl::TheoraMovie::audio [protected] |
FlowObjectState hgl::TheoraMovie::end_fos [protected] |
Stream* hgl::TheoraMovie::file [protected] |
可键盘中断
可鼠标中断
MovieDecode* hgl::TheoraMovie::movie [protected] |
bool hgl::TheoraMovie::start [protected] |