Commit graph

5619 commits

Author SHA1 Message Date
Martin Gräßlin
57f57adaa4 Export method hasAlpha() from Toplevel to EffectWindow.
svn path=/trunk/KDE/kdebase/workspace/; revision=923320
2009-02-08 15:47:37 +00:00
Script Kiddy
bcb561c839 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=923249
2009-02-08 14:11:41 +00:00
Lucas Murray
8f8c1d31ba Added blurring during the logout effect. As this is done entirely using
mipmaps the quality isn't the best. Might add a shader later that will
generate the final image so it uses mipmaps for realtime blurring while
using a high quality blur at the end.

svn path=/trunk/KDE/kdebase/workspace/; revision=923246
2009-02-08 14:07:00 +00:00
Lucas Murray
13c2f21e9d Added EffectWindow::acceptsFocus(). Prevent present windows from
displaying windows that cannot be focused anyway (Such as conky).

svn path=/trunk/KDE/kdebase/workspace/; revision=923091
2009-02-08 08:45:21 +00:00
Script Kiddy
b4151d2103 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=922806
2009-02-07 16:03:24 +00:00
Lucas Murray
fd233d1482 SVN_SILENT Started writing code that would display a thumbnail of a
window in the middle of the screen if it was offscreen when the
highlight window effect was activated. After getting half way through it
however I determined that it was a useless feature so instead of
deleting the code that was already written I am just commenting it out.
If anyone can find a purpose for this please let me know your ideas.

svn path=/trunk/KDE/kdebase/workspace/; revision=922795
2009-02-07 15:40:31 +00:00
Lucas Murray
c028835466 SVN_SILENT Make dim inactive effect animation obey the user's animation
speed settings.

svn path=/trunk/KDE/kdebase/workspace/; revision=922576
2009-02-07 09:53:17 +00:00
Lucas Murray
681cda92b5 Add slight animations to the dim inactive effect. Also don't dim windows
when a fullscreen effect is active, fixes dimmed windows during
coverswitch.
BUG: 165295

svn path=/trunk/KDE/kdebase/workspace/; revision=922574
2009-02-07 09:48:20 +00:00
Lucas Murray
1db192a11d Fixed cube from crashing due to mouse polling if it was activated and
deactivated too quickly.

svn path=/trunk/KDE/kdebase/workspace/; revision=922457
2009-02-07 05:52:25 +00:00
Frederik Schwarzer
a604e4a60d global typo fix
svn path=/trunk/KDE/kdebase/workspace/; revision=922431
2009-02-07 01:12:28 +00:00
Albert Astals Cid
5b89fb86ed Typo found by Yuri Chornoivan
svn path=/trunk/KDE/kdebase/workspace/; revision=922388
2009-02-06 21:23:57 +00:00
Martin Gräßlin
f7f5bc8326 Split cube mode and animation of desktop switching in separate effects: say hello to CubeSlide effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=922342
2009-02-06 18:53:16 +00:00
Script Kiddy
00a50d882f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=922231
2009-02-06 15:34:47 +00:00
Lucas Murray
fef063cf46 Ensure to highlight the correct desktop back in if the desktop grid was
deactivated by pressing ESC or by using an electric border.

svn path=/trunk/KDE/kdebase/workspace/; revision=922144
2009-02-06 14:31:54 +00:00
Lucas Murray
81ffa5aec9 Raise electric border windows when an effect mouse input window is
created to allow effects to be toggled by active screen edges.

svn path=/trunk/KDE/kdebase/workspace/; revision=922121
2009-02-06 14:21:20 +00:00
Lucas Murray
a1c82cd52b Added support for inter-effect communication through the use of proxy
classes. Example code has been added to present windows and desktop
grid, if this code is not to be used by KDE 4.3 it should be removed and
added to a test effect instead.

svn path=/trunk/KDE/kdebase/workspace/; revision=922039
2009-02-06 10:15:06 +00:00
Martin Gräßlin
502fdbb751 Cylinder and Sphere effect have their own shortcut. Nevertheless it's still not possible to use cube and cylinder or sphere. That'll be fixed when the effects are merged into cube.
BUG: 175788

