Commit graph

70 commits

Author SHA1 Message Date
Martin Gräßlin
1a4b08b36a Add an option to not follow the pager layout in cube switch animation. That brings back the behaviour of cube switch in 4.2.
svn path=/trunk/KDE/kdebase/workspace/; revision=963304
2009-05-04 13:24:55 +00:00
Martin Gräßlin
20a7f2079c Use OpenGL to modify the cube cap instead of manipulating the pixels of the source QImage. Don't know why I did it that way.
The cap color is used as a background for tranclucent pixels and opacity is set to cube opacity. Changed to clamp to border and using cap color as border color.

svn path=/trunk/KDE/kdebase/workspace/; revision=962425
2009-05-02 13:37:59 +00:00
Martin Gräßlin
37f48027f2 New cube reflection which moves reflection down to touch the cube in its lowest point. Thanks to Michal Srb for the patch. It' really great.
There are two small todos: when mixing manual (mouse) rotation with cursor key rotation or zooming the reflection becomes wrong.
FEATURE: 178611

svn path=/trunk/KDE/kdebase/workspace/; revision=962205
2009-05-01 18:23:53 +00:00
Script Kiddy
148c1d639c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=962137
2009-05-01 13:50:33 +00:00
Martin Gräßlin
144f578a5d Cylinder and Sphere use new setting of texture width and height. For that renaming windowWidth and windowHeight to textureWidth/Height. So finally the new argb decos work with cylinder and sphere.
svn path=/trunk/KDE/kdebase/workspace/; revision=959842
2009-04-27 11:35:35 +00:00
Script Kiddy
4d801d5d4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=958687
2009-04-24 13:52:23 +00:00
Script Kiddy
680a40a623 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=958205
2009-04-23 14:12:32 +00:00
Martin Gräßlin
3e56e98281 Use opacity, brighness and saturation in shader for cylinder and sphere. That allows to have dimmed windows in these effects and correct window opacity.
svn path=/trunk/KDE/kdebase/workspace/; revision=956595
2009-04-20 11:07:47 +00:00
Script Kiddy
e50340d1e1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=954465
2009-04-15 20:03:14 +00:00
Albert Astals Cid
e74249083f const & for foreach 'iterators'
svn path=/trunk/KDE/kdebase/workspace/; revision=952187
2009-04-11 11:11:50 +00:00
Script Kiddy
e0aa1f31cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=951138
2009-04-08 15:00:04 +00:00
Martin Gräßlin
69b8e33fce Check for the global shortcut in the effects so that the shortcut actually toggles the effect. This is a workaround needed because the keyboard grab disables the global shortcut.
FEATURE: 156155

svn path=/trunk/KDE/kdebase/workspace/; revision=946787
2009-03-30 11:27:57 +00:00
Martin Gräßlin
92484573f2 Effects can be activated at more than one electric border.
FEATURE: 180548

svn path=/trunk/KDE/kdebase/workspace/; revision=946404
2009-03-29 12:57:20 +00:00
Script Kiddy
4009dc8dc3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=943873
2009-03-24 15:44:46 +00:00
Martin Gräßlin
f232a830aa Don't use the gl lists when a new window is added. This prevents the added window becoming black.
svn path=/trunk/KDE/kdebase/workspace/; revision=941274
2009-03-19 10:22:04 +00:00
Martin Gräßlin
141f166c56 No need to use different client area options in cube for one or multi screen setups any more. FullArea suits both now.
svn path=/trunk/KDE/kdebase/workspace/; revision=940985
2009-03-18 15:22:42 +00:00
Martin Gräßlin
7fc3bbf39d Drop the multi screen mode where the cube is scaled on one screen. So there is only the span cube on all screens option. The mode is dropped for the following reasons:
* it looks strange
 * it changes the projection matrix which makes the code ugly
 * it never worked with cylinder or sphere
 * it was broken in trunk anyway

svn path=/trunk/KDE/kdebase/workspace/; revision=940977
2009-03-18 15:01:21 +00:00
Script Kiddy
6af875f8f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=940939
2009-03-18 14:28:37 +00:00
Martin Gräßlin
666a2224f4 Center desktop name box on active screen instead of the center of whole area. So the desktop name is always visible in multi screen setups and only shown on one screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=940812
2009-03-18 10:45:46 +00:00
Script Kiddy
8c5e524769 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=940525

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-17 15:51:17 +00:00
Script Kiddy
88cb1a960c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=939654

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-15 13:46:07 +00:00
Script Kiddy
4353883e82 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=939259
2009-03-14 14:36:38 +00:00
Script Kiddy
9d33d771dc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=936838

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-08 14:36:22 +00:00
Script Kiddy
d6dadb0c84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=935170
2009-03-04 15:51:12 +00:00
Script Kiddy
7f6ebfd1a2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=933233
2009-02-28 13:35:50 +00:00
Script Kiddy
50f9db8dd9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=932916
2009-02-27 15:36:31 +00:00
Script Kiddy
67b8f942e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=931776

The following changes were in SVN, but were removed from git:

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-25 19:33:07 +00:00
Martin Gräßlin
c016f07738 Use bigger quads for desktops in the rear, so that less vertices have to be processed by cylinder and sphere shader. That should improve the performance without influencing the visual appearance.
svn path=/trunk/KDE/kdebase/workspace/; revision=930495
2009-02-23 17:03:27 +00:00
Script Kiddy
1e616c6078 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=930427
2009-02-23 13:41:51 +00:00
Martin Gräßlin
752489aac5 Windows can't overlap desktop edges in cylinder or sphere mode. It results either in incorrect painting or in GL errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=930083
2009-02-22 17:11:47 +00:00
Martin Gräßlin
b428fb46a0 Cube keeps rotating when mouse is at left or right screen edge.
BUG: 182454

