public override void Animate(float timePassed, Animator animator) { base.Animate(timePassed, animator); _reCalculate = true; }
/// <summary> /// Method to get animate the current control /// </summary> public override void Animate(float timePassed, Animator animator) { if (animator == null) { return; } if (_imageInfo != null) { _imageInfo.Animate(timePassed, animator); } if (_upDownControl != null) { _upDownControl.Animate(timePassed, animator); } if (_imageBackground != null) { _imageBackground.Animate(timePassed, animator); } base.Animate(timePassed, animator); }
public override void Animate(float timePassed, Animator animator) { if (_layoutAlbum != null) { _layoutAlbum.Animate(timePassed, animator); } if (_layoutList != null) { _layoutList.Animate(timePassed, animator); } if (_layoutThumbnail != null) { _layoutThumbnail.Animate(timePassed, animator); } if (_layoutFilmStrip != null) { _layoutFilmStrip.Animate(timePassed, animator); } if (_layoutPlayList != null) { _layoutPlayList.Animate(timePassed, animator); } if (_layoutCoverFlow != null) { _layoutCoverFlow.Animate(timePassed, animator); } base.Animate(timePassed, animator); }
/// <summary> /// Method to get animate the current control /// </summary> public virtual void Animate(float timePassed, Animator animator) { _isAnimating = true; int x = _originalRectangle.X; int y = _originalRectangle.Y; int w = _originalRectangle.Width; int h = _originalRectangle.Height; long color = _diffuseColor; animator.Animate(timePassed, ref x, ref y, ref w, ref h, ref color); _diffuseColor = color; _positionX = x; _positionY = y; base.Width = w; base.Height = h; DoUpdate(); }
public override void OnInit() { _startAnimation = true; _animator = new Animator(_animatorType); }
public override void Animate(float timePassed, Animator animator) { foreach (GUIControl control in Children) { control.Animate(timePassed, animator); } base.Animate(timePassed, animator); }
public override void Animate(float timePassed, Animator animator) { if (animator == null) { return; } if (_imageBackground != null) { _imageBackground.Animate(timePassed, animator); } if (_imageForeground != null) { _imageForeground.Animate(timePassed, animator); } base.Animate(timePassed, animator); }