Index: app/slide_animation.cc |
diff --git a/app/slide_animation.cc b/app/slide_animation.cc |
index c79e3ec308201b5dc12a2022d1c8d8914996cc14..9029fd8fafd8c7748309c28bba4b01a324e69d6a 100644 |
--- a/app/slide_animation.cc |
+++ b/app/slide_animation.cc |
@@ -80,6 +80,14 @@ void SlideAnimation::Hide() { |
Start(); |
} |
+void SlideAnimation::SetSlideDuration(int duration) { |
+ slide_duration_ = duration; |
+} |
+ |
+double SlideAnimation::GetCurrentValue() const { |
+ return value_current_; |
+} |
+ |
void SlideAnimation::AnimateToState(double state) { |
if (state > 1.0) |
state = 1.0; |