Lucas Murray
0cfe3b2c73
Fix indenting of decoration files.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=863806
2008-09-23 07:54:28 +00:00
Lucas Murray
283a16b13b
Attempt at correcting the motion formula at low framerates. Still needs improvement.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=863784
2008-09-23 07:10:27 +00:00
Lucas Murray
51aef64cd7
Added motion dynamic physics helper classes to the KWin effects API. These
...
classes are intended to be used to help effect authors move windows across
the screen smoothly and naturally.
Although not 100% complete the classes can be used for 2D operations in its
current state, an example of which is the included present windows update.
These classes can be expanded upon when the new modifiers are required.
I would like a generic, template-based motion manager class that can be used
for non-window objects as well as another 3D-enabled manager to be available
sometime in the future.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=863561
2008-09-22 13:03:00 +00:00
Luboš Luňák
d0c1f5dd62
Disable shadow with effects that transform windows, such as wobbly,
...
since shadow currently can't handle that.
CCBUG: 161330
svn path=/trunk/KDE/kdebase/workspace/; revision=862309
2008-09-18 15:26:17 +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
8e5f95a9d6
Make a more explicit distinction between using normalized and non-normalized
...
texture coordinates - it cost me hours to find out why something was misdrawing :(.
svn path=/trunk/KDE/kdebase/workspace/; revision=854546
2008-08-29 18:54:28 +00:00
Bram Schoenmakers
a707d588c3
Forward port r851037: Respect option "Show window button tooltips"
...
svn path=/trunk/KDE/kdebase/workspace/; revision=851041
2008-08-22 19:24:43 +00:00
Lucas Murray
00c95be210
Added text alignment support to paintText() functions
...
svn path=/trunk/KDE/kdebase/workspace/; revision=842497
2008-08-05 12:26:16 +00:00
Martin Gräßlin
cb4ed769aa
Change from orthographic projection to a perspective projection. This allows to change z-values and rotations.
...
Therefore zScale, zTranslate and new RotationData are added to ScreenPaintData and WindowPaintData. So it is possible to define zTranslation and rotations without using OpenGL directly. The change only affects OpenGL compositing. XRender is not changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=842018
2008-08-04 14:07:45 +00:00
Luboš Luňák
8bbc6af734
Keep 0.20-0.49 versions for 4.1.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=842011
2008-08-04 13:35:10 +00:00
Charles Samuels
258b8817a7
BUG: 166795
...
Assert fail with cube plugin
svn path=/trunk/KDE/kdebase/workspace/; revision=837891
2008-07-25 23:12:19 +00:00
Lucas Murray
0581746327
Allow moving of maximized windows across screens
...
BUG: 131299
svn path=/trunk/KDE/kdebase/workspace/; revision=837644
2008-07-25 10:31:47 +00:00
Alexander Neundorf
9e8a357597
-also disable _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() and use the renamed LINK_INTERFACE_LIBRARIES target property
...
instead:
set_target_properties(foo PROPERTIES
${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "kdeui;kdecore"
)
While this doesn't look very nice, it is completely forward and backward compatible (i.e. cmake 2.4 doesn't complain,
cmake 2.6 works, both versions work as soon as the reduced link interface is the default (soon), if somebody
uses this with kdelibs which don't have that anymore he will get the reduced interface instead of errors, so all
should be ok)
Alex
CCMAIL: mueller@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=836131
2008-07-21 19:19:06 +00:00
Alexander Neundorf
6546f980e5
-adapt kdebase to the renaming of kde4_target_link_interface_libraries() to _kde4_target_link_interface_libraries()
...
Alex
CCMAIL: mueller@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=835652
2008-07-20 22:03:14 +00:00
Dirk Mueller
d46ff1342f
fix link lines
...
svn path=/trunk/KDE/kdebase/workspace/; revision=829218
2008-07-07 20:56:56 +00:00
Luboš Luňák
8e936add92
assert( false ) -> abort(), to avoid no-return-value warning with NDEBUG
...
svn path=/trunk/KDE/kdebase/workspace/; revision=825094
2008-06-27 12:06:29 +00:00
Laurent Montel
da2c6c1375
Tag as devel element
...
svn path=/trunk/KDE/kdebase/workspace/; revision=825022
2008-06-27 06:56:11 +00:00
Lucas Murray
d515abb82c
Added screenNumber() and addRepaint(QRegion) to effects API
...
svn path=/trunk/KDE/kdebase/workspace/; revision=822215
2008-06-19 14:16:21 +00:00
Luboš Luňák
88cbf98167
Funny, I didn't know XRender now had shaders too :).
...
Fix the proper #define.
svn path=/trunk/KDE/kdebase/workspace/; revision=821054
2008-06-16 08:45:28 +00:00
David Johnson
fcf289e99e
Converting old style includes to new qt4 style
...
svn path=/trunk/KDE/kdebase/workspace/; revision=820905
2008-06-15 18:49:48 +00:00
Adriaan de Groot
2b96a2063e
The guard in the .h file is for XRENDER. So if there is no xrender but there is opengl (which is the case with Xorg 6.9 on Solaris, at least) then the .h file doesn't declare Shader, but the .cpp file tries to define it.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=820474
2008-06-14 12:43:37 +00:00
Luboš Luňák
3f4a2dfaed
Add functions for querying xinerama screens to effects API,
...
from Lucas Murray <admin@undefinedfire.com>.
svn path=/trunk/KDE/kdebase/workspace/; revision=818782
2008-06-09 16:09:56 +00:00
Luboš Luňák
be22824e02
Show tooltips.
...
BUG: 162648
svn path=/trunk/KDE/kdebase/workspace/; revision=817651
2008-06-06 14:19:53 +00:00
Luboš Luňák
4fc3d50790
Properly #ifdef OpenGL-only and XRender-only stuff.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=817585
2008-06-06 11:07:15 +00:00
Luboš Luňák
0ce86291c5
Some missing XRender counterparts for utility functions, from Thomas Lübking.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=817548
2008-06-06 09:11:52 +00:00
Lukas Kropatschek
8eeddd6c55
some krazy include issue fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=814568
2008-05-30 17:47:24 +00:00
Urs Wolfer
2876bf7217
add missing KWIN_HAVE_OPENGL_COMPOSITING check
...
BUG:162466
svn path=/trunk/KDE/kdebase/workspace/; revision=811956
2008-05-24 08:24:48 +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
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
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
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
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
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
Sebastian Kügler
b953f0a046
Introduce TimeLine, a class providing non-linear animation patterns
...
to KWin effects.
The class basically wraps QTimeLine right now, but it's easy to pop
in function implementing different animation timeline patterns.
Patches to the first effects using this TimeLine are coming up ...
svn path=/trunk/KDE/kdebase/workspace/; revision=798719
2008-04-18 23:57:05 +00:00
Alexander Neundorf
e36a1cecee
some more space to enhance readability
...
Alex
svn path=/trunk/KDE/kdebase/workspace/; revision=795598
2008-04-10 23:15:44 +00:00
Christian Ehrlicher
d91c540b61
LIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS
...
svn path=/trunk/KDE/kdebase/workspace/; revision=792590
2008-04-01 16:42:27 +00:00
Luboš Luňák
01d9d88580
Add a dbus call to query which color settings the current decoration
...
supports, to be used by kcmcolors.
svn path=/trunk/KDE/kdebase/workspace/; revision=788598
2008-03-21 22:17:10 +00:00
Luboš Luňák
f77561ce65
Don't discard window texture when only the shape changes but the window
...
geometry actually stays the same. Avoids large number of rebinds (with no
strict binding) with the launch feedback icon.
svn path=/trunk/KDE/kdebase/workspace/; revision=787948
2008-03-20 10:05:41 +00:00
Luboš Luňák
75623e889a
Documentation for window types functions.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=784766
2008-03-12 10:46:41 +00:00
Luboš Luňák
d8a3602e45
Add assert().
...
svn path=/trunk/KDE/kdebase/workspace/; revision=782273
2008-03-04 18:29:17 +00:00
Luboš Luňák
0b1cef2414
Do #define's properly for XRender.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=781906
2008-03-03 21:12:48 +00:00
Rivo Laks
3f581b4d0c
Add a method to subdivide the window into regular grid.
...
Will be used by wobbly windows effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=781469
2008-03-02 22:28:50 +00:00
Adriaan de Groot
e8e15bddb9
Need Xfixes.h for XFixesCreateRegion(), regardless of whether Xrender is available.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=780234
2008-02-28 13:15:39 +00:00
Laurent Montel
b844bcae41
Fix compile (need to export it)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=779292
2008-02-25 19:53:43 +00:00
Luboš Luňák
cff2b0e6cd
Abstract paint clipping into PaintClipper helper class that allows
...
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2 )
BUG: 156798
svn path=/trunk/KDE/kdebase/workspace/; revision=779045
2008-02-25 11:32:21 +00:00
Luboš Luňák
73ad1f1adc
Use a modified errorMessage() with explicitly listing all extensions used by KWin.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=778705
2008-02-24 11:41:55 +00:00
Dirk Mueller
de19077399
header cleanness++
...
svn path=/trunk/KDE/kdebase/workspace/; revision=770658
2008-02-04 10:24:45 +00:00