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
Mostra file Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Arrange ( ) : void

Private Methods

Method 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 method

public AddControl ( GUIControl control ) : void
control GUIControl
return void

AllocResources() public method

public AllocResources ( ) : void
return void

Animate() public method

public Animate ( float timePassed, MediaPortal.GUI.Library.Animator animator ) : void
timePassed float
animator MediaPortal.GUI.Library.Animator
return void

Arrange() protected method

protected Arrange ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoUpdate() public method

public DoUpdate ( ) : void
return void

FinalizeConstruction() public method

public FinalizeConstruction ( ) : void
return void

GUIGroup() public method

public GUIGroup ( int parentId ) : System.Collections.Generic
parentId int
return System.Collections.Generic

GetAnimation() public method

public GetAnimation ( AnimationType type, bool checkConditions ) : VisualEffect
type AnimationType
checkConditions bool
return VisualEffect

GetAnimations() public method

public GetAnimations ( AnimationType type, bool checkConditions ) : List
type AnimationType
checkConditions bool
return List

GetControlById() public method

public GetControlById ( int ID ) : GUIControl
ID int
return GUIControl

GetFocusControlId() public method

public GetFocusControlId ( ) : int
return int

HitTest() public method

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

IAddChild() public method

public IAddChild ( object value ) : void
value object
return void

IAddChild() public method

public IAddChild ( string text ) : void
text string
return void

ISupportInitialize() public method

public ISupportInitialize ( ) : void
return void

IsEffectAnimating() public method

public IsEffectAnimating ( AnimationType animType ) : bool
animType AnimationType
return bool

NeedRefresh() public method

public NeedRefresh ( ) : bool
return bool

OnAction() public method

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

OnInit() public method

public OnInit ( ) : void
return void

PreAllocResources() public method

public PreAllocResources ( ) : void
return void

QueueAnimation() public method

public QueueAnimation ( AnimationType animType ) : void
animType AnimationType
return void

ReStorePosition() public method

public ReStorePosition ( ) : void
return void

Remove() public method

public Remove ( int controlId ) : void
controlId int
return void

Render() public method

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

StorePosition() public method

public StorePosition ( ) : void
return void

UpdateVisibility() public method

public UpdateVisibility ( ) : void
return void

this() public method

public this ( int index ) : GUIControl
index int
return GUIControl