kwin scripted effects -> easing curves?

Martin Gräßlin mgraesslin at kde.org
Wed Nov 7 17:05:49 UTC 2012


On Wednesday 07 November 2012 13:23:34 Aaron J. Seigo wrote:
> hi..
> 
> this one is mostly for Martin G, i suppose:
would help to CC me or kwin at kde.org if my plasma inbox is showing 37 unread 
mails ;-)
> 
> in the kwin scripting API for effects, the animate function can take a
> QEasingCurve .. however i do not see how to create one from the javascript.
> is this simply functionality that is currently missing, or?
yes, I think it's missing and to be honest I know about it (or assumed that it 
doesn't work) for quite some time. All that is needed is exporting the 
QEasingCurve to the QScriptEngine inside KWin::ScriptedEffect.

Btw. if you are trying with the API have a look at 
https://git.reviewboard.kde.org/r/107079/ and provide some feedback on the 
proposed API update.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121107/2e430e1e/attachment.sig>


More information about the Plasma-devel mailing list