C# 클래스 MediaPortal.GUI.Library.GUIFilmstripControl

상속: GUIControl
파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1

보호된 프로퍼티들

프로퍼티 타입 설명
_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