class GFX_EXPORT SlideAnimation : public LinearAnimation {
public:
explicit SlideAnimation(AnimationDelegate* target);
- virtual ~SlideAnimation();
+ ~SlideAnimation() override;
// Set the animation back to the 0 state.
virtual void Reset();
int GetSlideDuration() const { return slide_duration_; }
void SetTweenType(Tween::Type tween_type) { tween_type_ = tween_type; }
- virtual double GetCurrentValue() const OVERRIDE;
+ double GetCurrentValue() const override;
bool IsShowing() const { return showing_; }
bool IsClosing() const { return !showing_ && value_end_ < value_current_; }
private:
// Overridden from Animation.
- virtual void AnimateToState(double state) OVERRIDE;
+ void AnimateToState(double state) override;
AnimationDelegate* target_;