kwin/effects
Martin Gräßlin 7ad25b663e Adding more declarative way to animate a window in JavaScript
The current API call to animate a window does not feel very JavaScripty.
Therefore a new method "animate" is added to the global scope, which
takes a JavaScript object of the following structure:

{
    window: EffectWindow, /* the window to animate, required */
    duration: int, /* duration in msec, required */
    curve: QEasingCurve.Type, /* global easing curve, optional */
    type: Effect.Attribute, /* for first animation, optional */
    from: FPx2, /* for first animation, optional */
    to: FPx2, /* for first animation, optional */
    delay: int, /* for first animation, optional */
    animations: [ /* additional animations, optional */
        {
        curve: QEasingCurve.Type, /* overrides global */
        type: Effect.Attribute,
        from: FPx2,
        to: FPx2,
        delay: int
        }
    ]
}

At least one animation needs to be specified either on the root level
or in the array of animations. Curve is the only property on root level
which is used in the animations, if not provided.

REVIEW: 107079
2012-11-09 08:05:02 +01:00
..
blur Bind ARBBlurShader to OpenGL1 2012-10-25 11:34:30 +02:00
boxswitch Hardcode TabBox setting in boxswitch effect false 2012-10-25 19:17:26 +02:00
coverswitch Use KConfigXT in CoverSwitch Effect 2012-10-26 10:18:35 +02:00
cube Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
dashboard SVN_SILENT made messages (.desktop file) 2012-10-01 15:50:20 +02:00
desktopgrid Fixing author names in desktop files 2012-10-18 07:29:14 +02:00
dialogparent Merge branch 'KDE/4.9' 2012-08-17 17:59:49 +02:00
diminactive Merge branch 'KDE/4.9' 2012-10-14 20:28:36 +02:00
dimscreen Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
explosion Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
fade Pass property minimized from Client to Deleted 2012-07-22 10:06:30 +02:00
fadedesktop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
fallapart Effects can provide support information through properties 2012-08-17 17:49:49 +02:00
flipswitch Save shortcut editor in FlipSwitch Effect Config 2012-10-26 09:46:53 +02:00
glide Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
highlightwindow Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
invert Fixing author names in desktop files 2012-10-18 07:29:14 +02:00
login Use KConfigXT in Login Effect 2012-09-19 09:01:59 +02:00
logout Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
lookingglass Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
magiclamp Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
magnifier Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
maximize Adding more declarative way to animate a window in JavaScript 2012-11-09 08:05:02 +01:00
minimizeanimation Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
mouseclick SVN_SILENT made messages (.desktop file) 2012-11-07 06:52:27 +01:00
mousemark Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
outline SVN_SILENT made messages (.desktop file) 2012-10-29 09:53:30 +01:00
presentwindows Fixing author names in desktop files 2012-10-18 07:29:14 +02:00
resize Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
scalein Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
screenshot Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
sheet Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
showfps Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
showpaint Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
slide Replace translation by QVector3D in Screen/Window PaintData 2012-07-19 18:25:03 +02:00
slideback Remove slot for no-longer existing signal in Slideback 2012-03-16 11:40:47 +01:00
slidingpopups Merge branch 'KDE/4.9' 2012-08-17 17:59:49 +02:00
snaphelper Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
startupfeedback Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
taskbarthumbnail Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
thumbnailaside Use KConfigXT in ThumbnailAside effect 2012-09-19 10:24:04 +02:00
trackmouse Introduce a helper class to automatically push/pop Shaders 2012-09-29 15:33:57 +02:00
translucency Drop supperfluous and wrong inactive check in translucency effect 2012-09-08 19:43:01 +02:00
windowgeometry Use KConfigXT in WindowGeometry 2012-09-19 10:17:17 +02:00
wobblywindows Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
zoom Fixing author names in desktop files 2012-10-18 07:29:14 +02:00
CMakeLists.txt New Maximize Window Effect 2012-10-28 09:51:01 +01:00
configs_builtins.cpp Mouse Click animation effect 2012-10-26 09:47:22 +02:00
kwineffect.desktop SVN_SILENT made messages (.desktop file) 2012-05-28 11:08:19 +02:00
Messages.sh Remove temporary file 2008-07-02 07:04:51 +00:00