Alexander Neundorf
58d4ae29ff
-also export kephal, kdecorations, kwineffects and ksrgd (or so)
...
Alex
CCMAIL: christoph@maxiom.de
svn path=/trunk/KDE/kdebase/workspace/; revision=895041
2008-12-09 21:27:30 +00:00
Alexander Neundorf
99b4b9dd88
-make kdebase build with the reduced link interface using target_link_libraries(... LINK_INTERFACE_LIBRARIES ...)
...
Alex
svn path=/trunk/KDE/kdebase/workspace/; revision=891438
2008-12-02 02:01:14 +00:00
Lucas Murray
2b22689c45
Paint effect text onto a QImage instead of a QPixmap. Makes OpenGL mode
...
faster, XRender slower and works around a subpixel font rendering problem.
BUG: 173089
svn path=/trunk/KDE/kdebase/workspace/; revision=888946
2008-11-25 15:15:26 +00:00
Lucas Murray
6d41a1320e
Moved all debug, warning and error messages into the KWin 1212 area.
...
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.
svn path=/trunk/KDE/kdebase/workspace/; revision=885620
2008-11-17 15:04:52 +00:00
Pino Toscano
20d67bbf90
revert workaround, correctly fixed in the parent CMakeLists.txt
...
svn path=/trunk/KDE/kdebase/workspace/; revision=884628
2008-11-15 15:34:45 +00:00
Tim Beaulen
6cb544e4c3
Should fix kwin from not finding kephal/screens.h
...
svn path=/trunk/KDE/kdebase/workspace/; revision=884616
2008-11-15 15:11:10 +00:00
Guillaume Pothier
f780e8b68b
Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
...
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
2008-11-15 03:04:44 +00:00
Laurent Montel
5535a9de5e
Fix iterator
...
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
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
Lucas Murray
154c19b0e7
Make the client shadowOpacity() return a relative opacity instead of absolute.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=873440
2008-10-19 13:43:16 +00:00
Lucas Murray
c07ba30b63
Fixed shadow effect losing its shadows after making changes to the settings.
...
Added force mode to buildQuads() to allow refreshing the cache.
Made EffectWindow::buildQuads() no longer internal.
svn path=/trunk/KDE/kdebase/workspace/; revision=872836
2008-10-18 10:31:59 +00:00
Lucas Murray
af1b639a9d
Rename the new decoration API and mark it as unstable. Supporting a hacked API is suicide.
...
Will correctly handle this in KDE 4.3 by using ARGB decorations, even if it's not pretty.
svn path=/trunk/KDE/kdebase/workspace/; revision=872795
2008-10-18 08:10:37 +00:00
Lucas Murray
0442bcf1f7
Increment effect API version.
...
Added Martin and myself to the shadow effect copyright header.
svn path=/trunk/KDE/kdebase/workspace/; revision=872474
2008-10-17 10:30:52 +00:00
Lucas Murray
899d578c49
Merge Libkdecoration2 Git branch.
...
WARNING: Breaks shadow effect. I don't think it causes anything to crash anymore but it is VERY ugly visually.
Contains:
- New decoration API that allows decorations to change the way shadows look.
- Shadows now wobble.
- API example code in the Oxygen decoration.
- Added buildQuads() effect plugin hook.
- Work on the shadow effect to use the new decoration shadow API as well.
- Added IDs to WindowQuads.
- Added public accessors to texture coords in WindowVertex.
Would like all this to be reviewed.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=872473
2008-10-17 10:30:43 +00:00
Albert Astals Cid
882b909364
Add const & so we don't copy all that objects for nothing, faster effects for free!
...
svn path=/trunk/KDE/kdebase/workspace/; revision=869928
2008-10-11 12:38:46 +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
a3a10632e6
Fix last commit.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=866886
2008-10-02 07:15:48 +00:00
Luboš Luňák
727397181a
Avoid QTimeLine warnings with invalid timeline duration.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=866697
2008-10-01 17:50:41 +00:00
Lucas Murray
68d958c237
Added reset methods to WindowMotionManager.
...
Fixed bug in present windows when if there is only one window on a Xinerama screen it is zoomed into nothingness when using the natural layout.
CCBUG: 171812
svn path=/trunk/KDE/kdebase/workspace/; revision=865798
2008-09-29 02:25:02 +00:00
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