Commit graph

18 commits

Author SHA1 Message Date
Sandro Giessl
06e5b5b960 revert the recent change which introduced button masking as it breaks Fitt's Law..
svn path=/trunk/kdebase/kwin/; revision=400875
2005-03-26 22:52:18 +00:00
Luís Pedro Coelho
a8c2702d6c shadow.h doesn't exist anymore.
svn path=/trunk/kdebase/kwin/; revision=400829
2005-03-26 19:13:11 +00:00
Sandro Giessl
0160e12bc2 better OnAllDesktop icons
svn path=/trunk/kdebase/kwin/; revision=400827
2005-03-26 19:02:02 +00:00
Sandro Giessl
f26dffe5e3 make the button background lighter again as suggested on kde-devel...
svn path=/trunk/kdebase/kwin/; revision=400269
2005-03-24 17:01:04 +00:00
Sandro Giessl
33438df578 no need to fake the titlebar background except for the menu button
svn path=/trunk/kdebase/kwin/; revision=400268
2005-03-24 16:56:58 +00:00
Sandro Giessl
4e10228f75 - minor changes to button drawing
- button icon changes: don't use recolored+scaled .xpm files as icons, instead
  create bitmaps on the fly in code which can easily be colored and don't need
  to be scaled... looks much cleaner IMHO.

svn path=/trunk/kdebase/kwin/; revision=399001
2005-03-19 16:16:33 +00:00
Sandro Giessl
b4d6b5fd91 slightly modified the look of the titlebar gradient
svn path=/trunk/kdebase/kwin/; revision=398179
2005-03-16 20:00:13 +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
74dda10aaa Port Plastik to KCommonDecoration.
svn path=/trunk/kdebase/kwin/; revision=396773
2005-03-11 20:14:04 +00:00
Sandro Giessl
7e3a491809 use the new maximize() overload
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=332085
2004-07-23 17:02:25 +00:00
Sandro Giessl
6b27d7484b Implement "Shade", "Keep Above Others", "Keep Below Others" buttons (#60369).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=311527
2004-05-14 22:50:53 +00:00
Sandro Giessl
4b22ed1d20 Again, a patch by Wilfried Huss:
Make the menu button fade out like the other buttons.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=308892
2004-05-05 18:24:39 +00:00
Sandro Giessl
7008c02051 Make titlebar buttons only react on left-click, if they have one function
only. (Bug #58220)

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263816
2003-11-01 23:58:05 +00:00
Sandro Giessl
a21351b5a8 - Don't forget to update buttons on color changes...
- Replaced repaint()s with update().

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261864
2003-10-25 13:57:28 +00:00
Sandro Giessl
f23a3b153a - Ported to the new kwin style API.
- Don't close the window when double clicking on the menu button.
- Reorganized the settings dialog:
  * "border size" has moved to the kwin core.
  * "shrink borders for maximized windows" has moved to the kwin "allow moving and resizing of maximized windows" setting.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=251940
2003-09-17 18:43:17 +00:00
Sandro Giessl
7d0cb12105 Adding my Plastik window decoration to kdeartwork. :)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246655
2003-08-29 22:49:03 +00:00