Commit graph

70 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
39731f6d8c added 'SettingCompositing' to notify decorations that compositing state has changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021801
2009-09-10 05:03:04 +00:00
Lucas Murray
310aa47ec0 Remove unneeded enum from decoration library.
svn path=/trunk/KDE/kdebase/workspace/; revision=989820
2009-07-01 04:54:56 +00:00
Lucas Murray
8d09ed341a Remove old decoration shadow API, rename AbilityProvidesShadow and add
support for the new decoration shadow API in the shadow effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=980130
2009-06-11 08:11:13 +00:00
Fredrik Höglund
8bba7aed7d Make it possible for the decorations to paint outside the window frame
when compositing is enabled, by letting them add additional padding
to the sides of the frame.

svn path=/trunk/KDE/kdebase/workspace/; revision=963586
2009-05-04 22:35:33 +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
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
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
Lucas Murray
0cfe3b2c73 Fix indenting of decoration files.
svn path=/trunk/KDE/kdebase/workspace/; revision=863806
2008-09-23 07:54:28 +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
685e1d2361 Make it possible to use KDecorationOptions without private headers.
svn path=/trunk/KDE/kdebase/workspace/; revision=768271
2008-01-29 16:44:41 +00:00
Luboš Luňák
3c3b5f4b2d Split kdecoration and kwineffects libraries as two modules for doxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=762274
2008-01-16 18:13:24 +00:00
Matthew Woehlke
529611c662 Add AbilityAnnounceColors and AbilityColor* abilities to kwin decorations; this way clients can say what colors they support for the benifit of the color kcm (and anyone else that might need to know?)
svn path=/trunk/KDE/kdebase/workspace/; revision=743015
2007-11-29 17:13:15 +00:00
Matthew Woehlke
21433fbb26 NUM_COLORS is internal and might be changed, document it thusly
svn path=/trunk/KDE/kdebase/workspace/; revision=743012
2007-11-29 17:01:14 +00:00
Matthew Woehlke
e3c96063ca SVN_SILENT: --trailing whitespace (so no fighting with kate, or gunk in my next commits)
svn path=/trunk/KDE/kdebase/workspace/; revision=743010
2007-11-29 17:00:27 +00:00
Luboš Luňák
24b3a9b829 No tabs.
svn path=/trunk/KDE/kdebase/workspace/; revision=742694
2007-11-28 16:05:13 +00:00
Laurent Montel
e7aa0b3a7e Remove not necessary kdeversion.h
svn path=/trunk/KDE/kdebase/workspace/; revision=741293
2007-11-25 11:12:05 +00:00
Luboš Luňák
c83210c60a Remove all code for non-composited animations - they don't work anyway.
svn path=/trunk/KDE/kdebase/workspace/; revision=739143
2007-11-20 16:07:20 +00:00
Luboš Luňák
ab70575d1f Make the outline for moving/resizing work with Qt4, which bothers
to support XOR painting only when XRender is available. Given that
outline should be mainly used with older systems, go for a DIY Xlib-based
solution. Needs changes in decorations using it.
BUG: 149997


svn path=/trunk/KDE/kdebase/workspace/; revision=739136
2007-11-20 16:00:58 +00:00
Aaron J. Seigo
003a0ea7d0 introduce KDecorationOptions::defaultTitleButtonsLeft() and KDecorationOptions::defaultTitleButtonsRight() so as to centralize this default
svn path=/trunk/KDE/kdebase/workspace/; revision=737205
2007-11-15 20:08:57 +00:00
Aaron J. Seigo
b9c69f425b various ebn fixes (markup, uninling, QString())
svn path=/trunk/KDE/kdebase/workspace/; revision=692765
2007-07-26 07:51:16 +00:00
Aaron J. Seigo
dd72494b2b these are all cheap to pass around and make ebn happy
svn path=/trunk/KDE/kdebase/workspace/; revision=692309
2007-07-25 10:28:57 +00:00
Pino Toscano
0b6477e90e use QtModule/QFoo includes
svn path=/trunk/KDE/kdebase/workspace/; revision=687972
2007-07-14 22:40:00 +00:00
Luboš Luňák
ee040a6681 Merging from old trunk:
r644597 | mueller | 2007-03-20 15:21:56 +0100 (Tue, 20 Mar 2007) | 2 lines

pedantic--


