C# Class MediaPortal.ProcessPlugins.MiniDisplayPlugin.DisplayHandler

Inheritance: IDisposable
Mostrar archivo Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Protected Properties

Property Type Description
heightInChars int
heightInCharsSim int
lines Line[]
pos int[]
posSkips int[]
prevLines string[]
widthInChars int

Public Methods

Method Description
DisplayHandler ( IDisplay _display ) : System
DisplayLines ( ) : void
Dispose ( ) : void
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Protected Methods

Method Description
Process ( int _line ) : string

Process a line of text, applying alignment and scrolling as needed according to our display features.

Private Methods

Method Description
AlignmentToContentAlignment ( Alignment aAlignment ) : ContentAlignment
DrawImages ( Graphics graphics ) : void
DrawText ( Graphics graphics ) : void
GetEmptyBitmap ( ) : Bitmap
ProcessG ( Graphics _graphics, int _line ) : void
SendGraphics ( ) : void
SendText ( ) : void

Method Details

DisplayHandler() public method

public DisplayHandler ( IDisplay _display ) : System
_display IDisplay
return System

DisplayLines() public method

public DisplayLines ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Process() protected method

Process a line of text, applying alignment and scrolling as needed according to our display features.
protected Process ( int _line ) : string
_line int The line index. O is the top line, 1 the bottom one.
return string

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

heightInChars protected_oe property

protected int heightInChars
return int

heightInCharsSim protected_oe property

protected int heightInCharsSim
return int

lines protected_oe property

protected Line[] lines
return Line[]

pos protected_oe property

protected int[] pos
return int[]

posSkips protected_oe property

protected int[] posSkips
return int[]

prevLines protected_oe property

protected string[] prevLines
return string[]

widthInChars protected_oe property

protected int widthInChars
return int