Changeset View
Changeset View
Standalone View
Standalone View
scripting/scriptedeffect.h
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
124 | bool unregisterTouchScreenCallback(int edge); | 124 | bool unregisterTouchScreenCallback(int edge); | ||
125 | 125 | | |||
126 | public Q_SLOTS: | 126 | public Q_SLOTS: | ||
127 | //curve should be of type QEasingCurve::type or ScriptedEffect::EasingCurve | 127 | //curve should be of type QEasingCurve::type or ScriptedEffect::EasingCurve | ||
128 | quint64 animate(KWin::EffectWindow *w, Attribute a, int ms, KWin::FPx2 to, KWin::FPx2 from = KWin::FPx2(), uint metaData = 0, int curve = QEasingCurve::Linear, int delay = 0, bool fullScreen = false, bool keepAlive = true); | 128 | quint64 animate(KWin::EffectWindow *w, Attribute a, int ms, KWin::FPx2 to, KWin::FPx2 from = KWin::FPx2(), uint metaData = 0, int curve = QEasingCurve::Linear, int delay = 0, bool fullScreen = false, bool keepAlive = true); | ||
129 | quint64 set(KWin::EffectWindow *w, Attribute a, int ms, KWin::FPx2 to, KWin::FPx2 from = KWin::FPx2(), uint metaData = 0, int curve = QEasingCurve::Linear, int delay = 0, bool fullScreen = false, bool keepAlive = true); | 129 | quint64 set(KWin::EffectWindow *w, Attribute a, int ms, KWin::FPx2 to, KWin::FPx2 from = KWin::FPx2(), uint metaData = 0, int curve = QEasingCurve::Linear, int delay = 0, bool fullScreen = false, bool keepAlive = true); | ||
130 | bool retarget(quint64 animationId, KWin::FPx2 newTarget, int newRemainingTime = -1); | 130 | bool retarget(quint64 animationId, KWin::FPx2 newTarget, int newRemainingTime = -1); | ||
131 | bool redirect(quint64 animationId, Direction direction, TerminationPolicy terminationPolicy = TerminationPolicy::TerminateAtSource); | 131 | bool redirect(quint64 animationId, Direction direction, TerminationPolicy terminationPolicy = TerminationPolicy::TerminateAtSource); | ||
132 | bool complete(quint64 animationId); | ||||
132 | bool cancel(quint64 animationId) { return AnimationEffect::cancel(animationId); } | 133 | bool cancel(quint64 animationId) { return AnimationEffect::cancel(animationId); } | ||
133 | virtual bool borderActivated(ElectricBorder border); | 134 | virtual bool borderActivated(ElectricBorder border); | ||
134 | 135 | | |||
135 | Q_SIGNALS: | 136 | Q_SIGNALS: | ||
136 | /** | 137 | /** | ||
137 | * Signal emitted whenever the effect's config changed. | 138 | * Signal emitted whenever the effect's config changed. | ||
138 | **/ | 139 | **/ | ||
139 | void configChanged(); | 140 | void configChanged(); | ||
Show All 27 Lines |