svn path=/trunk/KDE/kdebase/workspace/; revision=659566
2007-04-30 12:23:20 +00:00
Luboš Luňák
c2791ad389 Merging from old trunk:
r637366 | mueller | 2007-02-26 08:44:18 +0100 (Mon, 26 Feb 2007) | 2 lines

header cleanness++


svn path=/trunk/KDE/kdebase/workspace/; revision=659553
2007-04-30 12:08:23 +00:00
Luboš Luňák
a46d4c9498 Merging from old trunk:
r636679 | mueller | 2007-02-23 21:24:36 +0100 (Fri, 23 Feb 2007) | 2 lines

various kconfig portings


svn path=/trunk/KDE/kdebase/workspace/; revision=659551
2007-04-30 12:07:08 +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
Dirk Mueller
561fdef0ff include cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=652987
2007-04-12 13:02:58 +00:00
Dirk Mueller
85677f205f pedantic--
svn path=/trunk/KDE/kdebase/workspace/; revision=644597
2007-03-20 14:21:56 +00:00
Dirk Mueller
28697de826 header cleanness++
svn path=/trunk/KDE/kdebase/workspace/; revision=637366
2007-02-26 07:44:18 +00:00
Dirk Mueller
d6dd2a2616 various kconfig portings
svn path=/trunk/KDE/kdebase/workspace/; revision=636679
2007-02-23 20:24:36 +00:00
Luboš Luňák
a23d4f820b These warnings were pretty annoying.
svn path=/branches/work/kwin_composite/; revision=558180
2006-07-04 20:23:29 +00:00
Laurent Montel
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Sandro Giessl
fdb1b61473 Make kwin decorations API free of Qt3 support members
svn path=/trunk/KDE/kdebase/workspace/; revision=515804
2006-03-04 22:27:27 +00:00
Allen Winter
b22c86f670 remove all @since doxygen tags from this module
svn path=/trunk/KDE/kdebase/workspace/; revision=515788
2006-03-04 21:09:32 +00:00
Laurent Montel
a3be46dc25 Qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=479663
2005-11-11 10:57:40 +00:00
Laurent Montel
1c3e66488b Adapt to new kde4 api
Remove some qt3support

svn path=/trunk/KDE/kdebase/workspace/; revision=478902
2005-11-08 10:20:07 +00:00
Laurent Montel
788b983bc5 Remove "KDE_IS_VERSION"
svn path=/trunk/KDE/kdebase/workspace/; revision=459377
2005-09-10 17:09:47 +00:00
Luboš Luňák
c6b24fdb13 Make it simpler to also edit special window setting affecting
the whole application.


svn path=/trunk/KDE/kdebase/kwin/; revision=449779
2005-08-16 17:46:42 +00:00
Laurent Montel
a3ea896a57 Warning--
KStyle::defaultStyle() doesn't exist now

svn path=/trunk/KDE/kdebase/kcontrol/; revision=449253
2005-08-14 20:58:48 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Luboš Luňák
fc90a04635 Make it possible to do all kinds of strange things when mousewheeling
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188


svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +00:00
Luboš Luňák
65c3b55e05 Revert last revert, dynamic keybidings are back in.
svn path=/trunk/kdebase/kwin/; revision=377118
2005-01-10 09:56:21 +00:00
Luboš Luňák
c7d0776f01 Revert last changes because of temporary freeze.
svn path=/trunk/kdebase/kwin/; revision=375467
2005-01-04 14:57:42 +00:00
Luboš Luňák
d04ce83410 Custom shortcuts for windows (#44268). It still needs some testing, window
rules for them to be assigned automatically, and some way to indicate
every window's shortcut, but it more or less works.

svn path=/trunk/kdebase/kwin/; revision=375458
2005-01-04 14:24:55 +00:00
Luboš Luňák
aa28465df5 I think I got persuaded that having a direct access to the decorated
window might be useful in very very very rare cases.

svn path=/trunk/kdebase/kwin/; revision=368911
2004-12-06 15:46:27 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Dirk Mueller
42c0e144c1 fix export's
svn path=/trunk/kdebase/ksysguard/; revision=363751
2004-11-17 17:56:22 +00:00
Sandro Giessl
5ffb107a01 Let decorations announce which buttons are supported via KDecorationFactory::supports().
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360718
2004-11-05 14:57:32 +00:00
Sandro Giessl
9ff5419637 doxygen update: there is also a resize button
svn path=/trunk/kdebase/kwin/; revision=360105
2004-11-03 14:48:41 +00:00