C# Class MediaPortal.GUI.Library.GUITextControl

Inheritance: GUIControl
Mostrar archivo Open project: MediaPortal/MediaPortal-1

Protected Properties

Property Type Description
_font MediaPortal.GUI.Library.GUIFont
_frames int
_imageHeight int
_imageWidth int
_itemHeight int
_itemList System.Collections.ArrayList
_itemsPerPage int
_lastItem int
_offset int
_scrollPosition int
_scrollPosititionX int
_spaceBetweenItems int
_startFrame int
_suffix string
_textOffsetX int
_textOffsetX2 int
_textOffsetY int
_textOffsetY2 int
_upDownControl MediaPortal.GUI.Library.GUISpinControl
_upDownEnabled bool

Private Properties

Property Type Description
Calculate void
SetText void

Public Methods

Method Description
AllocResources ( ) : void
Clear ( ) : void
Dispose ( ) : void
FinalizeConstruction ( ) : void
GUITextControl ( int dwParentID ) : System
GUITextControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strFontName, int dwSpinWidth, int dwSpinHeight, string strUp, string strDown, string strUpFocus, string strDownFocus, long dwSpinColor, int dwSpinX, int dwSpinY, long dwTextColor ) : System
HitTest ( int x, int y, int &controlID, bool &focused ) : bool
OnAction ( Action action ) : void
OnMessage ( GUIMessage message ) : bool
PreAllocResources ( ) : void
Render ( float timePassed ) : void
ScaleToScreenResolution ( ) : void
SetImageDimensions ( int iWidth, int iHeight ) : void
SetTextOffsets ( int iXoffset, int iYOffset, int iXoffset2, int iYOffset2 ) : void

Protected Methods

Method Description
OnDown ( ) : void
OnLeft ( ) : void
OnPageDown ( ) : void
OnPageUp ( ) : void
OnRight ( ) : void
OnUp ( ) : void

Private Methods

Method Description
Calculate ( ) : void
SetText ( string strText ) : void

Method Details

AllocResources() public method

public AllocResources ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FinalizeConstruction() public method

public FinalizeConstruction ( ) : void
return void

GUITextControl() public method

public GUITextControl ( int dwParentID ) : System
dwParentID int
return System

GUITextControl() public method

public GUITextControl ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strFontName, int dwSpinWidth, int dwSpinHeight, string strUp, string strDown, string strUpFocus, string strDownFocus, long dwSpinColor, int dwSpinX, int dwSpinY, long dwTextColor ) : System
dwParentID int
dwControlId int
dwPosX int
dwPosY int
dwWidth int
dwHeight int
strFontName string
dwSpinWidth int
dwSpinHeight int
strUp string
strDown string
strUpFocus string
strDownFocus string
dwSpinColor long
dwSpinX int
dwSpinY int
dwTextColor long
return System

HitTest() public method

public HitTest ( int x, int y, int &controlID, bool &focused ) : bool
x int
y int
controlID int
focused bool
return bool

OnAction() public method

public OnAction ( Action action ) : void
action Action
return void

OnDown() protected method

protected OnDown ( ) : void
return void

OnLeft() protected method

protected OnLeft ( ) : void
return void

OnMessage() public method

public OnMessage ( GUIMessage message ) : bool
message GUIMessage
return bool

OnPageDown() protected method

protected OnPageDown ( ) : void
return void

OnPageUp() protected method

protected OnPageUp ( ) : void
return void

OnRight() protected method

protected OnRight ( ) : void
return void

OnUp() protected method

protected OnUp ( ) : void
return void

PreAllocResources() public method

public PreAllocResources ( ) : void
return void

Render() public method

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

ScaleToScreenResolution() public method

public ScaleToScreenResolution ( ) : void
return void

SetImageDimensions() public method

public SetImageDimensions ( int iWidth, int iHeight ) : void
iWidth int
iHeight int
return void

SetTextOffsets() public method

public SetTextOffsets ( int iXoffset, int iYOffset, int iXoffset2, int iYOffset2 ) : void
iXoffset int
iYOffset int
iXoffset2 int
iYOffset2 int
return void

Property Details

_font protected_oe property

protected GUIFont,MediaPortal.GUI.Library _font
return MediaPortal.GUI.Library.GUIFont

_frames protected_oe property

protected int _frames
return int

_imageHeight protected_oe property

protected int _imageHeight
return int

_imageWidth protected_oe property

protected int _imageWidth
return int

_itemHeight protected_oe property

protected int _itemHeight
return int

_itemList protected_oe property

protected ArrayList,System.Collections _itemList
return System.Collections.ArrayList

_itemsPerPage protected_oe property

protected int _itemsPerPage
return int

_lastItem protected_oe property

protected int _lastItem
return int

_offset protected_oe property

protected int _offset
return int

_scrollPosition protected_oe property

protected int _scrollPosition
return int

_scrollPosititionX protected_oe property

protected int _scrollPosititionX
return int

_spaceBetweenItems protected_oe property

protected int _spaceBetweenItems
return int

_startFrame protected_oe property

protected int _startFrame
return int

_suffix protected_oe property

protected string _suffix
return string

_textOffsetX protected_oe property

protected int _textOffsetX
return int

_textOffsetX2 protected_oe property

protected int _textOffsetX2
return int

_textOffsetY protected_oe property

protected int _textOffsetY
return int

_textOffsetY2 protected_oe property

protected int _textOffsetY2
return int

_upDownControl protected_oe property

protected GUISpinControl,MediaPortal.GUI.Library _upDownControl
return MediaPortal.GUI.Library.GUISpinControl

_upDownEnabled protected_oe property

protected bool _upDownEnabled
return bool