Commit graph

9 commits

Author SHA1 Message Date
Martin Gräßlin
37512e7591 Add of config option if the cube should be shown when desktop is changed via pager or ctrl+f1-4.
Turned of per default.

svn path=/trunk/KDE/kdebase/workspace/; revision=842306
2008-08-05 08:10:01 +00:00
Martin Gräßlin
dfbb3c3240 New algorithm for rendering the cube caps. The caps are now made up of many small triangles. This is needed so that we can have caps on the upcoming sphere effect.
Also this way it is possible to paint textured cap in one step and not in two. So the opacity of the textured caps is now correct. The texture has got a border of one pixel in cap color so that the texture can be used to paint the whole cap and transparent areas of the texture are manually blended with the cap color.

svn path=/trunk/KDE/kdebase/workspace/; revision=842034
2008-08-04 15:22:21 +00:00
Martin Gräßlin
3edc29f190 Caps also for cylinder.
Translate cylinder so that start/stop works correctly.
Do not react on desktop change. That would be strange in cylinder effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=842031
2008-08-04 15:07:34 +00:00
Martin Gräßlin
d719718780 Twin view support for cube. Cube is painted on one screen and scaled so that both screens fit on it. Projection matrix has unfortunatelly to be changed in twin view mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=842026
2008-08-04 14:23:22 +00:00
Martin Gräßlin
7f8b7e78f6 Improvement to reflection: reflection does not interfer with normal cube when vertically rotated.
Rotation duration is changed in slide mode. Whole sliding does only take defined duration and not n*duration.

svn path=/trunk/KDE/kdebase/workspace/; revision=842024
2008-08-04 14:18:05 +00:00
Martin Gräßlin
1880dcf2eb Adapt cube and cylinder effect to new API. It is not required any longer to define an own projection matrix and RotationData is used to rotate the desktops.
svn path=/trunk/KDE/kdebase/workspace/; revision=842023
2008-08-04 14:12:58 +00:00
Martin Gräßlin
09a02ee13f various improvements:
- speedup in slide mode: don't paint desktops which are not visible
- key events are not dropped during start phase
- parts of windows from different desktops are faded in/out during start/stop animation
- manual (mouse) rotation is reverted in stop animation
- Cube Cap Texture is positioned oriented towards desktop 1
- fix artifacts from different desktops after stop animation

svn path=/trunk/KDE/kdebase/workspace/; revision=835534
2008-07-20 18:55:24 +00:00
Martin Gräßlin
fc777afc8f Now we are able to display an image on the cube caps.
svn path=/trunk/KDE/kdebase/workspace/; revision=834710
2008-07-19 13:43:13 +00:00
Martin Gräßlin
89c2ad7c4b Move Cube effect to trunk
svn path=/trunk/KDE/kdebase/workspace/; revision=832912
2008-07-15 19:21:50 +00:00