#include <PlayerSvg.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 |
|
| PlayerSvg::~PlayerSvg |
( |
| ) |
|
| Player * Player::createPlayer |
( |
Formatter * |
formatter, |
|
|
const string & |
id, |
|
|
const string & |
uri, |
|
|
const string & |
mime |
|
) |
| |
|
staticinherited |
| bool Player::doSetProperty |
( |
PlayerProperty |
, |
|
|
const string & |
, |
|
|
const string & |
|
|
) |
| |
|
protectedvirtualinherited |
Reimplemented in PlayerLua, PlayerText, and PlayerVideo.
References g_assert(), GINGA_TIME_NONE, parse_bool(), parse_color(), parse_percent(), parse_pixel(), parse_time(), try_parse_list(), unlikely, and xstrtoint().
Referenced by PlayerVideo::doSetProperty(), PlayerText::doSetProperty(), and PlayerLua::doSetProperty().
| 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 Player::redraw |
( |
cairo_t * |
cr | ) |
|
|
virtualinherited |
| void PlayerSvg::reload |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Player.
References Player::_prop, Player::_state, Player::_surface, Player::_uri, ERROR, g_assert(), g_assert_nonnull(), GINGA_NAMESPACE_END, Player::reload(), Player::SLEEPING, and unlikely.
| void Player::resetProperties |
( |
| ) |
|
|
inherited |
| void Player::resetProperties |
( |
set< string > * |
props | ) |
|
|
inherited |
| void Player::schedulePropertyAnimation |
( |
const string & |
name, |
|
|
const string & |
from, |
|
|
const string & |
to, |
|
|
Time |
dur |
|
) |
| |
|
inherited |
| void Player::sendKeyEvent |
( |
const string & |
, |
|
|
bool |
|
|
) |
| |
|
virtualinherited |
| 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 |
| struct { ... } Player::_prop |
| map<string, string> Player::_properties |
|
protectedinherited |
Referenced by PlayerVideo::doSetProperty(), PlayerLua::doSetProperty(), PlayerVideo::pause(), PlayerLua::pause(), PlayerVideo::redraw(), PlayerLua::redraw(), reload(), PlayerVideo::resume(), PlayerLua::resume(), PlayerVideo::start(), PlayerLua::start(), PlayerVideo::stop(), and PlayerLua::stop().
| cairo_surface_t* Player::_surface |
|
protectedinherited |
| string Player::focusIndex |
|
inherited |
The documentation for this class was generated from the following files: