Commit graph

26 commits

Author SHA1 Message Date
Enrique Matías Sánchez
f5efd9ca28 SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=875089
2008-10-23 09:31:44 +00:00
Luboš Luňák
1d2c54edcc Support for proper effect reconfiguration instead of reloading them.
Fixes e.g. the global animation combo not taking effect.


svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Luboš Luňák
2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Luboš Luňák
31444aad22 Fix uninitialized variables.
svn path=/trunk/KDE/kdebase/workspace/; revision=837761
2008-07-25 16:46:27 +00:00
Luboš Luňák
cda254530d Inactive windows can be moved/resized too.
BUG: 163927


svn path=/trunk/KDE/kdebase/workspace/; revision=820132
2008-06-13 09:35:57 +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
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
Magnus Romnes
d492155fb7 * Added support for opacity in menus.
* Moved configuration dialog to .ui file.


svn path=/trunk/KDE/kdebase/workspace/; revision=794038
2008-04-06 10:19:26 +00:00
Luboš Luňák
6b2566980c Change default for MakeTransparent to enable only transparent move/resize
by default (we have defaults in 3 places :(  ) and enable the effect
by default.


svn path=/trunk/KDE/kdebase/workspace/; revision=762716
2008-01-17 18:41:21 +00:00
Luboš Luňák
be6520907a Option for transparent inactive windows. Patch by "Mark Eaton" <eaton.mark@gmail.com>.
svn path=/trunk/KDE/kdebase/workspace/; revision=761341
2008-01-14 15:34:39 +00:00
Luboš Luňák
01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Rivo Laks
bbb6d2d96a - Add config module for MakeTransparent effect.
Defaults are 70% translucency for window decorations and 80% for moving windows.
- Set it's user-visible name to Translucency

svn path=/trunk/KDE/kdebase/workspace/; revision=728122
2007-10-22 13:34:26 +00:00
Luboš Luňák
96aba51960 Add a helper to turn on transparency in pre-paint calls.
svn path=/trunk/KDE/kdebase/workspace/; revision=689910
2007-07-19 13:32:46 +00:00
Luboš Luňák
e1c5f18414 Separate rendering for decoration and window contents, they can have
different opacity (opacity only for decoration option).


svn path=/trunk/KDE/kdebase/workspace/; revision=689855
2007-07-19 10:07:49 +00:00
Luboš Luňák
5faa397849 Vertex redesign - redo the way windows are split into smaller parts
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.


svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Rivo Laks
041673bf86 Effect's name in KWIN_EFFECT*() macros must now match effect's internal name in .desktop file,
without kwin4_effect_ prefix, so change the name in those macros to lowercase.
Some modifications to the macros themselves as well.

Effect loading via dcop might work again now.

svn path=/trunk/KDE/kdebase/workspace/; revision=669033
2007-05-28 11:16:18 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
8e25dd6bfa Port to plugins.
svn path=/branches/work/kwin_composite/; revision=652956
2007-04-12 11:55:07 +00:00
Luboš Luňák
e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák
8b5b40e4e8 Shadows. Right not it's only flat black rectangle, but otherwise
everything should work.


svn path=/branches/work/kwin_composite/; revision=646315
2007-03-25 10:48:07 +00:00
Luboš Luňák
4019dff500 Distinguish between damage and repaints - damage is when windows contents
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org


svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Luboš Luňák
0ae5a772e7 Add EffectWindow as a window representation for effects,
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.


svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák
bed1c3c6b9 Fix a crash.
svn path=/branches/work/kwin_composite/; revision=600512
2006-10-30 20:33:06 +00:00
Luboš Luňák
5f03c77514 Move effects to their own directory.
svn path=/branches/work/kwin_composite/; revision=600157
2006-10-29 19:08:09 +00:00