C# Class MediaPortal.GUI.Library.GUIVideoControl

This class will draw a placeholder for the current video window if no video is playing it will present an empty rectangle
Inheritance: GUIControl
Afficher le fichier Open project: MediaPortal/MediaPortal-1

Protected Properties

Свойство Type Description
_imageFocusRectangle GUIAnimation
_setVideoWindow bool
_videoWindows System.Drawing.Rectangle[]
blackImage GUIImage
thumbImage GUIImage

Méthodes publiques

Méthode Description
AllocResources ( ) : void
CanFocus ( ) : bool
Dispose ( ) : void
FinalizeConstruction ( ) : void
GUIVideoControl ( int dwParentID ) : System.Drawing
GUIVideoControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string texturename ) : System.Drawing
HitTest ( int x, int y, int &controlID, bool &focused ) : bool

Checks if the x and y coordinates correspond to the current control.

OnAction ( MediaPortal.GUI.Library.Action action ) : void
OnDeInit ( ) : void
OnInit ( ) : void
Render ( float timePassed ) : void

Method Details

AllocResources() public méthode

public AllocResources ( ) : void
Résultat void

CanFocus() public méthode

public CanFocus ( ) : bool
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FinalizeConstruction() public méthode

public FinalizeConstruction ( ) : void
Résultat void

GUIVideoControl() public méthode

public GUIVideoControl ( int dwParentID ) : System.Drawing
dwParentID int
Résultat System.Drawing

GUIVideoControl() public méthode

public GUIVideoControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string texturename ) : System.Drawing
dwParentID int
dwControlId int
dwPosX int
dwPosY int
dwWidth int
dwHeight int
texturename string
Résultat System.Drawing

HitTest() public méthode

Checks if the x and y coordinates correspond to the current control.
public HitTest ( int x, int y, int &controlID, bool &focused ) : bool
x int The x coordinate.
y int The y coordinate.
controlID int
focused bool
Résultat bool

OnAction() public méthode

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

OnDeInit() public méthode

public OnDeInit ( ) : void
Résultat void

OnInit() public méthode

public OnInit ( ) : void
Résultat void

Render() public méthode

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

Property Details

_imageFocusRectangle protected_oe property

protected GUIAnimation,MediaPortal.GUI.Library _imageFocusRectangle
Résultat GUIAnimation

_setVideoWindow protected_oe property

protected bool _setVideoWindow
Résultat bool

_videoWindows protected_oe property

protected Rectangle[],System.Drawing _videoWindows
Résultat System.Drawing.Rectangle[]

blackImage protected_oe property

protected GUIImage,MediaPortal.GUI.Library blackImage
Résultat GUIImage

thumbImage protected_oe property

protected GUIImage,MediaPortal.GUI.Library thumbImage
Résultat GUIImage