Commit graph

91 commits

Author SHA1 Message Date
Lucas Murray
8cbce93613 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Hugo Pereira Da Costa
313bc152f2 fixed button rendering using QPainterPath, as done for kde2 windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1017171
2009-08-29 20:25:21 +00:00
Hugo Pereira Da Costa
29fec15b4a filled titlePix with transparent color before painting pattern, to fix title-bar appearance
svn path=/trunk/KDE/kdebase/workspace/; revision=1017016
2009-08-29 15:21:33 +00:00
Luboš Luňák
f760d36881 Fix buttons, patch by Knut Johansson <knutmj@online.no>.
svn path=/trunk/KDE/kdebase/workspace/; revision=913430
2009-01-19 11:51:46 +00:00
Luboš Luňák
cefbf62136 I'm quite sure these in fact do support spacers.
svn path=/trunk/KDE/kdebase/workspace/; revision=743036
2007-11-29 18:41:23 +00:00
Luboš Luňák
59e845e4e6 Make width of titlebar spacers default to half width of normal buttons,
not some random tiny sizes or even zero. Maybe could need small tweaking
here or there, but a spacer is supposed to make at least some space.


svn path=/trunk/KDE/kdebase/workspace/; revision=743034
2007-11-29 18:37:52 +00:00
Matthew Woehlke
3efc18c3b9 use new AbilityColor* in all kdebase windecos (except kwmtheme which doesn't seem to have a supports() even, and reportedly is not built)
svn path=/trunk/KDE/kdebase/workspace/; revision=743029
2007-11-29 18:02:20 +00:00
Luboš Luňák
fc23037d3a Add missing license headers. Some files mentioned only copyright
but not explicitly the license, there I assumed they're licensed
under the same license as the rest of KWin, which is GPLv2+ as of now.
CC-ing all people mentioned as copyright holders just in case
somebody wants some other license, e.g. the X11 license KWin used
to be licensed under until KDE3.2. Please check with other relevant
contributors and change accordingly in such case.
CCMAIL: Karol Szwed <gallium@kde.org>
CCMAIL: Luciano Montanaro <mikelima@cirulla.net>
CCMAIL: Sandro Giessl <sandro@giessl.com>
CCMAIL: Daniel M. Duley <mosfet@kde.org>
CCMAIL: Chris Lee <clee@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742990
2007-11-29 15:32:50 +00:00
Luboš Luňák
0170623a9c Separate KCommonDecoration from KDecoration, in order to allow
greater possibilities in extending KDecoration. KCommonDecoration
now does not inherit KDecoration, only wraps it (i.e. it's source
compatible). Added comments on how to extend KDecoration
in the future by subclassing to KDecoration2, added PORTING
document with all API changes in KDE4.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742976
2007-11-29 14:11:02 +00:00
Luboš Luňák
74b89e491d Revert r741298 - this time the right fix for -Woverloaded-virtual is fixing
the base class.
CCMAIL: montel@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=741860
2007-11-26 16:00:21 +00:00
Laurent Montel
d663800ddd defaultButtonsLeft and defaultButtonsRight is not const now.
I think that it will not create problem, but it fixes warning

svn path=/trunk/KDE/kdebase/workspace/; revision=741298
2007-11-25 11:24:28 +00:00
Luciano Montanaro
9937a60893 Fix Bug 152343 for the laptopclient case.
svn path=/trunk/KDE/kdebase/workspace/; revision=737217
2007-11-15 20:24:01 +00:00
Luboš Luňák
f55b1056a2 Make KDecorationFactory::supports() const, and also pure virtual to force
changing this signature in reimplementations, as -Woverloaded-virtual is
not in default flags :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=731695
2007-11-01 16:07:38 +00:00
Luciano Montanaro
5654c77fa1 Remove use of KPixmapEffect
svn path=/trunk/KDE/kdebase/workspace/; revision=717831
2007-09-27 16:54:08 +00:00
Pino Toscano
c7c502f085 kdrawutil.h is gone, and qpainter.h is needed
svn path=/trunk/KDE/kdebase/workspace/; revision=705670
2007-08-28 10:11:32 +00:00
Luboš Luňák
cc091a7704 Interesting way of checking if a decoration needs a hard reset - as soon
as one thing that does not need it has changed, it is not needed, regardless
of the rest. Even more interestingly several styles have exactly the same
copy of this nonsense.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=678025
2007-06-20 13:38:17 +00:00
Luciano Montanaro
bda187c083 Fix off-by one graphic glitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=673272
2007-06-09 17:47:08 +00:00
Thorsten Roeder
0666147473 some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Luboš Luňák
6ae86ca391 Merging from old trunk:
r564035 | coolo | 2006-07-19 08:49:37 +0200 (Wed, 19 Jul 2006) | 2 lines

replace deprecated functions


svn path=/trunk/KDE/kdebase/workspace/; revision=659254
2007-04-29 20:43:58 +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
Stephan Kulow
816cf2a2e9 replace deprecated functions
svn path=/trunk/KDE/kdebase/workspace/; revision=564035
2006-07-19 06:49:37 +00:00
Thorsten Roeder
a9612d82d4 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=542406
2006-05-19 09:37:34 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
9c5a5fd6ea KPixmap was removed
svn path=/trunk/KDE/kdebase/workspace/; revision=538507
2006-05-08 08:14:01 +00:00
Stephan Kulow
dee1917849 revert broken commit
svn path=/trunk/KDE/kdebase/workspace/; revision=536543
2006-05-02 12:40:25 +00:00
Bernhard Rosenkraenzer
1fd35c1cf9 Compile fixes (KPixmap)
svn path=/trunk/KDE/kdebase/workspace/; revision=536502
2006-05-02 10:35:34 +00:00
Stephan Kulow
a7f42a7a21 replaced deprecated functions
svn path=/trunk/KDE/kdebase/workspace/; revision=535878
2006-04-30 17:09:09 +00:00
Stephan Kulow
abeff9d0f6 some colorgroup porting
svn path=/trunk/KDE/kdebase/workspace/; revision=535723
2006-04-30 09:16:13 +00:00
Stephan Kulow
072a101a10 removed quite some deprecated functions around pixmaps
(crossing fingers I didn't overlook some use of ::resize that
need the old pixmap data copied)

svn path=/trunk/KDE/kdebase/workspace/; revision=534212
2006-04-26 16:05:58 +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
Laurent Montel
f327b7f032 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512331
2006-02-22 09:52:11 +00:00
Luboš Luňák
bbd5333e93 Fix incorrect title with nedit.
BUG: 117457


svn path=/trunk/KDE/kdebase/workspace/; revision=494578
2006-01-05 16:55:09 +00:00
Matt Broadstone
5da7024486 rid ourselves of the Q3Buttons
svn path=/trunk/KDE/kdebase/kwin/; revision=449967
2005-08-17 09:15:59 +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
ced5ab580a Die, window type override, die! Since nobody really knows what this window
type means anyway, let's simply consider it to be a legacy way of saying "noborder"
and nothing more.


svn path=/trunk/KDE/kdebase/kwin/; revision=412372
2005-05-11 14:20:54 +00:00
André Wöbbeking
841b7887a1 --warnings: unused variable
svn path=/trunk/kdebase/kwin/; revision=406133
2005-04-17 18:05:08 +00:00
Sandro Giessl
99c7f10187 fall back to KCommonDecoration::layoutMetric
svn path=/trunk/kdebase/kwin/; revision=400746
2005-03-26 13:18:32 +00:00
Sandro Giessl
b356373b1e remove unnecessary includes
svn path=/trunk/kdebase/kwin/; revision=400264
2005-03-24 16:34:08 +00:00
Sandro Giessl
f8f7122877 Port to KCommonDecoration. Also tried to eliminate the flickering by
not using PaletteBackground background mode for the widget anymore and instead
painting everything myself (also results in ~35% less rendering time for
100000 repaints).

svn path=/trunk/kdebase/kwin/; revision=399849
2005-03-22 23:03:13 +00:00
Sandro Giessl
dc5ad94cf6 Another patch by Knut Johansson:
- Respect custom button positions
- Correct button Abilities

The only thing I changed was to replace the qlayout.h include with a
simple class declaration... otherwise looks good to me.

CCMAIL: knut@johansson.com

svn path=/trunk/kdebase/kwin/; revision=383321
2005-01-28 17:06:35 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Luciano Montanaro
6417a92276 fixed maximized border size.
svn path=/trunk/kdebase/kwin/; revision=333565
2004-07-28 17:06:21 +00:00
Stephan Kulow
fdbebdc4c0 fixed typo
svn path=/trunk/kdebase/kwin/; revision=332526
2004-07-25 11:55:16 +00:00
Luciano Montanaro
f97504d748 Use new common maximize() method.
svn path=/trunk/kdebase/kwin/; revision=332170
2004-07-23 23:10:19 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Luciano Montanaro
ef20b9749d Updated my mail address
svn path=/trunk/kdebase/kwin/; revision=313177
2004-05-21 10:37:36 +00:00