C# Class MediaPortal.GUI.Library.GUIGroup

A class which implements a group A group can hold 1 or more controls and apply an animation to the entire group
Inheritance: GUIControl, ISupportInitialize, IAddChild
Afficher le fichier Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Méthodes publiques

Méthode Description
AddControl ( GUIControl control ) : void
AllocResources ( ) : void
Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void
Dispose ( ) : void
DoUpdate ( ) : void
FinalizeConstruction ( ) : void
GUIGroup ( int parentId ) : System.Collections.Generic
GetAnimation ( AnimationType type, bool checkConditions ) : VisualEffect
GetAnimations ( AnimationType type, bool checkConditions ) : List
GetControlById ( int ID ) : GUIControl
GetFocusControlId ( ) : int
HitTest ( int x, int y, int &controlID, bool &focused ) : bool
IAddChild ( object value ) : void
IAddChild ( string text ) : void
ISupportInitialize ( ) : void
IsEffectAnimating ( AnimationType animType ) : bool
NeedRefresh ( ) : bool
OnAction ( Action action ) : void
OnInit ( ) : void
PreAllocResources ( ) : void
QueueAnimation ( AnimationType animType ) : void
ReStorePosition ( ) : void
Remove ( int controlId ) : void
Render ( float timePassed ) : void
StorePosition ( ) : void
UpdateVisibility ( ) : void
this ( int index ) : GUIControl

Méthodes protégées

Méthode Description
Arrange ( ) : void

Private Methods

Méthode Description
CheckButtonsModifiedPosition ( ) : bool
RestoreButtonsPosition ( ) : void
ShiftControlsDown ( int index ) : void
ShiftControlsLeft ( int index ) : void
ShiftControlsRight ( int index ) : void
ShiftControlsUp ( int index ) : void
Spacing ( System orientation ) : int
StoreButtonsModifiedPosition ( ) : void
StoreButtonsPosition ( ) : void
StoreButtonsVisibilityState ( ) : void

Method Details

AddControl() public méthode

public AddControl ( GUIControl control ) : void
control GUIControl
Résultat void

AllocResources() public méthode

public AllocResources ( ) : void
Résultat void

Animate() public méthode

public Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void
timePassed float
animator MediaPortal.GUI.Library.Animator
Résultat void

Arrange() protected méthode

protected Arrange ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DoUpdate() public méthode

public DoUpdate ( ) : void
Résultat void

FinalizeConstruction() public méthode

public FinalizeConstruction ( ) : void
Résultat void

GUIGroup() public méthode

public GUIGroup ( int parentId ) : System.Collections.Generic
parentId int
Résultat System.Collections.Generic

GetAnimation() public méthode

public GetAnimation ( AnimationType type, bool checkConditions ) : VisualEffect
type AnimationType
checkConditions bool
Résultat VisualEffect

GetAnimations() public méthode

public GetAnimations ( AnimationType type, bool checkConditions ) : List
type AnimationType
checkConditions bool
Résultat List

GetControlById() public méthode

public GetControlById ( int ID ) : GUIControl
ID int
Résultat GUIControl

GetFocusControlId() public méthode

public GetFocusControlId ( ) : int
Résultat int

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

IAddChild() public méthode

public IAddChild ( object value ) : void
value object
Résultat void

IAddChild() public méthode

public IAddChild ( string text ) : void
text string
Résultat void

ISupportInitialize() public méthode

public ISupportInitialize ( ) : void
Résultat void

IsEffectAnimating() public méthode

public IsEffectAnimating ( AnimationType animType ) : bool
animType AnimationType
Résultat bool

NeedRefresh() public méthode

public NeedRefresh ( ) : bool
Résultat bool

OnAction() public méthode

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

OnInit() public méthode

public OnInit ( ) : void
Résultat void

PreAllocResources() public méthode

public PreAllocResources ( ) : void
Résultat void

QueueAnimation() public méthode

public QueueAnimation ( AnimationType animType ) : void
animType AnimationType
Résultat void

ReStorePosition() public méthode

public ReStorePosition ( ) : void
Résultat void

Remove() public méthode

public Remove ( int controlId ) : void
controlId int
Résultat void

Render() public méthode

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

StorePosition() public méthode

public StorePosition ( ) : void
Résultat void

UpdateVisibility() public méthode

public UpdateVisibility ( ) : void
Résultat void

this() public méthode

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