Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/anidata.cpp
Show All 39 Lines | |||||
40 | , startTime(0) | 40 | , startTime(0) | ||
41 | , windowType((NET::WindowTypeMask)0) | 41 | , windowType((NET::WindowTypeMask)0) | ||
42 | , waitAtSource(false) | 42 | , waitAtSource(false) | ||
43 | , keepAtTarget(false) | 43 | , keepAtTarget(false) | ||
44 | { | 44 | { | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | AniData::AniData(AnimationEffect::Attribute a, int meta_, int ms, const FPx2 &to_, | 47 | AniData::AniData(AnimationEffect::Attribute a, int meta_, int ms, const FPx2 &to_, | ||
48 | QEasingCurve curve_, int delay, const FPx2 &from_, bool waitAtSource_, bool keepAtTarget_ ) | 48 | QEasingCurve curve_, int delay, const FPx2 &from_, bool waitAtSource_, bool keepAtTarget_ , | ||
49 | FullScreenEffectLockPtr fullScreenEffectLock_) | ||||
zzag: please delete whitespace before comma | |||||
49 | : attribute(a) | 50 | : attribute(a) | ||
50 | , curve(curve_) | 51 | , curve(curve_) | ||
51 | , from(from_) | 52 | , from(from_) | ||
52 | , to(to_) | 53 | , to(to_) | ||
53 | , time(0) | 54 | , time(0) | ||
54 | , duration(ms) | 55 | , duration(ms) | ||
55 | , meta(meta_) | 56 | , meta(meta_) | ||
56 | , startTime(AnimationEffect::clock() + delay) | 57 | , startTime(AnimationEffect::clock() + delay) | ||
57 | , windowType((NET::WindowTypeMask)0) | 58 | , windowType((NET::WindowTypeMask)0) | ||
59 | , fullScreenEffectLock(fullScreenEffectLock_) | ||||
58 | , waitAtSource(waitAtSource_) | 60 | , waitAtSource(waitAtSource_) | ||
59 | , keepAtTarget(keepAtTarget_) | 61 | , keepAtTarget(keepAtTarget_) | ||
60 | { | 62 | { | ||
61 | } | 63 | } | ||
62 | 64 | | |||
63 | static FPx2 fpx2(const QString &s, AnimationEffect::Attribute a) | 65 | static FPx2 fpx2(const QString &s, AnimationEffect::Attribute a) | ||
64 | { | 66 | { | ||
65 | bool ok; float f1, f2; | 67 | bool ok; float f1, f2; | ||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |
please delete whitespace before comma