Commit graph

621 commits

Author SHA1 Message Date
Sandro Giessl
87b57d4e7f no need to create as well the inactive as the active caption buffer. now only create them when needed...
svn path=/trunk/kdebase/kwin/; revision=397838
2005-03-15 16:09:49 +00:00
Sandro Giessl
5cb8a385e9 cache button icons in the handler. creation of 1000 decorations took 26s
before, now it's 10s... probably saves some memory, too.

svn path=/trunk/kdebase/kwin/; revision=397810
2005-03-15 14:07:37 +00:00
Sandro Giessl
8a64612f7b do not unnecessarily rebuild everything in reset(), makes deco recreation a bit faster. still slower than other decos due to the expensive smoothScale, image recoloring etc. - this should be cached
svn path=/trunk/kdebase/kwin/; revision=397486
2005-03-14 09:39:09 +00:00
Sandro Giessl
c62cf962d6 do not use statics to access the handler
svn path=/trunk/kdebase/kwin/; revision=397053
2005-03-12 20:13:51 +00:00
Sandro Giessl
64e8b52430 keep cached pixmaps in the handler so not every decoration needs to create its own pixmaps...
svn path=/trunk/kdebase/kwin/; revision=397041
2005-03-12 19:31:31 +00:00
Sandro Giessl
45d3cfaa36 speed up rendering a bit more by reducing the number of unnecessary QPainter calls.
svn path=/trunk/kdebase/kwin/; revision=396916
2005-03-12 09:58:35 +00:00
Sandro Giessl
6915c12e5f optimize the painting of title bar tiles a bit...
svn path=/trunk/kdebase/kwin/; revision=396915
2005-03-12 09:34:44 +00:00
Sandro Giessl
74dda10aaa Port Plastik to KCommonDecoration.
svn path=/trunk/kdebase/kwin/; revision=396773
2005-03-11 20:14:04 +00:00
Script Kiddy
ec5d466c69 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=395420
2005-03-07 09:05:40 +00:00
Script Kiddy
c8a3be9b0c CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=392535

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Blkmarble.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/Circuit.jpg.desktop
M	wallpapers/Foggy1.jpg.desktop
M	wallpapers/Island-of-Elba.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Marble01.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Paper01.jpg.desktop
M	wallpapers/Planning-And-Probing-1.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/fulmine.jpg.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/kde_passion.jpg.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/only_k.jpg.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2005-02-23 05:08:44 +00:00
Script Kiddy
73522bcdce CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=388264
2005-02-11 04:54:21 +00:00
Script Kiddy
a71d1d57dd CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=386301
2005-02-05 04:17:59 +00:00
Script Kiddy
bafac3e99e CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=385197

The following changes were in SVN, but were removed from git:

M	wallpapers/aurora.svgz.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
2005-02-02 05:17:44 +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
Sandro Giessl
1d8bbaf6ff Only show the maximized state if the maximizeMode is MaximizeFull. Other
decorations seem to do it right.

BUG: 97681

svn path=/trunk/kdebase/kwin/; revision=381966
2005-01-24 15:28:52 +00:00
Allan Sandfeld Jensen
371b40edbd Make the shadows work just a little better on dark text
svn path=/trunk/kdebase/kwin/; revision=381060
2005-01-22 01:13:39 +00:00
Sandro Giessl
61592fea4c Apply patch by Toby Dickenson (thanks a lot!):
Do not round (mask) the decoration corners if the window aligns to a screen corner.
This has two advantages:
- Fitt's Law applies for resizing windows
- Prevents accidentally hitting buttons of maximized windows behind the active window

Hasn't been tested with xinerama setups but this should work as well. Hopefully
someone can test it before KDE 3.4.

CCMAIL: toby@tarind.com
BUG: 93918

svn path=/trunk/kdebase/kwin/; revision=380112
2005-01-19 15:32:01 +00:00
Andrew Coles
bcbd5ab29c CVS_SILENT
Corrected typo.

svn path=/trunk/kdebase/kwin/; revision=379395
2005-01-17 12:54:08 +00:00
Sandro Giessl
da873a6d88 (corrected) patch by abraendle@gmx.de: "Quartz extra slim" option
CCBUG: 74967

svn path=/trunk/kdebase/kwin/; revision=378488
2005-01-14 17:56:02 +00:00
Dirk Mueller
8e31c22156 grrrrr...
svn path=/trunk/kdebase/kwin/; revision=376625
2005-01-08 22:25:07 +00:00
Script Kiddy
48d3a06f1d CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=376018

The following changes were in SVN, but were removed from git:

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2005-01-07 04:29:48 +00:00
Dirk Mueller
1f509ffe24 fix export's
svn path=/trunk/kdebase/kwin/; revision=375962
2005-01-06 22:37:53 +00:00
Sandro Giessl
cf532c077d Reduce the titlebar height by 2 pixel for maximized windows to make the buttons
look a bit more centered.
FEATURE: 91461

svn path=/trunk/kdebase/kwin/; revision=369845
2004-12-11 12:53:21 +00:00
Script Kiddy
98c47af908 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=369788
2004-12-11 06:41:41 +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
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
Aaron J. Seigo
df1d389be8 no margin for the config widget.
svn path=/trunk/kdebase/kwin/; revision=360562
2004-11-05 00:51:11 +00:00
Script Kiddy
273d07c8f6 CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kwin/; revision=359745
2004-11-02 04:22:33 +00:00
Luciano Montanaro
4ae63db942 Worked around the isResizable() problem: check if the window is resizable
only when initializing the decoration for a given window.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=357517
2004-10-25 10:17:59 +00:00
Luciano Montanaro
6dc8a25ebe Cleaned up a bit.
svn path=/trunk/kdebase/kwin/; revision=357339
2004-10-24 14:49:26 +00:00
Sandro Giessl
d6895baaec CVS_SILENTindentation...
svn path=/trunk/kdebase/kwin/; revision=355294
2004-10-17 14:20:15 +00:00
Sandro Giessl
6aa9273dbf this exception for shaded windows was necessary for the old decoration API...
svn path=/trunk/kdebase/kwin/; revision=355292
2004-10-17 14:19:27 +00:00
Stefan Asserhäll
756bb763ca Added extraction of strings from .ui files
svn path=/trunk/kdebase/kwin/; revision=355249
2004-10-17 11:48:28 +00:00
Sandro Giessl
78b5894323 Aaron has a point. This kind of things a CVS log isn't obvious enough. ;)
svn path=/trunk/kdebase/kwin/; revision=355244
2004-10-17 11:31:37 +00:00
Sandro Giessl
3e88c13677 Don't call widget()->update() in our resizeEvent()! Resizing windows with
Plastik decorations feels faster now.

There already is something which triggers PaintEvents, I don't understand why
this is. However paintEvent() has actually been called 2 (!) times for every
resize event.
It seems that other window decorations have the same problem, I will check that
later.

CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=355068
2004-10-16 16:47:56 +00:00
Sandro Giessl
a9d20d0fc4 CVS_SILENT
remove unused showEvent().

svn path=/trunk/kdebase/kwin/; revision=354765
2004-10-15 14:50:48 +00:00
Sandro Giessl
4b5de39c57 CVS_SILENT
clenup, windowWrapperShowEvent seems to be a relict from pre-kwin3 times...
showEvent() doesn't seem to be used either, perhaps it could be removed as well.

svn path=/trunk/kdebase/kwin/; revision=354761
2004-10-15 14:44:33 +00:00
André Wöbbeking
23b2927e0c make it compile
CCMAIL: mikelima@cirulla.net

svn path=/trunk/kdebase/kwin/; revision=349559
2004-09-26 20:47:47 +00:00
Luciano Montanaro
136f98c24e Fixed glitch on first uresizable window opening.
svn path=/trunk/kdebase/kwin/; revision=349364
2004-09-26 10:29:23 +00:00
Luboš Luňák
4e52fbebdc With transparent moving/resizing, make sure the outline is not larger
than the window (#88567).

svn path=/trunk/kdebase/kwin/; revision=348501
2004-09-22 15:09:42 +00:00
Andrew Coles
d76ee99c2e CVS_SILENT
Corrected typos.

svn path=/trunk/kdebase/kwin/; revision=348126
2004-09-21 11:12:01 +00:00
Nicolas Goutte
7aba5a0721 Unify the translation of KWin's clients
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org

svn path=/trunk/kdebase/kwin/; revision=347824
2004-09-20 11:20:12 +00:00
Nicolas Goutte
ea3550ccd4 Message extraction is done one directory above
svn path=/trunk/kdebase/kwin/; revision=347386
2004-09-18 14:10:08 +00:00
David Faure
dc49f68c35 Compile - looks like kdeartwork doesn't use -DQT_NO_ASCII_CAST ??
svn path=/trunk/kdebase/kwin/; revision=347288
2004-09-17 21:11:25 +00:00
David Faure
e3ef1b9967 Fixed after move
svn path=/trunk/kdebase/kwin/; revision=347285
2004-09-17 21:01:38 +00:00
David Faure
9116c6345f plastik moved here
Why is there a "default" subdir here btw, with another style in it? :)

svn path=/trunk/kdebase/kwin/; revision=347283
2004-09-17 21:00:26 +00:00
Script Kiddy
4341c5a0b8 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=334652
2004-08-01 06:58:42 +00:00
Luciano Montanaro
6417a92276 fixed maximized border size.
svn path=/trunk/kdebase/kwin/; revision=333565
2004-07-28 17:06:21 +00:00