C# Class MediaPortal.GUI.Video.GUIVideoOverlay

Container for preview window - also setting video properties like title, playtime, etc for skin access
Inheritance: MediaPortal.GUI.Library.GUIInternalOverlayWindow, IRenderLayer
Exibir arquivo Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
DoesPostRender ( ) : bool
GUIVideoOverlay ( ) : System
Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void
PostRender ( float timePassed, int iLayer ) : void
PreInit ( ) : void
Render ( float timePassed ) : void
RenderLayer ( float timePassed ) : void
ShouldRenderLayer ( ) : bool

Protected Methods

Method Description
ShouldFocus ( MediaPortal.GUI.Library.Action action ) : bool

Private Methods

Method Description
OnUpdateState ( bool render ) : void
OnVideoChanged ( ) : void
SetCurrentFile ( string fileName ) : void

Examines the current playing movie and fills in all the properties for the skin. For movies it will look in the video database for any IMDB info For record TV programs it will look in the TVDatabase for recording info

Function will fill in the following properties for TV programs #Play.Current.Title, #Play.Current.Plot, #Play.Current.PlotOutline #Play.Current.File, #Play.Current.Thumb, #Play.Current.Year, #Play.Current.Channel, Function will fill in the following properties for movies #Play.Current.Title, #Play.Current.Plot, #Play.Current.PlotOutline #Play.Current.File, #Play.Current.Thumb, #Play.Current.Year #Play.Current.Director, #cast, #dvdlabel, #imdbnumber, #Play.Current.Plot, #Play.Current.PlotOutline, #rating, #tagline, #votes, #credits

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DoesPostRender() public method

public DoesPostRender ( ) : bool
return bool

GUIVideoOverlay() public method

public GUIVideoOverlay ( ) : System
return System

Init() public method

public Init ( ) : bool
return bool

OnAction() public method

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
return void

PostRender() public method

public PostRender ( float timePassed, int iLayer ) : void
timePassed float
iLayer int
return void

PreInit() public method

public PreInit ( ) : void
return void

Render() public method

public Render ( float timePassed ) : void
timePassed float
return void

RenderLayer() public method

public RenderLayer ( float timePassed ) : void
timePassed float
return void

ShouldFocus() protected method

protected ShouldFocus ( MediaPortal.GUI.Library.Action action ) : bool
action MediaPortal.GUI.Library.Action
return bool

ShouldRenderLayer() public method

public ShouldRenderLayer ( ) : bool
return bool