svn path=/trunk/KDE/kdebase/workspace/; revision=930054
2009-02-22 15:57:26 +00:00
Lucas Murray
1e91a66fd2 Added support for unstyled and frameless EffectFrames. Converted all
effects that display text or boxes to use the class. Minor speed
increase in XRender mode for those effects and a massive increase in
OpenGL mode (Double framerate in present windows in my case).

svn path=/trunk/KDE/kdebase/workspace/; revision=929951
2009-02-22 13:04:16 +00:00
Martin Gräßlin
a6d8bb41bb Reactivating the use of a gl list for painting the cube. The cube is painted once without using the gl list. By that the problem of black windows on other desktops should be solved. If the black window problem appears again the patch will be reverted.
CCBUG: 183905

svn path=/trunk/KDE/kdebase/workspace/; revision=929840
2009-02-22 11:27:08 +00:00
Martin Gräßlin
eae6279ca9 Fill empty areas in multi screen setups in cylinder and sphere as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=929833
2009-02-22 10:58:26 +00:00
Lucas Murray
e03748fba7 Added EffectFrame, a helper class that creates, manages and caches a
Plasma frame object. There are two ways to use this class: The first is
in "static" mode which gives the frame a set geometry and will not
change, the second is an automatic mode that creates the smallest
possible frame around the specified contents. Contents can either be
normal text and/or a QPixmap, useful for displaying the caption and icon
of the currently highlighed window.
Known bugs:
 - Does not detect Plasma theme changes, known to be in the Plasma
   library.
 - Slight graphical glitches, known to be in Qt 4.5.0 RC1.
Untested:
 - What happens when there is no Plasma theme installed.

svn path=/trunk/KDE/kdebase/workspace/; revision=929324
2009-02-21 04:53:13 +00:00
Martin Gräßlin
75346f126b Rotate windows on all desktops by default. Keeping them in place brakes the stacking order during animation.
BUG: 185019

svn path=/trunk/KDE/kdebase/workspace/; revision=928985
2009-02-20 14:04:41 +00:00
Martin Gräßlin
445f021b06 Fix commit which broke shadows.
svn path=/trunk/KDE/kdebase/workspace/; revision=928975
2009-02-20 13:48:23 +00:00
Martin Gräßlin
c648f03313 A new vertex shader for cylinder effect using polar coordinates. Solves some painting problems.
Adding a new cylinder cap as well as the new cylinder is smaller than the old one.

svn path=/trunk/KDE/kdebase/workspace/; revision=928679
2009-02-19 20:32:20 +00:00
Martin Gräßlin
bdef1d7c5b Smoothly transform to cube and sphere during start animation and vice versa during stop animation.
Caps have to be deformed during start/stop as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=928308
2009-02-19 11:50:00 +00:00
Martin Gräßlin
5025509e3a Distance between 3D windows is determined by the zoom position divided by the number of windows in stacking order when cube is activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=928279
2009-02-19 11:03:40 +00:00
Martin Gräßlin
6a671fa2f2 Change the timeline curve shape depending on the number of rotations. If there is only one rotation it is an EaseInOut curve, if there are more than one rotations first is an EaseIn, last an EaseOut all other Linear curves.
svn path=/trunk/KDE/kdebase/workspace/; revision=928255
2009-02-19 09:31:58 +00:00
Martin Gräßlin
05a97d39c8 Adding windows overlapping edges to cube slide animation. Overlapping windows from target desktop are faded in and windows from source desktop are faded out. This looks really good for slow animation speed but for normal speed it's kind of flashy. So perhaps I'll add an option to turn it off...
svn path=/trunk/KDE/kdebase/workspace/; revision=927999
2009-02-18 19:14:47 +00:00
Script Kiddy
f1b448ad2f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=927865
2009-02-18 13:16:56 +00:00
Martin Gräßlin
5e94274eb6 We cannot use glLists for painting the cube. It's causing black windows.
BUG: 183905

svn path=/trunk/KDE/kdebase/workspace/; revision=927767
2009-02-18 11:58:36 +00:00
Martin Gräßlin
cb28513163 New way to paint the windows overlapping screen edges. It works with the new windows hover above cube (still small painting sequence issues).
svn path=/trunk/KDE/kdebase/workspace/; revision=927720
2009-02-18 09:33:19 +00:00
Martin Gräßlin
ed311a899d Add an option so that windows can hover above the cube similar to 3D Windows plugin in Compiz. Currently this disables "windows overlapping edges" feature when this option is set (no change when not set).
FEATURE: 184689


svn path=/trunk/KDE/kdebase/workspace/; revision=927550
2009-02-17 20:47:02 +00:00
Martin Gräßlin
7243d7132e Correctly recalculate pending rotations if desktop is changed during animation.
BUG: 183925

svn path=/trunk/KDE/kdebase/workspace/; revision=927417
2009-02-17 12:47:18 +00:00
Script Kiddy
5aa2e29603 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=927390
2009-02-17 12:09:45 +00:00
Script Kiddy
d398ad0c9e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=926053

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-14 16:04:31 +00:00
Lucas Murray
dd28e15a1b Allow desktop effects to access the new DesktopLayout class. Replaced
all code that used calcDesktopLayout() so the function could be removed.
Minor changes to the DesktopLayout class itself.

svn path=/trunk/KDE/kdebase/workspace/; revision=925930
2009-02-14 14:49:46 +00:00