C# Class OpenRA.Mods.Common.Widgets.VqaPlayerWidget

Inheritance: OpenRA.Widgets.Widget
Show file Open project: pchote/OpenRA

Public Properties

Property Type Description
AspectRatio float
CancelKey Hotkey
DrawOverlay bool
Skippable bool

Public Methods

Method Description
CloseVideo ( ) : void
Draw ( ) : void
GetCursor ( int2 pos ) : string
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
Load ( string filename ) : void
Open ( VqaReader video ) : void
Pause ( ) : void
Play ( ) : void
PlayThen ( System.Action after ) : void
Stop ( ) : void

Method Details

CloseVideo() public method

public CloseVideo ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

GetCursor() public method

public GetCursor ( int2 pos ) : string
pos int2
return string

HandleKeyPress() public method

public HandleKeyPress ( KeyInput e ) : bool
e KeyInput
return bool

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

Load() public method

public Load ( string filename ) : void
filename string
return void

Open() public method

public Open ( VqaReader video ) : void
video OpenRA.Mods.Common.FileFormats.VqaReader
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

PlayThen() public method

public PlayThen ( System.Action after ) : void
after System.Action
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

AspectRatio public property

public float AspectRatio
return float

CancelKey public property

public Hotkey CancelKey
return Hotkey

DrawOverlay public property

public bool DrawOverlay
return bool

Skippable public property

public bool Skippable
return bool