summaryrefslogtreecommitdiffstats
path: root/app/throb_animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/throb_animation.h')
-rw-r--r--app/throb_animation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/throb_animation.h b/app/throb_animation.h
index 637e8e0..43e4197 100644
--- a/app/throb_animation.h
+++ b/app/throb_animation.h
@@ -37,6 +37,10 @@ class ThrobAnimation : public SlideAnimation {
// Overridden to maintain the slide duration.
virtual void SetSlideDuration(int duration) { slide_duration_ = duration; }
+ // The number of cycles remaining until the animation stops.
+ void set_cycles_remaining(int value) { cycles_remaining_ = value; }
+ int cycles_remaining() const { return cycles_remaining_; }
+
private:
// Resets state such that we behave like SlideAnimation.
void ResetForSlide();