summaryrefslogtreecommitdiff
path: root/src/helpers/AnimatedVariable.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-14 17:23:46 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-14 17:23:46 +0200
commit109136af97547f35f767dae2e7908ab218dfea11 (patch)
tree806d931d2a3d7d04a9a5faecfcf46d5470f1633f /src/helpers/AnimatedVariable.hpp
parent694f4433a2b6083cef5a4f43e974f9c70b9857af (diff)
Fadein/out now applies to layersurfaces too
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
-rw-r--r--src/helpers/AnimatedVariable.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp
index a484958b..0b31b5c5 100644
--- a/src/helpers/AnimatedVariable.hpp
+++ b/src/helpers/AnimatedVariable.hpp
@@ -18,6 +18,7 @@ enum AVARDAMAGEPOLICY {
class CAnimationManager;
class CWorkspace;
+struct SLayerSurface;
class CAnimatedVariable {
public:
@@ -183,8 +184,12 @@ private:
float* m_pSpeed = nullptr;
int64_t* m_pEnabled = nullptr;
+
+ // owners
void* m_pWindow = nullptr;
void* m_pWorkspace = nullptr;
+ void* m_pLayer = nullptr;
+
std::string* m_pBezier = nullptr;
bool m_bDummy = true;
@@ -196,4 +201,5 @@ private:
friend class CAnimationManager;
friend class CWorkspace;
+ friend struct SLayerSurface;
}; \ No newline at end of file