Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/anidata.cpp
Show All 25 Lines | |||||
26 | { | 26 | { | ||
27 | dbg.nospace() << a.debugInfo(); | 27 | dbg.nospace() << a.debugInfo(); | ||
28 | return dbg.space(); | 28 | return dbg.space(); | ||
29 | } | 29 | } | ||
30 | 30 | | |||
31 | using namespace KWin; | 31 | using namespace KWin; | ||
32 | static const int Gaussian = 46; | 32 | static const int Gaussian = 46; | ||
33 | 33 | | |||
34 | FullScreenEffectLock::FullScreenEffectLock(Effect *effect) | ||||
35 | { | ||||
36 | effects->setActiveFullScreenEffect(effect); | ||||
37 | } | ||||
38 | | ||||
39 | FullScreenEffectLock::~FullScreenEffectLock() | ||||
40 | { | ||||
41 | effects->setActiveFullScreenEffect(nullptr); | ||||
42 | } | ||||
43 | | ||||
34 | AniData::AniData() | 44 | AniData::AniData() | ||
35 | : attribute(AnimationEffect::Opacity) | 45 | : attribute(AnimationEffect::Opacity) | ||
36 | , customCurve(0) // Linear | 46 | , customCurve(0) // Linear | ||
37 | , time(0) | 47 | , time(0) | ||
38 | , duration(0) | 48 | , duration(0) | ||
39 | , meta(0) | 49 | , meta(0) | ||
40 | , startTime(0) | 50 | , startTime(0) | ||
41 | , windowType((NET::WindowTypeMask)0) | 51 | , windowType((NET::WindowTypeMask)0) | ||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |