Commit graph

16 commits

Author SHA1 Message Date
Martin Gräßlin
a59111148c Cube & co becomes zoomable (usage: + and -). Adding also a config option to define the default zoom.
svn path=/trunk/KDE/kdebase/workspace/; revision=852059
2008-08-25 08:19:39 +00:00
Martin Gräßlin
c67256e037 Option for Compiz like mouse dragging in cube effects. That is cube is closed on release of mouse button. Option is disabled by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=851485
2008-08-23 20:10:01 +00:00
Martin Gräßlin
d5be0f8da5 - limit the number of left/right rotations. Cube will not rotate endless if cursor keys are being pressed
- fix vertical mouse movement

svn path=/trunk/KDE/kdebase/workspace/; revision=848624
2008-08-18 09:39:48 +00:00
Martin Gräßlin
bde94eae24 Own configuration dialog for cylinder and sphere effect, they do not use cube's config any longer. Nevertheless the effects use same global shortcut as cube.
svn path=/trunk/KDE/kdebase/workspace/; revision=848314
2008-08-17 11:51:27 +00:00
Martin Gräßlin
f54e0f9932 Sphere caps
svn path=/trunk/KDE/kdebase/workspace/; revision=848068
2008-08-16 19:22:45 +00:00
Martin Gräßlin
0d5e84df02 Use GL_CLAMP_TO_EDGE for cap texture, so the cap is painted correctly.
svn path=/trunk/KDE/kdebase/workspace/; revision=846173
2008-08-13 08:16:41 +00:00
Martin Gräßlin
5466cbf6dc Performance improvement by using GL List for painting the cube caps. Thanks to Matthias Kretz for the hint.
svn path=/trunk/KDE/kdebase/workspace/; revision=845635
2008-08-12 07:41:19 +00:00
Martin Gräßlin
39fd589c4d Bring back optional one big cube for multi monitor setup. One big cube is used for desktop changed but not the default for ctrl+f11 mode.
BUG: 168404

svn path=/trunk/KDE/kdebase/workspace/; revision=843084
2008-08-06 12:05:30 +00:00
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
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