C# Class MediaPortal.GUI.Library.GUIThumbnailPanel

Inheritance: GUIControl
Afficher le fichier Open project: MediaPortal/MediaPortal-1

Protected Properties

Свойство Type Description
_allThumbAnimations List
_brackedText string
_enableSMSsearch bool
_frameFocusControl GUIAnimation
_frameNoFocusControl GUIAnimation
_lastCommandTime double
_lastSearchItem int
_listButtons List
_listLabels List
_loopDelay int
_lowItemHeight int
_lowItemWidth int
_lowTextureHeight int
_lowTextureWidth int
_scrollContinuously bool
_scrollOffset double
_scrollText string
_searchString string
_timeElapsed double
_verticalScrollBar MediaPortal.GUI.Library.GUIVerticalScrollbar

Méthodes publiques

Méthode Description
Add ( GUIListItem item ) : void
AllocResources ( ) : void
Clear ( ) : void
Dispose ( ) : void
FinalizeConstruction ( ) : void
GUIThumbnailPanel ( int dwParentID ) : System
GUIThumbnailPanel ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strImageIcon, string strImageIconFocus, int dwitemWidth, int dwitemHeight, int dwSpinWidth, int dwSpinHeight, string strUp, string strDown, string strUpFocus, string strDownFocus, long dwSpinColor, int dwSpinX, int dwSpinY, string strFont, long dwTextColor, long dwSelectedColor, string strScrollbarBackground, string strScrollbarTop, string strScrollbarBottom, int dwShadowAngle, int dwShadowDistance, long dwShadowColor ) : System
GetSelectedItem ( string &strLabel, string &strLabel2, string &strThumbnail, string &strIndex ) : int
GetThumbDimensions ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
GetThumbDimensionsBig ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
GetThumbDimensionsLow ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
HitTest ( int x, int y, int &controlID, bool &focused ) : bool
Insert ( int index, GUIListItem item ) : void
MoveItemDown ( int iItem ) : int
MoveItemUp ( int iItem ) : int
NeedRefresh ( ) : bool
OnAction ( Action action ) : void
OnMessage ( GUIMessage message ) : bool
PreAllocResources ( ) : void
RemoveItem ( int iItem ) : int
Render ( float timePassed ) : void
Replace ( int index, GUIListItem item ) : void
ScaleToScreenResolution ( ) : void
SetNeedRefresh ( ) : void
SetTextureDimensions ( int iWidth, int iHeight ) : void
SetThumbDimensions ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
SetThumbDimensionsBig ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
SetThumbDimensionsLow ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
ShowBigIcons ( bool bOnOff ) : void
Sort ( IComparer comparer ) : void
this ( int index ) : GUIListItem

Méthodes protégées

Méthode Description
CalculatePages ( int item ) : int
CalculateRows ( int item ) : int
OnSelectionChanged ( ) : void
ScrollItems ( int itemInc ) : void

Private Methods

Méthode Description
Calculate ( ) : void
CheckTimer ( ) : void
OnDown ( ) : void
OnLeft ( ) : void
OnPageDown ( ) : void
OnPageUp ( ) : void
OnRight ( ) : void
OnUp ( ) : void
Press ( char Key ) : void

Handle keypress events for SMS style search (key '1'..'9')

RenderItem ( float timePassed, int iButton, bool bFocus, int dwPosX, int dwPosY, GUIListItem pItem, bool buttonOnly ) : void
RenderScrollbar ( float timePassed, int y ) : void
SearchItem ( string SearchKey, SearchType iSearchMethode ) : void

Search for first item starting with searchkey

SelectItem ( int iItem ) : void
SetDownFocus ( Action action, int offsetDecrease ) : void
ValidItem ( int iX, int iY ) : bool

Method Details

Add() public méthode

public Add ( GUIListItem item ) : void
item GUIListItem
Résultat void

AllocResources() public méthode

public AllocResources ( ) : void
Résultat void

CalculatePages() protected méthode

protected CalculatePages ( int item ) : int
item int
Résultat int

CalculateRows() protected méthode

protected CalculateRows ( int item ) : int
item int
Résultat int

Clear() public méthode

public Clear ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FinalizeConstruction() public méthode

public FinalizeConstruction ( ) : void
Résultat void

GUIThumbnailPanel() public méthode

public GUIThumbnailPanel ( int dwParentID ) : System
dwParentID int
Résultat System

GUIThumbnailPanel() public méthode

