summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-05-28 12:04:32 +1000
committerTomaž Vajngerl <quikee@gmail.com>2022-06-21 07:47:29 +0200
commita98b0037c6116ed7a0f4f426571bbb361cf2e62f (patch)
tree874fd33b812f1c0f4a2dce75449fab18ac869a61 /include
parent0dd712ff067115b0b53ba412c61a4f5329662550 (diff)
vcl: rename ImplAnimView to AnimationRenderer
An ImplAnimView is actually just a way of rendering an animation to an OutputDevice (RenderContext). Each instance has a unique ID (called mnExraData, which is quite misleading). ImplAnimView doesn't really mean much so hence the rename to make this a bit more clear. In the process, also rename local variables pView to pRenderer in Animation functions. Change-Id: Ib70f41052c5266acd7f2460001ce5be75b74d5a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/76402 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/animate/Animation.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/animate/Animation.hxx b/include/vcl/animate/Animation.hxx
index 809b8eac434d..57f1c9d6227e 100644
--- a/include/vcl/animate/Animation.hxx
+++ b/include/vcl/animate/Animation.hxx
@@ -27,7 +27,7 @@
#define ANIMATION_TIMEOUT_ON_CLICK 2147483647L
-class ImplAnimView;
+class AnimationRenderer;
class VCL_DLLPUBLIC Animation
{
@@ -97,7 +97,7 @@ private:
SAL_DLLPRIVATE static sal_uLong mnAnimCount;
std::vector<std::unique_ptr<AnimationBitmap>> maFrames;
- std::vector<std::unique_ptr<ImplAnimView>> maViewList;
+ std::vector<std::unique_ptr<AnimationRenderer>> maRenderers;
Link<Animation*, void> maNotifyLink;
BitmapEx maBitmapEx;