svn path=/trunk/KDE/kdebase/workspace/; revision=922033
2009-02-06 09:51:04 +00:00
Martin Gräßlin
daa32a53fb Adding mouse wheel support to effects. First one to use is cube effect.
CCMAIL: marco.gulino@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=922031
2009-02-06 09:45:34 +00:00
Martin Gräßlin
a3c57fcab0 Option to not animate windows shown on all desktops during desktop switching animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=922030
2009-02-06 09:39:57 +00:00
Martin Gräßlin
7b5a71d2dd Option to not change the opacity of windows in cube mode. That way only the cube (that is the desktops) will be painted in a transparent way.
FEATURE: 182195

svn path=/trunk/KDE/kdebase/workspace/; revision=922029
2009-02-06 09:37:18 +00:00
Martin Gräßlin
642ae708b5 Cube uses the pager layout to animate desktop switching (not the cube mode). This requires some more work including an option to use the old way (ignoring pager layout).
FEATURE: 167752

svn path=/trunk/KDE/kdebase/workspace/; revision=922028
2009-02-06 09:32:16 +00:00
Martin Gräßlin
026c90a983 Option to not animate the panels during desktop switching animation.
FEATURE: 177730

svn path=/trunk/KDE/kdebase/workspace/; revision=922026
2009-02-06 09:27:40 +00:00
Martin Gräßlin
59208e430a Option to invert mouse and cursor keys in cube mode.
FEATURE: 178398

svn path=/trunk/KDE/kdebase/workspace/; revision=922025
2009-02-06 09:24:12 +00:00
Martin Gräßlin
b81bf26c77 Fill empty spaces in multi screen setup with cube cap color if caps are used.
FEATURE: 169371

