Commit graph

4874 commits

Author SHA1 Message Date
Urs Wolfer
1a0e6cb1b3 port away from Qt3 support
svn path=/trunk/KDE/kdebase/workspace/; revision=806776
2008-05-12 12:13:52 +00:00
Luboš Luňák
9bd87cb271 Redo timing of next painting with vsync used, try harder not to miss
every other sync just by a small time.


svn path=/trunk/KDE/kdebase/workspace/; revision=806443
2008-05-11 12:03:42 +00:00
Script Kiddy
8eb8c8c08f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=806426

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
2008-05-11 11:52:04 +00:00
Luboš Luňák
5dd21d8274 Fix opengl wrappers to match the opengl functions.
svn path=/trunk/KDE/kdebase/workspace/; revision=806411
2008-05-11 11:14:49 +00:00
Luboš Luňák
53cc35b649 Show the composite overlay window only before the first painting pass
actually needs to flush the output to the screen. Avoids windows
temporarily disappearing during KDE startup or similar visual glitches.


svn path=/trunk/KDE/kdebase/workspace/; revision=806387
2008-05-11 09:48:34 +00:00
Script Kiddy
19c6ce9075 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=806050
2008-05-09 21:38:29 +00:00
Luboš Luňák
022d2066c6 Implement fake brightness by overlaying black over the window.
Makes Logout or DimInactive effects work in XRender mode too.


svn path=/trunk/KDE/kdebase/workspace/; revision=805577
2008-05-08 19:08:05 +00:00
Luboš Luňák
62d2631422 EffectsHandler::saturationSupported(), so that this is not OpenGL-only call.
svn path=/trunk/KDE/kdebase/workspace/; revision=805574
2008-05-08 19:06:28 +00:00
Luboš Luňák
8eeb53c9ef Note about improving BC when the times.
svn path=/trunk/KDE/kdebase/workspace/; revision=805573
2008-05-08 19:05:34 +00:00
Script Kiddy
a1a44aab9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=805551

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

M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-05-08 18:07:26 +00:00
Luboš Luňák
602244e3a5 Use a convenience XRenderPicture constructor instead of hardcoding
XRender Formats.


svn path=/trunk/KDE/kdebase/workspace/; revision=805361
2008-05-08 10:08:10 +00:00
Luboš Luňák
7f669912bb Fix initialization with non-truecolor depths.
svn path=/trunk/KDE/kdebase/workspace/; revision=805344
2008-05-08 09:22:24 +00:00
Luboš Luňák
33fc8c024f Better clipping.
svn path=/trunk/KDE/kdebase/workspace/; revision=805326
2008-05-08 08:28:26 +00:00
Sebastian Kügler
874ec72298 Also fadein/out windows that are mimizied and live under the taskbar when
starting and stopping the Coverswitch effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=805261
2008-05-08 00:18:10 +00:00
Luboš Luňák
e3040b1938 Clip with shaped windows.
BUG: 160141  


