#include <PlayerLua.h>
|
| enum | PlayerState { SLEEPING = 1,
OCCURRING,
PAUSED
} |
| |
| enum | PlayerProperty {
PROP_UNKNOWN = 0,
PROP_BACKGROUND,
PROP_BALANCE,
PROP_BASS,
PROP_BOTTOM,
PROP_BOUNDS,
PROP_DEBUG,
PROP_DURATION,
PROP_EXPLICIT_DUR,
PROP_FOCUS_INDEX,
PROP_FONT_BG_COLOR,
PROP_FONT_COLOR,
PROP_FONT_FAMILY,
PROP_FONT_SIZE,
PROP_FONT_STYLE,
PROP_FONT_VARIANT,
PROP_FONT_WEIGHT,
PROP_FREEZE,
PROP_HEIGHT,
PROP_HORZ_ALIGN,
PROP_LEFT,
PROP_LOCATION,
PROP_MUTE,
PROP_RIGHT,
PROP_SIZE,
PROP_TOP,
PROP_TRANSPARENCY,
PROP_TREBLE,
PROP_VERT_ALIGN,
PROP_VISIBLE,
PROP_VOLUME,
PROP_WIDTH,
PROP_Z_INDEX
} |
| |
| Enumerator |
|---|
| PROP_UNKNOWN |
|
| PROP_BACKGROUND |
|
| PROP_BALANCE |
|
| PROP_BASS |
|
| PROP_BOTTOM |
|
| PROP_BOUNDS |
|
| PROP_DEBUG |
|
| PROP_DURATION |
|
| PROP_EXPLICIT_DUR |
|
| PROP_FOCUS_INDEX |
|
| PROP_FONT_BG_COLOR |
|
| PROP_FONT_COLOR |
|
| PROP_FONT_FAMILY |
|
| PROP_FONT_SIZE |
|
| PROP_FONT_STYLE |
|
| PROP_FONT_VARIANT |
|
| PROP_FONT_WEIGHT |
|
| PROP_FREEZE |
|
| PROP_HEIGHT |
|
| PROP_HORZ_ALIGN |
|
| PROP_LEFT |
|
| PROP_LOCATION |
|
| PROP_MUTE |
|
| PROP_RIGHT |
|
| PROP_SIZE |
|
| PROP_TOP |
|
| PROP_TRANSPARENCY |
|
| PROP_TREBLE |
|
| PROP_VERT_ALIGN |
|
| PROP_VISIBLE |
|
| PROP_VOLUME |
|
| PROP_WIDTH |
|
| PROP_Z_INDEX |
|
| Enumerator |
|---|
| SLEEPING |
|
| OCCURRING |
|
| PAUSED |
|
| PlayerLua::PlayerLua |
( |
Formatter * |
formatter, |
|
|
const string & |
id, |
|
|
const string & |
uri |
|
) |
| |
| PlayerLua::~PlayerLua |
( |
| ) |
|
| Player * Player::createPlayer |
( |
Formatter * |
formatter, |
|
|
const string & |
id, |
|
|
const string & |
uri, |
|
|
const string & |
mime |
|
) |
| |
|
staticinherited |
| bool PlayerLua::doSetProperty |
( |
PlayerProperty |
code, |
|
|
const string & |
name, |
|
|
const string & |
value |
|
) |
| |
|
overrideprotectedvirtual |
| string Player::getCurrentFocus |
( |
| ) |
|
|
staticinherited |
| Time Player::getDuration |
( |
| ) |
|
|
inherited |
| string Player::getProperty |
( |
const string & |
name | ) |
|
|
virtualinherited |
| void Player::getZ |
( |
int * |
z, |
|
|
int * |
zorder |
|
) |
| |
|
inherited |
| void Player::incTime |
( |
Time |
inc | ) |
|
|
inherited |
| bool Player::isFocused |
( |
| ) |
|
|
inherited |
| void G_GNUC_NORETURN PlayerLua::pause |
( |
| ) |
|
|
overridevirtual |
| void PlayerLua::pwdRestore |
( |
| ) |
|
|
private |
| void PlayerLua::pwdSave |
( |
const string & |
path | ) |
|
|
private |
| void PlayerLua::pwdSave |
( |
| ) |
|
|
private |
| void PlayerLua::redraw |
( |
cairo_t * |
cr | ) |
|
|
overridevirtual |
Reimplemented from Player.
References Player::_gltexture, _nw, Player::_opengl, Player::_state, Player::_surface, GL::create_texture(), g_assert(), g_assert_nonnull(), pwdRestore(), pwdSave(), Player::redraw(), Player::SLEEPING, and GL::update_subtexture().
| void Player::resetProperties |
( |
| ) |
|
|
inherited |
| void Player::resetProperties |
( |
set< string > * |
props | ) |
|
|
inherited |
| void G_GNUC_NORETURN PlayerLua::resume |
( |
| ) |
|
|
overridevirtual |
| void Player::schedulePropertyAnimation |
( |
const string & |
name, |
|
|
const string & |
from, |
|
|
const string & |
to, |
|
|
Time |
dur |
|
) |
| |
|
inherited |
| void PlayerLua::sendKeyEvent |
( |
const string & |
key, |
|
|
bool |
press |
|
) |
| |
|
overridevirtual |
| void Player::setCurrentFocus |
( |
const string & |
index | ) |
|
|
staticinherited |
| void Player::setDuration |
( |
Time |
duration | ) |
|
|
inherited |
| void Player::setEOS |
( |
bool |
eos | ) |
|
|
inherited |
| void Player::setProperty |
( |
const string & |
name, |
|
|
const string & |
value |
|
) |
| |
|
virtualinherited |
| void Player::setZ |
( |
int |
z, |
|
|
int |
zorder |
|
) |
| |
|
inherited |
| void PlayerLua::start |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Player.
References _init_rect, _nw, Player::_prop, Player::_state, Player::_uri, ERROR, evt_ncl_send_presentation, g_assert(), Player::OCCURRING, pwdRestore(), pwdSave(), Player::start(), TRACE, and unlikely.
Reimplemented from Player.
References Player::_gltexture, _nw, Player::_opengl, Player::_state, GL::delete_texture(), evt_ncl_send_presentation, g_assert(), g_assert_nonnull(), pwdRestore(), pwdSave(), Player::SLEEPING, Player::stop(), and TRACE.
| Rect PlayerLua::_init_rect |
|
private |
| struct { ... } Player::_prop |
| map<string, string> Player::_properties |
|
protectedinherited |
| string PlayerLua::_saved_pwd |
|
private |
Referenced by PlayerVideo::doSetProperty(), doSetProperty(), PlayerVideo::pause(), pause(), PlayerVideo::redraw(), redraw(), PlayerSvg::reload(), PlayerVideo::resume(), resume(), PlayerVideo::start(), start(), PlayerVideo::stop(), and stop().
| cairo_surface_t* Player::_surface |
|
protectedinherited |
| string Player::focusIndex |
|
inherited |
The documentation for this class was generated from the following files: