Commit graph

968 commits

Author SHA1 Message Date
Luboš Luňák
222d60acf8 Put in changes reverted by r732026 again.
svn path=/trunk/KDE/kdebase/workspace/; revision=733454
2007-11-06 11:13:09 +00:00
Matthew Woehlke
b60d4e187a SVN_SILENT: comment update, since I convinced Lubos kwin should nicely set palette group, but haven't gotten around to fixing kwin yet :-(
Bah, should've done at least this a long time ago, sorry Lubos.

svn path=/trunk/KDE/kdebase/workspace/; revision=733209
2007-11-05 21:10:59 +00:00
Fathi Boudra
ea2ebe5e62 Rename kwin_oxy to kwin_oxygen.
More consistent with other kwin decoration name.

svn path=/trunk/KDE/kdebase/workspace/; revision=732858
2007-11-04 22:32:55 +00:00
Matthew Woehlke
a7c46120b6 undo (unintentional?) function removal by ruphy that broke the build... ruphy, please check the diff first! :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=732044
2007-11-02 16:28:27 +00:00
Riccardo Iaconelli
843839c21d SVN_SILENT
Changing email address from ruphy@fsfe.org to riccardo@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=732026
2007-11-02 15:30:53 +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
Sandro Giessl
0b28be3447 Fix a little off-by-one pixel error (titlebar color drawn over window
border when there is no left kwin button configured), described on
http://www.michielovertoom.com/kwin-web-fix/


svn path=/trunk/KDE/kdebase/workspace/; revision=728221
2007-10-22 18:51:38 +00:00
Casper Boemann
0e65033534 Add hover effect to win deco buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=727100
2007-10-19 19:56:50 +00:00
Casper Boemann
759cbbb8ff Add dividing line below titlebar
Fiddle with metrics of buttons ad text a bit
We are mostly done with win dec now - Only hover on buttons missing

svn path=/trunk/KDE/kdebase/workspace/; revision=726799
2007-10-18 23:56:46 +00:00
Casper Boemann
a454357d4e Paint buttons of inactive windows different too
Prepare for caching of those colors - doesn't connect to actual KGS
signal yet - so are never invalidated


svn path=/trunk/KDE/kdebase/workspace/; revision=726729
2007-10-18 19:09:41 +00:00
Matthew Woehlke
1bd2d4c10f enforce minimum contrast for titlebar fade effect
svn path=/trunk/KDE/kdebase/workspace/; revision=726726
2007-10-18 18:40:06 +00:00
Matthew Woehlke
c8c7e6e04b SVN_SILENT: debug--
svn path=/trunk/KDE/kdebase/workspace/; revision=726719
2007-10-18 18:12:08 +00:00
Matthew Woehlke
3aa0759a24 first crack at intelligently fading out inactive text
svn path=/trunk/KDE/kdebase/workspace/; revision=726717
2007-10-18 18:09:31 +00:00
Luciano Montanaro
0fb2ba30e2 - Fix paint on null bitmap
- Fix ClientFactory::supprts() to report only supported buttons.

svn path=/trunk/KDE/kdebase/workspace/; revision=726597
2007-10-18 07:37:43 +00:00
Casper Boemann
3180c8c0b6 Fix closebutton not being clickable by moving the mouse to the corner in
maximized mode.

svn path=/trunk/KDE/kdebase/workspace/; revision=726270
2007-10-17 11:50:34 +00:00
Luciano Montanaro
65fabe9b98 The close bits are not used anymore.
svn path=/trunk/KDE/kdebase/workspace/; revision=726206
2007-10-17 07:55:55 +00:00
Luciano Montanaro
bb593de8fc - Fix rendering of the close button on composite screens.
As a side effect, the x now resizes to match the button size.
- Render the help "?" character slightly larger.

svn path=/trunk/KDE/kdebase/workspace/; revision=725374
2007-10-15 07:52:06 +00:00
Luciano Montanaro
1f42aba1de Replace the help button "?" bitmap with code to render the "?" using
drawText. This means the help button has better scalability, and it
actually draws correctly on composited displays.

Redone the button height calculation to better match the 3.x version.
TODO: the sticky and close buttons

svn path=/trunk/KDE/kdebase/workspace/; revision=724399
2007-10-12 08:03:19 +00:00
Matthew Woehlke
f80c129100 thinner symbols for windeco buttons, pinheiro, boemann and I agree this is a better look; 2.5 was a bit much
svn path=/trunk/KDE/kdebase/workspace/; revision=723761
2007-10-10 17:05:11 +00:00
Matthew Woehlke
865ea8e9d7 use round caps for windeco button symbols... not really visible at width=2.5px, but still more correct
svn path=/trunk/KDE/kdebase/workspace/; revision=723570
2007-10-10 01:28:33 +00:00
Matthew Woehlke
5cc9ad5e9e more windeco button fiddling... reduce need for QPainter::translate, improve the deco gradient (more of that coming shortly), move 'maximize' up a bit so it is symmetrical with minimize (looks better), and make line thickness a little more so it looks closer to the mockups
svn path=/trunk/KDE/kdebase/workspace/; revision=723568
2007-10-10 01:12:46 +00:00
Matthew Woehlke
dbb842f9aa use deco gradient from helper for consistency, also add palette state hack to buttons which need it also
svn path=/trunk/KDE/kdebase/workspace/; revision=723561
2007-10-10 00:25:48 +00:00
Matthew Woehlke
cb8d764ba1 Keep around the helper as a reference member of OxygenClient and OxygenButton, instead of having two global statics. Also refer to the client (from the button) as a reference to ensure that it exists (namely, so that we can grab our own reference to its helper).
svn path=/trunk/KDE/kdebase/workspace/; revision=723558
2007-10-10 00:05:24 +00:00
Casper Boemann
06137e0518 change normalize button from a - to a diamond
do the ? sign for the help button

svn path=/trunk/KDE/kdebase/workspace/; revision=723548
2007-10-09 23:26:29 +00:00
Casper Boemann
42ecf61546 Better rounded corners of our windows
svn path=/trunk/KDE/kdebase/workspace/; revision=723510
2007-10-09 21:01:18 +00:00
Luciano Montanaro
00d75e9536 Actually, these decorations are kdefx free.
I did the work last week, but forgot to mention it.

svn path=/trunk/KDE/kdebase/workspace/; revision=723298
2007-10-09 08:22:15 +00:00
Script Kiddy
9ba06500ca SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=723243
2007-10-09 05:45:29 +00:00
Casper Boemann
f1ae14343e center signs on buttons a bit more
svn path=/trunk/KDE/kdebase/workspace/; revision=723041
2007-10-08 16:06:16 +00:00
Casper Boemann
fd6cac7877 move signs in windec buttons to correct place
svn path=/trunk/KDE/kdebase/workspace/; revision=722466
2007-10-07 11:55:11 +00:00
Matthew Woehlke
2b6691ce0f make titlebars big enough for buttons
boemann: feel free to revert if you have a better idea

svn path=/trunk/KDE/kdebase/workspace/; revision=721747
2007-10-06 00:39:16 +00:00
Matthew Woehlke
231fa45a2b adapt to new windeco button size stuffs (but glyphs are still 1 px off)
svn path=/trunk/KDE/kdebase/workspace/; revision=721736
2007-10-06 00:06:05 +00:00
Andreas Pakulat
39e322fc83 Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Laurent Montel
6f410196a0 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/; revision=720823
2007-10-03 20:14:14 +00:00
Matthew Woehlke
2428f72dcb disable kdefx-using windecos I haven't been able to port yet
I haven't checked these in a few days, if any are newly off of kdefx, please re-enable those builds

svn path=/trunk/KDE/kdebase/workspace/; revision=719908
2007-10-02 03:32:28 +00:00
Matthew Woehlke
9e34414113 don't link to kdefx, which is no more
svn path=/trunk/KDE/kdebase/workspace/; revision=719906
2007-10-02 03:31:32 +00:00
Rafael Fernández López
9bb2bb84d1 Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdebase/workspace/; revision=719642
2007-10-01 15:09:41 +00:00
Script Kiddy
18759f4fc9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=719466

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.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/alta-badia.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/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/stelvio.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-10-01 06:24:51 +00:00
Script Kiddy
39d217e170 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=718575
2007-09-29 06:00:08 +00:00
Luciano Montanaro
3406226bfd KDEFX is not needed.
svn path=/trunk/KDE/kdebase/workspace/; revision=718517
2007-09-28 21:58:33 +00:00
Luciano Montanaro
04fd66ec60 Removed KPixmapEffect refreences. Fixed rendering glitches.
svn path=/trunk/KDE/kdebase/workspace/; revision=718496
2007-09-28 20:47:39 +00:00
Luciano Montanaro
0f80762214 Removed references to KPixmapEffect
svn path=/trunk/KDE/kdebase/workspace/; revision=718491
2007-09-28 20:20:42 +00:00
Script Kiddy
10de671bc9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=718158
2007-09-28 06:44:06 +00:00
Luciano Montanaro
86e9ab6a6b Fix the bottom window border
svn path=/trunk/KDE/kdebase/workspace/; revision=718001
2007-09-27 21:42:20 +00:00
Luciano Montanaro
21cb218e13 A few off-by one border fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=717997
2007-09-27 21:38:25 +00:00
Casper Boemann
d9557f50d1 make the resize dots smaller
svn path=/trunk/KDE/kdebase/workspace/; revision=717923
2007-09-27 18:30:17 +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
Luciano Montanaro
853701e9aa Remove KPixmapEffect references. Currently the mouseover effect is disabled,
until I find a suitable effect to use instead of KPixmapEffect::intensity().

Fix another off-by-one rendering glitch in the buttons.


svn path=/trunk/KDE/kdebase/workspace/; revision=717794
2007-09-27 15:58:17 +00:00
Matthew Woehlke
d751f228d2 use newfangled QLinearGradient instead of kdefx :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=717527
2007-09-27 03:42:17 +00:00
Matthew Woehlke
9da7d20f22 use newfangled QLinearGradient instead of kdefx :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=717526
2007-09-27 03:41:46 +00:00
Casper Boemann
b67a883b5e left align title on windows
svn path=/trunk/KDE/kdebase/workspace/; revision=717379
2007-09-26 19:35:55 +00:00