svn path=/trunk/KDE/kdebase/workspace/; revision=922024
2009-02-06 09:20:34 +00:00
Martin Gräßlin
a16aba4b05 Merge in the first changes from cube git branch (http://github.com/mgraesslin/kwin/tree/cube):
* Code restructuring and clean-up
 * Use of glLists to store the rotation and painting of the cube. That way things are only calculated when something changed. Painting the cube is still required in each frame as it would break all other effects.
 * Use face culling to paint the cube in the correct sequence.
 * Move loading of all settings to cube effect. In preparation of getting rid of cylinder and sphere classes

Known regression: cylinder and sphere caps are partly broken.

BUG: 171235

svn path=/trunk/KDE/kdebase/workspace/; revision=922023
2009-02-06 09:16:30 +00:00
Lucas Murray
846496d2c1 Cleaned up the effects/ directory by moving each individual effect into
its own directory, cleaned up the effect config macros and renamed
"MakeTransparent" to "Translucency" so that it matches its visible name.

svn path=/trunk/KDE/kdebase/workspace/; revision=921749
2009-02-05 15:35:38 +00:00
Script Kiddy
bc6415ef54 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=921684

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/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
2009-02-05 14:09:41 +00:00
Script Kiddy
47ff12a419 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=921220
2009-02-04 16:27:07 +00:00
Lucas Murray
71cdab755e Change motion dynamics algorithm and class structure. Animations are now
smoother and less "bouncy" than before and produce the same result at
any framerate. The Motion1D and Motion2D classes are now available and
replace the Motion<T> template for external use.

svn path=/trunk/KDE/kdebase/workspace/; revision=921104
2009-02-04 15:10:20 +00:00
Lucas Murray
cbea219964 Missing code from mouse polling commit. Stop polling when compositing is
disabled and increment the effect API version number.

svn path=/trunk/KDE/kdebase/workspace/; revision=920963
2009-02-04 07:09:47 +00:00
Lucas Murray
d0b6642abd Prevent the fade effect from constantly issuing repaint requests when it
is not needed. Prevents desktop grid excessive CPU usage.
CCBUG: 182997

svn path=/trunk/KDE/kdebase/workspace/; revision=920960
2009-02-04 06:48:25 +00:00
Friedrich W. H. Kossebau
9e9c18796f make const-to-be arrays (of pointers) const and non-variable
svn path=/trunk/KDE/kdebase/workspace/; revision=920918
2009-02-04 01:11:19 +00:00
Script Kiddy
4de600e9c1 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=920635
2009-02-03 14:52:58 +00:00
Lucas Murray
8c55ce79cf Remove the fade effect dependency from the highlight window effect by
implementing the fade internally. Fixes some fading bugs and will make
off-screen window highlighting easier to implement whenever I get around
to doing it.

svn path=/trunk/KDE/kdebase/workspace/; revision=920590
2009-02-03 10:51:36 +00:00
Lucas Murray
6763fd5728 Use the opacity of the window that a taskbar thumbnail is displayed on
when displaying the thumbnail. This allows thumbnails to fade in and out
with the Plasma tooltip for example instead of always being opaque.

svn path=/trunk/KDE/kdebase/workspace/; revision=920573
2009-02-03 09:39:48 +00:00
Script Kiddy
d12b115dbe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=920235
2009-02-02 15:35:50 +00:00
Script Kiddy
a8e370fa34 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919783

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

M	wallpapers/HighTide/metadata.desktop
2009-02-01 16:24:40 +00:00
Lucas Murray
752d5fa642 Extracted mouse polling out of the composite timer to allow effects to
detect mouse movement and modifier key changes even when KWin is idle.
As the track mouse effect requires polling to always be active disabling
it by default to prevent wasting CPU usage in the default install.

svn path=/trunk/KDE/kdebase/workspace/; revision=919711
2009-02-01 15:16:52 +00:00
Script Kiddy
0aa8cd610f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919234
2009-01-31 15:57:53 +00:00
Lucas Murray
d6a31bc921 Introducing the highlight window effect. When activated by the X atom
all windows are faded out except the one that is being highlighted.
It is nowhere near complete but committing it now so that the Plasma
developers can start playing around with it.

svn path=/trunk/KDE/kdebase/workspace/; revision=919159
2009-01-31 15:12:14 +00:00
Martin Gräßlin
7cb7f17a11 Abort effect if the current tab box window is deleted and the tabbox is empty afterwards. This hopefully resolves the crashes when a window is closed during active effect. At least I was not able to reproduce a crash anymore. If further testing shows that it resolves the problem the patch will be backported to branch and to other window switching effects showing the same problem.
CCBUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919075
2009-01-31 13:23:58 +00:00
Martin Gräßlin
139b8c8f41 Revert commit r919007
svn path=/trunk/KDE/kdebase/workspace/; revision=919068
2009-01-31 13:15:14 +00:00
Lucas Murray
29484aa5fb Allow snow flakes to completely exit the screen before removing them.
Also create the flakes off-screen as well.
BUG: 182561

svn path=/trunk/KDE/kdebase/workspace/; revision=919039
2009-01-31 11:47:21 +00:00
Martin Gräßlin
a6fb2688cd Only clear QLists when they are empty. Prevents crashes.
BUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919007
2009-01-31 09:49:33 +00:00
Lucas Murray
e93f4306d9 Fixed shadow color button signal not being picked up.
svn path=/trunk/KDE/kdebase/workspace/; revision=918989
2009-01-31 09:13:23 +00:00
Lucas Murray
cea8e1a286 Correctly apply the shadow color when in OpenGL mode.
BUG: 180536

svn path=/trunk/KDE/kdebase/workspace/; revision=918987
2009-01-31 09:01:32 +00:00
Luboš Luňák
1292a73314 Move the videorect effect out, as it reportedly doesn't work very well
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.


svn path=/trunk/KDE/kdebase/workspace/; revision=918699
2009-01-30 14:43:43 +00:00
Luboš Luňák
ed42331c2e Testapp to show all icons provided by a window.
svn path=/trunk/KDE/kdebase/workspace/; revision=918189
2009-01-29 15:11:17 +00:00
Script Kiddy
de4dca3940 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=917787

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/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/Vector_Sunset/metadata.desktop
2009-01-28 15:01:35 +00:00
Lucas Murray
2e42deec73 When the user lowers the active window with a mouse action also
automatically focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917649
2009-01-28 10:30:44 +00:00