Commit Graph

160 Commits (9b0c6ddef32e86c740654de04ba5ab6286828287)

Author SHA1 Message Date
Bhushan Shah 935851a2b5 kDebug -> qDebug in kwin 2013-11-01 17:00:41 +05:30
Martin Gräßlin 60c42b7a34 s/KLocale/KLocalizedString/g
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.

With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Thomas Lübking e2553bd842 add deco API versioning support
REVIEW: 104978
BUG: 299141
FIXED-IN: 4.9
2012-05-17 23:26:43 +02:00
Urs Wolfer d73958d737 QT3_SUPPORT--
svn path=/trunk/KDE/kdebase/workspace/; revision=1066287
2009-12-26 16:57:26 +00:00
Martin Gräßlin 21821f48a4 Less krazy warnings: use prefix ++ instead of postfix.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063341
2009-12-17 21:35:37 +00:00
Jussi Kekkonen 7b4d5abb47 Adding option to turn on/off the automove of titlebar tab, automove doesn't work with composite anyway
svn path=/trunk/KDE/kdebase/workspace/; revision=1050951
2009-11-18 12:48:48 +00:00
Lucas Murray 8cbce93613 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Luciano Montanaro a4c4b2b004 Fix rendering of the pin down widget (it misrendered at least on radeon 3200
cards, with EXA acceleration)

svn path=/trunk/KDE/kdebase/workspace/; revision=1009251
2009-08-09 13:14:51 +00:00
Hugo Pereira Da Costa defc3ca5df fixed border and spacing of the B2 decoration, so that central widget is correctly located with respect to the borders
svn path=/trunk/KDE/kdebase/workspace/; revision=991942
2009-07-06 03:26:33 +00:00
Luboš Luňák 8da621fad4 Don't do 'foo->setAlphaChannel(*foo)', the function temporarily destroys
the internal data and the argument is just a reference to this (temporarily
broken) object.


svn path=/trunk/KDE/kdebase/workspace/; revision=783333
2008-03-07 21:20:04 +00:00
Luboš Luňák bcb208a51d break missing
svn path=/trunk/KDE/kdebase/workspace/; revision=764694
2008-01-22 11:27:28 +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
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