C# Класс MediaPortal.GUI.Library.GUIFilmstripControl

Наследование: GUIControl
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_allThumbAnimations List
_brackedText string
_enableSMSsearch bool
_frameControl List
_frameFocusControl List
_horizontalScrollbar MediaPortal.GUI.Library.GUIHorizontalScrollbar
_lastSearchItem int
_listLabels List
_scollText string
_scrollContinuously bool
_scrollOffset double
_searchString string
_timeElapsed double

Открытые методы

Метод Описание
Add ( GUIListItem item ) : void
AllocResources ( ) : void
Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void

Method to get animate the current control

Clear ( ) : void
Dispose ( ) : void
FinalizeConstruction ( ) : void

This function is called after all of the XmlSkinnable fields have been filled with appropriate data. Use this to do any construction work other than simple data member assignments, for example, initializing new reference types, extra calculations, etc..

GUIFilmstripControl ( int dwParentID ) : 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
NeedRefresh ( ) : bool
OnAction ( Action action ) : void
OnMessage ( GUIMessage message ) : bool
PreAllocResources ( ) : void

Preallocates the control its DirectX resources.

ReStorePosition ( ) : void

Method to restore the saved-current control rectangle

RemoveItem ( int iItem ) : int
Render ( float timePassed ) : void

The render method. This method will draw the entire filmstrip

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
StorePosition ( ) : void

Method to store(save) the current control rectangle

this ( int index ) : GUIListItem

Защищенные методы

Метод Описание
OnSelectionChanged ( ) : void

Method which is called if the user selected another item in the filmstrip This method will update the property manager with the properties of the newly selected item

Приватные методы

Метод Описание
Calculate ( ) : void
CheckTimer ( ) : void
OnDown ( ) : void
OnLeft ( ) : void
OnPageDown ( ) : void
OnPageUp ( ) : void
OnRight ( ) : void
OnUp ( ) : bool
Press ( char Key ) : void

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

RenderItem ( int itemNumber, float timePassed, bool bFocus, int dwPosX, int dwPosY, GUIListItem pItem ) : void

Method to render a single item of the filmstrip

RenderScrollbar ( float timePassed ) : void
SearchItem ( string SearchKey, SearchType iSearchMethode ) : void

Search for first item starting with searchkey

SelectItemIndex ( int iItem ) : void
UpdateInfoImage ( ) : void
ValidItem ( int iX ) : bool

Описание методов

Add() публичный Метод

public Add ( GUIListItem item ) : void
item GUIListItem
Результат void

AllocResources() публичный Метод

public AllocResources ( ) : void
Результат void

Animate() публичный Метод

Method to get animate the current control
public Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void
timePassed float
animator MediaPortal.GUI.Library.Animator
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

FinalizeConstruction() публичный Метод

This function is called after all of the XmlSkinnable fields have been filled with appropriate data. Use this to do any construction work other than simple data member assignments, for example, initializing new reference types, extra calculations, etc..
public FinalizeConstruction ( ) : void
Результат void

GUIFilmstripControl() публичный Метод

public GUIFilmstripControl ( int dwParentID ) : System
dwParentID int
Результат System

GetSelectedItem() публичный Метод

public GetSelectedItem ( string &strLabel, string &strLabel2, string &strThumbnail, string &strIndex ) : int
strLabel string
strLabel2 string
strThumbnail string
strIndex string
Результат int

GetThumbDimensions() публичный Метод

public GetThumbDimensions ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

GetThumbDimensionsBig() публичный Метод

public GetThumbDimensionsBig ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

GetThumbDimensionsLow() публичный Метод

public GetThumbDimensionsLow ( int &iXpos, int &iYpos, int &iWidth, int &iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

HitTest() публичный Метод

public HitTest ( int x, int y, int &controlID, bool &focused ) : bool
x int
y int
controlID int
focused bool
Результат bool

Insert() публичный Метод

public Insert ( int index, GUIListItem item ) : void
index int
item GUIListItem
Результат void

NeedRefresh() публичный Метод

public NeedRefresh ( ) : bool
Результат bool

OnAction() публичный Метод

public OnAction ( Action action ) : void
action Action
Результат void

OnMessage() публичный Метод

public OnMessage ( GUIMessage message ) : bool
message GUIMessage
Результат bool

OnSelectionChanged() защищенный Метод

Method which is called if the user selected another item in the filmstrip This method will update the property manager with the properties of the newly selected item
protected OnSelectionChanged ( ) : void
Результат void

PreAllocResources() публичный Метод

Preallocates the control its DirectX resources.
public PreAllocResources ( ) : void
Результат void

ReStorePosition() публичный Метод

Method to restore the saved-current control rectangle
public ReStorePosition ( ) : void
Результат void

RemoveItem() публичный Метод

public RemoveItem ( int iItem ) : int
iItem int
Результат int

Render() публичный Метод

The render method. This method will draw the entire filmstrip
public Render ( float timePassed ) : void
timePassed float
Результат void

Replace() публичный Метод

public Replace ( int index, GUIListItem item ) : void
index int
item GUIListItem
Результат void

ScaleToScreenResolution() публичный Метод

public ScaleToScreenResolution ( ) : void
Результат void

SetNeedRefresh() публичный Метод

public SetNeedRefresh ( ) : void
Результат void

SetTextureDimensions() публичный Метод

public SetTextureDimensions ( int iWidth, int iHeight ) : void
iWidth int
iHeight int
Результат void

SetThumbDimensions() публичный Метод

public SetThumbDimensions ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

SetThumbDimensionsBig() публичный Метод

public SetThumbDimensionsBig ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

SetThumbDimensionsLow() публичный Метод

public SetThumbDimensionsLow ( int iXpos, int iYpos, int iWidth, int iHeight ) : void
iXpos int
iYpos int
iWidth int
iHeight int
Результат void

ShowBigIcons() публичный Метод

public ShowBigIcons ( bool bOnOff ) : void
bOnOff bool
Результат void

Sort() публичный Метод

public Sort ( IComparer comparer ) : void
comparer IComparer
Результат void

StorePosition() публичный Метод

Method to store(save) the current control rectangle
public StorePosition ( ) : void
Результат void

this() публичный Метод

public this ( int index ) : GUIListItem
index int
Результат GUIListItem

Описание свойств

_allThumbAnimations защищенное свойство

protected List _allThumbAnimations
Результат List

_brackedText защищенное свойство

protected string _brackedText
Результат string

_enableSMSsearch защищенное свойство

protected bool _enableSMSsearch
Результат bool

_frameControl защищенное свойство

protected List _frameControl
Результат List

_frameFocusControl защищенное свойство

protected List _frameFocusControl
Результат List

_horizontalScrollbar защищенное свойство

protected GUIHorizontalScrollbar,MediaPortal.GUI.Library _horizontalScrollbar
Результат MediaPortal.GUI.Library.GUIHorizontalScrollbar

_lastSearchItem защищенное свойство

protected int _lastSearchItem
Результат int

_listLabels защищенное свойство

protected List _listLabels
Результат List

_scollText защищенное свойство

protected string _scollText
Результат string

_scrollContinuously защищенное свойство

protected bool _scrollContinuously
Результат bool

_scrollOffset защищенное свойство

protected double _scrollOffset
Результат double

_searchString защищенное свойство

protected string _searchString
Результат string

_timeElapsed защищенное свойство

protected double _timeElapsed
Результат double