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.cpp | |
parent | c4c7570816b3f1888d6a2c3a27922a2d8d4c51b2 (diff) |
dividing anim::Task's into visual/non-visual and taking it into account in RenderPolicy::NeedRedraw.
Diffstat (limited to 'anim/task.cpp')
-rw-r--r-- | anim/task.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/anim/task.cpp b/anim/task.cpp index 92a5c4b04e..72bbdb2cfa 100644 --- a/anim/task.cpp +++ b/anim/task.cpp @@ -97,6 +97,11 @@ namespace anim return State() == EReady; } + bool Task::IsVisual() const + { + return false; + } + void Task::AddCallback(EState state, TCallback const & cb) { m_Callbacks[state].push_back(cb); |