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
Afficher le fichier Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ShouldFocus ( MediaPortal.GUI.Library.Action action ) : bool

Private Methods

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

DoesPostRender() public méthode

public DoesPostRender ( ) : bool
Résultat bool

GUIVideoOverlay() public méthode

public GUIVideoOverlay ( ) : System
Résultat System

Init() public méthode

public Init ( ) : bool
Résultat bool

OnAction() public méthode

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
Résultat void

PostRender() public méthode

public PostRender ( float timePassed, int iLayer ) : void
timePassed float
iLayer int
Résultat void

PreInit() public méthode

public PreInit ( ) : void
Résultat void

Render() public méthode

public Render ( float timePassed ) : void
timePassed float
Résultat void

RenderLayer() public méthode

public RenderLayer ( float timePassed ) : void
timePassed float
Résultat void

ShouldFocus() protected méthode

protected ShouldFocus ( MediaPortal.GUI.Library.Action action ) : bool
action MediaPortal.GUI.Library.Action
Résultat bool

ShouldRenderLayer() public méthode

public ShouldRenderLayer ( ) : bool
Résultat bool