ginga 1.0
The Ginga iTV middleware
|
Public Member Functions | |
Player (Formatter *, Media *) | |
State | getState () |
void | getZ (int *, int *) |
bool | isFocused () |
Time | getTime () |
void | incTime (Time) |
Time | getDuration () |
void | setDuration (Time) |
bool | getEOS () |
void | setEOS (bool) |
virtual void | start () |
virtual void | stop () |
virtual void | pause () |
virtual void | resume () |
virtual string | getProperty (const string &) |
virtual void | setProperty (const string &, const string &) |
void | resetProperties () |
void | resetProperties (set< string > *) |
void | schedulePropertyAnimation (const string &, const string &, const string &, Time) |
virtual void | reload () |
virtual void | redraw (cairo_t *) |
virtual void | sendKeyEvent (const string &, bool) |
virtual void | sendPresentationEvent (const string &, const string &) |
Static Public Member Functions | |
static string | getCurrentFocus () |
static void | setCurrentFocus (const string &) |
static Property | getPlayerProperty (const string &, string *) |
static bool | getMimeForURI (const string &, string *) |
static Player * | createPlayer (Formatter *, Media *, const string &, const string &type="") |
Protected Member Functions | |
virtual bool | doSetProperty (Property, const string &, const string &) |
Protected Attributes | ||
Formatter * | _formatter | |
Media * | _media | |
string | _id | |
State | _state | |
Time | _time | |
bool | _eos | |
cairo_surface_t * | _surface | |
bool | _opengl | |
guint | _gltexture | |
bool | _dirty | |
PlayerAnimator * | _animator | |
list< int > | _crop | |
map< string, string > | _properties | |
struct { | ||
Color bgColor | ||
Rect rect | ||
Time duration | ||
bool debug | ||
bool visible | ||
guint8 alpha | ||
int zindex | ||
int zorder | ||
string focusIndex | ||
Color focusBorderColor | ||
int focusBorderWidth | ||
guint8 focusBorderTransparency | ||
Color selBorderColor | ||
string type | ||
string uri | ||
} | _prop | |
Private Member Functions | |
void | redrawDebuggingInfo (cairo_t *) |
Static Private Attributes | |
static string | _currentFocus = "" |
|
virtual |
Reimplemented in ginga::PlayerHTML.