public GUIThumbnailPanel ( int dwParentID, int dwControlId, int dwPosX, int dwPosY, int dwWidth, int dwHeight, string strImageIcon, string strImageIconFocus, int dwitemWidth, int dwitemHeight, int dwSpinWidth, int dwSpinHeight, string strUp, string strDown, string strUpFocus, string strDownFocus, long dwSpinColor, int dwSpinX, int dwSpinY, string strFont, long dwTextColor, long dwSelectedColor, string strScrollbarBackground, string strScrollbarTop, string strScrollbarBottom, int dwShadowAngle, int dwShadowDistance, long dwShadowColor ) : System
dwParentID int
dwControlId int
dwPosX int
dwPosY int
dwWidth int
dwHeight int
strImageIcon string
strImageIconFocus string
dwitemWidth int
dwitemHeight int
dwSpinWidth int
dwSpinHeight int
strUp string
strDown string
strUpFocus string
strDownFocus string
dwSpinColor long
dwSpinX int
dwSpinY int
strFont string
dwTextColor long
dwSelectedColor long
strScrollbarBackground string
strScrollbarTop string
strScrollbarBottom string
dwShadowAngle int
dwShadowDistance int
dwShadowColor long
Résultat System

GetSelectedItem() public méthode

public GetSelectedItem ( string &strLabel, string &strLabel2, string &strThumbnail, string &strIndex ) : int
strLabel string
strLabel2 string
strThumbnail string
strIndex string
Résultat int

GetThumbDimensions() public méthode

public GetThumbDimensions ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

GetThumbDimensionsBig() public méthode

public GetThumbDimensionsBig ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

GetThumbDimensionsLow() public méthode

public GetThumbDimensionsLow ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

HitTest() public méthode

public HitTest ( int x, int y, int &controlID, bool &focused ) : bool
x int
y int
controlID int
focused bool
Résultat bool

Insert() public méthode

public Insert ( int index, GUIListItem item ) : void
index int
item GUIListItem
Résultat void

MoveItemDown() public méthode

public MoveItemDown ( int iItem ) : int
iItem int
Résultat int

MoveItemUp() public méthode

public MoveItemUp ( int iItem ) : int
iItem int
Résultat int

NeedRefresh() public méthode

public NeedRefresh ( ) : bool
Résultat bool

OnAction() public méthode

public OnAction ( Action action ) : void
action Action
Résultat void

OnMessage() public méthode

public OnMessage ( GUIMessage message ) : bool
message GUIMessage
Résultat bool

OnSelectionChanged() protected méthode

protected OnSelectionChanged ( ) : void
Résultat void

PreAllocResources() public méthode

public PreAllocResources ( ) : void
Résultat void

RemoveItem() public méthode

public RemoveItem ( int iItem ) : int
iItem int
Résultat int

Render() public méthode

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

Replace() public méthode

public Replace ( int index, GUIListItem item ) : void
index int
item GUIListItem
Résultat void

ScaleToScreenResolution() public méthode

public ScaleToScreenResolution ( ) : void
Résultat void

ScrollItems() protected méthode

protected ScrollItems ( int itemInc ) : void
itemInc int
Résultat void

SetNeedRefresh() public méthode

public SetNeedRefresh ( ) : void
Résultat void

SetTextureDimensions() public méthode

public SetTextureDimensions ( int iWidth, int iHeight ) : void
iWidth int
iHeight int
Résultat void

SetThumbDimensions() public méthode

public SetThumbDimensions ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

SetThumbDimensionsBig() public méthode

public SetThumbDimensionsBig ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

SetThumbDimensionsLow() public méthode

public SetThumbDimensionsLow ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Résultat void

ShowBigIcons() public méthode

public ShowBigIcons ( bool bOnOff ) : void
bOnOff bool
Résultat void

Sort() public méthode

public Sort ( IComparer comparer ) : void
comparer IComparer
Résultat void

this() public méthode

public this ( int index ) : GUIListItem
index int
Résultat GUIListItem

Property Details

_allThumbAnimations protected_oe property

protected List _allThumbAnimations
Résultat List

_brackedText protected_oe property

protected string _brackedText
Résultat string

_enableSMSsearch protected_oe property

protected bool _enableSMSsearch
Résultat bool

_frameFocusControl protected_oe property

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

_frameNoFocusControl protected_oe property

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

_lastCommandTime protected_oe property

protected double _lastCommandTime
Résultat double

_lastSearchItem protected_oe property

protected int _lastSearchItem
Résultat int

_listButtons protected_oe property

protected List _listButtons
Résultat List

_listLabels protected_oe property

protected List _listLabels
Résultat List

_loopDelay protected_oe property

protected int _loopDelay
Résultat int

_lowItemHeight protected_oe property

protected int _lowItemHeight
Résultat int

_lowItemWidth protected_oe property

protected int _lowItemWidth
Résultat int

_lowTextureHeight protected_oe property

protected int _lowTextureHeight
Résultat int

_lowTextureWidth protected_oe property

protected int _lowTextureWidth
Résultat int

_scrollContinuously protected_oe property

protected bool _scrollContinuously
Résultat bool

_scrollOffset protected_oe property

protected double _scrollOffset
Résultat double

_scrollText protected_oe property

protected string _scrollText
Résultat string

_searchString protected_oe property

protected string _searchString
Résultat string

_timeElapsed protected_oe property

protected double _timeElapsed
Résultat double

_verticalScrollBar protected_oe property

protected GUIVerticalScrollbar,MediaPortal.GUI.Library _verticalScrollBar
Résultat MediaPortal.GUI.Library.GUIVerticalScrollbar