Commit graph

149 commits

Author SHA1 Message Date
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
Luciano Montanaro
f30d4c31af - Fix the sticky button look like it was intended to look. This required
painting on a QImage instead of on a QPixmap. Qt bug?
- Disable custom drawbounds code for now, so that KWin can at least draw its
  own.

svn path=/trunk/KDE/kdebase/workspace/; revision=739999
2007-11-22 09:36:14 +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
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
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
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
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
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
Arto Hytönen
bd0d86930a remove deprecated unused kdefx includes
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=709625
2007-09-07 23:20:08 +00:00
Arto Hytönen
3486f094c9 SVN_SILENT add missing const
svn path=/trunk/KDE/kdebase/workspace/; revision=707760
2007-09-02 21:03:30 +00:00
Arto Hytönen
ff80b0da99 SVN_SILENT nobody likes array of refs ;-)
svn path=/trunk/KDE/kdebase/workspace/; revision=707747
2007-09-02 20:26:39 +00:00
Arto Hytönen
e1c6433c8e pass-by-value -> reference-to-count fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=707741
2007-09-02 20:01:17 +00:00
Pino Toscano
44bab7a4eb set the autoFillBackground for the preview widget, so it's painted correctly clearing the garbage below
svn path=/trunk/KDE/kdebase/workspace/; revision=707412
2007-09-01 20:04:10 +00:00
Luciano Montanaro
785b9188f4 - Added the titlebar wheel event handling from the 3.5 branch
- Fixed titlebar gradient
- Fixed Pin and Help buttons masking issues

svn path=/trunk/KDE/kdebase/workspace/; revision=679076
2007-06-22 22:54:23 +00:00
Luciano Montanaro
21adcd401b Adjujst again titlebar layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=673065
2007-06-08 21:52:46 +00:00
Luciano Montanaro
033e0cc6a1 Fix a few drawing glitches compared to the 3.x version
svn path=/trunk/KDE/kdebase/workspace/; revision=672142
2007-06-06 08:01:59 +00:00
Luciano Montanaro
5389d4afab This fixes the bug 142424 as originally reported, for the B2 decoration.
Keramic has the same issue, but the code is completely different.

The title unhiding code is still broken with Composite enabled, though.


svn path=/trunk/KDE/kdebase/workspace/; revision=671652
2007-06-05 08:45:49 +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
f38505a4b1 Build.
svn path=/trunk/KDE/kdebase/workspace/; revision=659586
2007-04-30 12:48:59 +00:00
Luboš Luňák
3c80f437ff Merging from old trunk:
r646407 | montanaro | 2007-03-25 18:33:59 +0200 (Sun, 25 Mar 2007) | 5 lines

Fix help and pindown rendering problem:
it was due to Qt misrendering bitmaps when they have a mask.
Changed code to remove use of kColorBitmaps(). Now kdefx should not be needed
to draw the decoration. 


svn path=/trunk/KDE/kdebase/workspace/; revision=659570
2007-04-30 12:26:31 +00:00
Luboš Luňák
52ba1d2e69 Merging from old trunk:
r645971 | montanaro | 2007-03-24 02:51:55 +0100 (Sat, 24 Mar 2007) | 2 lines

Ported to QAbstractButton


svn path=/trunk/KDE/kdebase/workspace/; revision=659569
2007-04-30 12:26:01 +00:00
Luboš Luňák
867c495c83 Merging from old trunk:
r643655 | montanaro | 2007-03-18 03:39:45 +0100 (Sun, 18 Mar 2007) | 4 lines

- Use QGradient instead of KPixmapEffect
- Fixed many off-by-one rendering errors
- Added support for (slighly) larger border sizes


svn path=/trunk/KDE/kdebase/workspace/; revision=659563
2007-04-30 12:21:07 +00:00
Luboš Luňák
87daa082be Merging from old trunk:
r602387 | montanaro | 2006-11-05 22:19:05 +0100 (Sun, 05 Nov 2006) | 3 lines

- Indentation cleanup
- Use largest size for VeryHuge and Oversize cases


svn path=/trunk/KDE/kdebase/workspace/; revision=659302
2007-04-29 22:33:21 +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
Laurent Montel
2178c6dc31 Include fix
svn path=/trunk/KDE/kdebase/workspace/; revision=656565
2007-04-21 18:28:47 +00:00
Luciano Montanaro
a69e5e6b5f Fix help and pindown rendering problem:
it was due to Qt misrendering bitmaps when they have a mask.
Changed code to remove use of kColorBitmaps(). Now kdefx should not be needed
to draw the decoration. 

svn path=/trunk/KDE/kdebase/workspace/; revision=646407
2007-03-25 16:33:59 +00:00
Luciano Montanaro
9da3b593ad Ported to QAbstractButton
svn path=/trunk/KDE/kdebase/workspace/; revision=645971
2007-03-24 01:51:55 +00:00
Luciano Montanaro
4702a2fde2 - Use QGradient instead of KPixmapEffect
- Fixed many off-by-one rendering errors
- Added support for (slighly) larger border sizes

svn path=/trunk/KDE/kdebase/workspace/; revision=643655
2007-03-18 02:39:45 +00:00
Dirk Mueller
249a84c5d9 merge in kconfig changes to make it compile
svn path=/branches/work/kwin_composite/; revision=635791
2007-02-20 22:31:26 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Luboš Luňák
36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Luciano Montanaro
33fca586c5 - Indentation cleanup
- Use largest size for VeryHuge and Oversize cases

svn path=/trunk/KDE/kdebase/workspace/; revision=602387
2006-11-05 21:19:05 +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
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +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
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
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
e3362f8e64 deprecated--
affected:
QRegExp::setWildcard()
QRegExp::setCaseSensitive()
iterator QMap::remove()
QComboBox::currentItem()
QWidget::caption()

svn path=/trunk/KDE/kdebase/workspace/; revision=528770
2006-04-11 18:59:35 +00:00
Luboš Luňák
e1b40efb22 & -> &&
svn path=/trunk/KDE/kdebase/workspace/; revision=527756
2006-04-09 09:47:09 +00:00
Hamish Rodda
023fa86718 Port to new kdelibs snapshot. Most major changes are in konqueror due to
its reasonably heavy use of custom actions.

My kdelibs was a day old when i compiled, so if there is non-action
related porting still to do... it's probably still not done... will
check

svn path=/trunk/KDE/kdebase/workspace/; revision=521386
2006-03-22 13:32:49 +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
Laurent Montel
fde9470fdc Fix QToolTip
svn path=/trunk/KDE/kdebase/workspace/; revision=508032
2006-02-10 15:33:40 +00:00
Laurent Montel
b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00