diff options
Diffstat (limited to 'app/animation.h')
-rw-r--r-- | app/animation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/animation.h b/app/animation.h index 58a2c67..8228d62 100644 --- a/app/animation.h +++ b/app/animation.h @@ -89,6 +89,11 @@ class Animation { // state of the animation to the beginning. void SetDuration(int duration); + // Returns true if rich animations should be rendered. + // Looks at session type (e.g. remote desktop) and accessibility settings + // to give guidance for heavy animations such as "start download" arrow. + static bool ShouldRenderRichAnimation(); + protected: // Overriddable, called by Run. virtual void Step(); |