diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-10-11 19:34:13 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:45:22 +0300 |
commit | 0e4f41bfb531d6b49caa8ee8fc8de7216774108b (patch) | |
tree | b4b2a5ba68c58f2aed1b56c602005c6af1089a4f /anim/task.hpp | |
parent | c4c7570816b3f1888d6a2c3a27922a2d8d4c51b2 (diff) |
dividing anim::Task's into visual/non-visual and taking it into account in RenderPolicy::NeedRedraw.
Diffstat (limited to 'anim/task.hpp')
-rw-r--r-- | anim/task.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/anim/task.hpp b/anim/task.hpp index 8cea0054dd..470d22b1e9 100644 --- a/anim/task.hpp +++ b/anim/task.hpp @@ -69,6 +69,10 @@ namespace anim void Lock(); void Unlock(); + /// is this animation task animate something, + /// which is directly changing visual appearance. + virtual bool IsVisual() const; + void AddCallback(EState state, TCallback const & cb); }; } |