svn path=/trunk/KDE/kdebase/workspace/; revision=805221
2008-05-07 21:35:36 +00:00
Luboš Luňák
15b8079334 Follow the color option.
svn path=/trunk/KDE/kdebase/workspace/; revision=805136
2008-05-07 17:11:00 +00:00
Luboš Luňák
1e4f84602a Sync r803685 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=805134
2008-05-07 17:08:38 +00:00
Luboš Luňák
e45c3073a0 Sync r803670 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=805133
2008-05-07 17:08:17 +00:00
Luboš Luňák
6527f9c0b6 Start counting 4.1 API versions from 20, to leave room for 4.0.
svn path=/trunk/KDE/kdebase/workspace/; revision=805092
2008-05-07 15:02:21 +00:00
Luboš Luňák
5efac21537 XRenderPicture, a wrapper around XRender's Picture, which
should act just like Picture, except for proper initialization
and resource freeing (i.e. it's sane and easy from C++ point of view).


svn path=/trunk/KDE/kdebase/workspace/; revision=805085
2008-05-07 14:43:13 +00:00
Luboš Luňák
b840fa0792 Disable copying by value for GLTexture, as it wouldn't work anyway.
CCMAIL: Rivo Laks <rivolaks@hot.ee>


svn path=/trunk/KDE/kdebase/workspace/; revision=805056
2008-05-07 13:05:46 +00:00
Luboš Luňák
6142ecbfe0 paintTransformedScreen() is broken, disable its usage.
svn path=/trunk/KDE/kdebase/workspace/; revision=805050
2008-05-07 12:54:23 +00:00
Script Kiddy
b06a38a3e0 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=804910

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-05-07 04:35:50 +00:00
Sebastian Kügler
cac8ff3072 Make sure m_Progress is always double. Fixes restoring of
windows for me. Minimizing still doesn't animate here. :/

If someone sees the same problem, please let me know. There
also seems to be something fishy with the desktopgrid --
it's not showing windows on inactive desktops, sliding
animation and the grid-zoomout expose this.

svn path=/trunk/KDE/kdebase/workspace/; revision=804806
2008-05-06 23:03:23 +00:00
Luboš Luňák
f9ce0427e8 Do not activate the effect with nothing to show.
svn path=/trunk/KDE/kdebase/workspace/; revision=804228
2008-05-05 11:58:53 +00:00
Luboš Luňák
4851bff561 Fix memory leak.
svn path=/trunk/KDE/kdebase/workspace/; revision=804132
2008-05-05 07:22:45 +00:00
Script Kiddy
aa6c0d74da SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=803885

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-05-04 12:26:15 +00:00
Sebastian Kügler
3258c2073f small cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=803714
2008-05-04 01:56:48 +00:00
Sebastian Kügler
075dfd549f Scale In plugin now uses TimeLine, also fade and scale in to
make it look slightly snazzier.

svn path=/trunk/KDE/kdebase/workspace/; revision=803710
2008-05-04 01:22:15 +00:00
Casper Boemann
2826653703 fix so that buttons also have correct bg color when colors are active
!= 
inactive

svn path=/trunk/KDE/kdebase/workspace/; revision=803685
2008-05-03 21:02:09 +00:00
Casper Boemann
9e6e735c86 save memery by drawing directly onto screen
and use the helper routine to correctly draw gradient behind buttons

svn path=/trunk/KDE/kdebase/workspace/; revision=803670
2008-05-03 19:41:10 +00:00
Laurent Montel
6c5accc2ea Not necessary
svn path=/trunk/KDE/kdebase/workspace/; revision=803598
2008-05-03 12:47:11 +00:00
Laurent Montel
d7ba78eb79 Fix forward declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=803595
2008-05-03 12:39:31 +00:00
Laurent Montel
e0d3b3ec1a Fix ui file
svn path=/trunk/KDE/kdebase/workspace/; revision=803568
2008-05-03 11:48:00 +00:00
Sebastian Kügler
6e09b1ac64 Make the default animation duration a bit shorter, 800 is quite ok on this machine (with some tearing, an ATI driver problem apparently. But it's still quite smooth.
svn path=/trunk/KDE/kdebase/workspace/; revision=803468
2008-05-03 00:09:46 +00:00
Sebastian Kügler
a49ddd0c38 Don't repaint quite so often, especially not when not necessary.
svn path=/trunk/KDE/kdebase/workspace/; revision=803467
2008-05-03 00:09:44 +00:00
Sebastian Kügler
cc11082706 Keep internal time and progress accounting in sync. Spotted
by Martin Graesslin.

BUG: 161434
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=803465
2008-05-02 23:30:17 +00:00
Sebastian Kügler
d09306ae55 Improve API docs of the TimeLine class.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=803464
2008-05-02 23:29:56 +00:00
Aike J. Sommer
2cfa81c2fc Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
Forgot to remove QDesktopWidget includes, sorry!

svn path=/trunk/KDE/kdebase/workspace/; revision=803353
2008-05-02 16:39:49 +00:00
Aike J. Sommer
1819ad69b2 Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
svn path=/trunk/KDE/kdebase/workspace/; revision=803349
2008-05-02 16:35:35 +00:00
Stephan Binner
c907b8acc1 i18n style guide fix
svn path=/trunk/KDE/kdebase/workspace/; revision=802656
2008-04-30 08:20:20 +00:00
Sebastian Kügler
5a955fbb97 Only scale in normal windows (!w->isSpecialWindow()).
svn path=/trunk/KDE/kdebase/workspace/; revision=802484
2008-04-29 16:20:48 +00:00
Sebastian Kügler
d35fe96770 Coverswitch: Fade windows not on the current desktop in and out
when the effect is started and stopped.

svn path=/trunk/KDE/kdebase/workspace/; revision=802483
2008-04-29 16:20:06 +00:00
Luboš Luňák
4f9cb481c2 Command-line args don't need explicit encoding.
svn path=/trunk/KDE/kdebase/workspace/; revision=802405
2008-04-29 09:13:00 +00:00
Luboš Luňák
1e114cd7ee I agree that 'To Desktop' submenu should be above 'Opacity', not quite
sure above being above 'Advanced', but let's give it a try.
BUG: 161162


svn path=/trunk/KDE/kdebase/workspace/; revision=802396
2008-04-29 08:52:51 +00:00
Script Kiddy
e110315896 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=802307

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-04-29 05:57:03 +00:00
Martin Gräßlin
ce394a7d6d Bring some changes from coverswitch to flipswitch (we should have a superclass for those two effects):
* Physic based animation via TimeLine
 * Default animation 200 msec
 * Fade in and out panel and window caption box during start/stop animation
 * Switch to stop animation if alt+tab is released during start animation
 * TwinView/Xinerama support

BUG: 159111

svn path=/trunk/KDE/kdebase/workspace/; revision=802160
2008-04-28 17:51:52 +00:00
Sebastian Kügler
ff15813559 Make translucency for active/inactive and moving/resizing fade in
smoothly, using TimeLine. There's a config option allowing you to
set the time. We're defaulting to 1500 msec, which sounds rather
long but in fact feels quite well. Apparently eye and math
disagree a bit :)

svn path=/trunk/KDE/kdebase/workspace/; revision=802133
2008-04-28 16:10:10 +00:00
Martin Gräßlin
6925faa034 Adding some checks for Null-pointers. This should prevent from very unlikely crashes when a window closes during the animation.
BUG: 160871

svn path=/trunk/KDE/kdebase/workspace/; revision=802111
2008-04-28 15:01:01 +00:00
Luboš Luňák
5b5ec479fa When deciding where to transfer focus when a window is closed,
consider all windows in its group, not just its mainwindows.


svn path=/trunk/KDE/kdebase/workspace/; revision=802097
2008-04-28 14:39:13 +00:00