Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/anidata_p.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | |||||
71 | }; | 71 | }; | ||
72 | typedef QSharedPointer<PreviousWindowPixmapLock> PreviousWindowPixmapLockPtr; | 72 | typedef QSharedPointer<PreviousWindowPixmapLock> PreviousWindowPixmapLockPtr; | ||
73 | 73 | | |||
74 | class KWINEFFECTS_EXPORT AniData { | 74 | class KWINEFFECTS_EXPORT AniData { | ||
75 | public: | 75 | public: | ||
76 | AniData(); | 76 | AniData(); | ||
77 | AniData(AnimationEffect::Attribute a, int meta, const FPx2 &to, | 77 | AniData(AnimationEffect::Attribute a, int meta, const FPx2 &to, | ||
78 | int delay, const FPx2 &from, bool waitAtSource, | 78 | int delay, const FPx2 &from, bool waitAtSource, | ||
79 | FullScreenEffectLockPtr=FullScreenEffectLockPtr(), | 79 | const FullScreenEffectLockPtr &fullScreenEffectLock_=FullScreenEffectLockPtr(), | ||
80 | bool keepAlive = true, PreviousWindowPixmapLockPtr previousWindowPixmapLock = {}); | 80 | bool keepAlive = true, const PreviousWindowPixmapLockPtr &previousWindowPixmapLock = {}); | ||
81 | 81 | | |||
82 | bool isActive() const; | 82 | bool isActive() const; | ||
83 | 83 | | |||
84 | inline bool isOneDimensional() const { | 84 | inline bool isOneDimensional() const { | ||
85 | return from[0] == from[1] && to[0] == to[1]; | 85 | return from[0] == from[1] && to[0] == to[1]; | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | quint64 id{0}; | 88 | quint64 id{0}; | ||
Show All 20 Lines |