Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/anidata_p.h
Show All 17 Lines | |||||
18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License | ||
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | *********************************************************************/ | 20 | *********************************************************************/ | ||
21 | 21 | | |||
22 | #ifndef ANIDATA_H | 22 | #ifndef ANIDATA_H | ||
23 | #define ANIDATA_H | 23 | #define ANIDATA_H | ||
24 | 24 | | |||
25 | #include "kwinanimationeffect.h" | 25 | #include "kwinanimationeffect.h" | ||
26 | | ||||
26 | #include <QEasingCurve> | 27 | #include <QEasingCurve> | ||
27 | #include <netwm.h> | | |||
28 | 28 | | |||
29 | namespace KWin { | 29 | namespace KWin { | ||
30 | 30 | | |||
31 | /** | 31 | /** | ||
32 | * Wraps effects->setActiveFullScreenEffect for the duration of it's lifespan | 32 | * Wraps effects->setActiveFullScreenEffect for the duration of it's lifespan | ||
33 | */ | 33 | */ | ||
34 | class FullScreenEffectLock | 34 | class FullScreenEffectLock | ||
35 | { | 35 | { | ||
Show All 36 Lines | 60 | public: | |||
72 | QString debugInfo() const; | 72 | QString debugInfo() const; | ||
73 | AnimationEffect::Attribute attribute; | 73 | AnimationEffect::Attribute attribute; | ||
74 | QEasingCurve curve; | 74 | QEasingCurve curve; | ||
75 | int customCurve; | 75 | int customCurve; | ||
76 | FPx2 from, to; | 76 | FPx2 from, to; | ||
77 | int time, duration; | 77 | int time, duration; | ||
78 | uint meta; | 78 | uint meta; | ||
79 | qint64 startTime; | 79 | qint64 startTime; | ||
80 | NET::WindowTypeMask windowType; | | |||
81 | QSharedPointer<FullScreenEffectLock> fullScreenEffectLock; | 80 | QSharedPointer<FullScreenEffectLock> fullScreenEffectLock; | ||
82 | bool waitAtSource, keepAtTarget; | 81 | bool waitAtSource, keepAtTarget; | ||
83 | bool keepAlive; | 82 | bool keepAlive; | ||
84 | KeepAliveLockPtr keepAliveLock; | 83 | KeepAliveLockPtr keepAliveLock; | ||
85 | }; | 84 | }; | ||
86 | 85 | | |||
87 | } // namespace | 86 | } // namespace | ||
88 | 87 | | |||
89 | QDebug operator<<(QDebug dbg, const KWin::AniData &a); | 88 | QDebug operator<<(QDebug dbg, const KWin::AniData &a); | ||
90 | 89 | | |||
91 | #endif // ANIDATA_H | 90 | #endif // ANIDATA_H |