Commit graph

1023 commits

Author SHA1 Message Date
Teemu Rytilahti
eefef6df1c Add ability to add keep above/keep below buttons to the titlebar. To enable, you need to modify oxygenclient.cpp yourself for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=759107
2008-01-10 01:09:02 +00:00
Script Kiddy
a6b51a54b2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=758818
2008-01-09 10:37:34 +00:00
Script Kiddy
662b4a6173 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=756421
2008-01-03 08:33:49 +00:00
Matthew Woehlke
4ed0b4abeb change config file name and group, style will use the same file
svn path=/trunk/KDE/kdebase/workspace/; revision=756053
2008-01-02 17:14:42 +00:00
Script Kiddy
d62294b49a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=755848

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

M	wallpapers/Won-Ton-Soup-3.jpg.desktop
2008-01-02 08:27:51 +00:00
Fredrik Höglund
d3ba43be44 Fix a Qt4 porting error; button[0] can be NULL.
BUG: 154660

svn path=/trunk/KDE/kdebase/workspace/; revision=755700
2008-01-02 02:51:27 +00:00
Urs Wolfer
0608747ab4 Optimize PNG files again.
Last optimization has been done almost two years ago. There a lot of new files in trunk (e.g all Oxygen stuff).
It's not the correct time to do that again (before the release).

This run saves again around 10MB of diskspace without any restrictions.

svn path=/trunk/KDE/kdebase/workspace/; revision=755647

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

M	wallpapers/plasma-default.png
2008-01-02 00:10:07 +00:00
Script Kiddy
e3186d61e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=755334

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

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_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/konqui.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/plasma-default.png.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
2008-01-01 08:08:37 +00:00
Script Kiddy
863db663f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=754155

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

M	wallpapers/lineart.svgz.desktop
2007-12-29 08:21:26 +00:00
Matthew Woehlke
dae9b3df18 don't tint button outlines quite so much on hover
svn path=/trunk/KDE/kdebase/workspace/; revision=753969
2007-12-28 20:50:48 +00:00
Matthew Woehlke
751f106782 fix button radius (roundedness)
svn path=/trunk/KDE/kdebase/workspace/; revision=753968
2007-12-28 20:48:20 +00:00
Matthew Woehlke
8c93a0b698 Migrate plastikbutton.cpp to KColorUtils/KColorScheme way of handling colors, thereby removing last user of misc.cpp. Remove now-unused misc.{cpp,h}.
svn path=/trunk/KDE/kdebase/workspace/; revision=753965
2007-12-28 20:42:45 +00:00
Matthew Woehlke
560d0809e8 use KColorScheme::shade(ShadowShade) for shadow colors
svn path=/trunk/KDE/kdebase/workspace/; revision=753940
2007-12-28 19:40:15 +00:00
Casper Boemann
8e3446f89e Remove David Johnson from the copyright list as there isn't a single
line of code left from his original skeleton, and the copyright only 
requires the copyright to be maintained when substantial parts are 
copied - which is no longer the case

svn path=/trunk/KDE/kdebase/workspace/; revision=753433
2007-12-27 13:10:14 +00:00
Casper Boemann
040550d293 Use helper version of frame drawing (shared code with the style)
svn path=/trunk/KDE/kdebase/workspace/; revision=753431
2007-12-27 13:07:12 +00:00
Script Kiddy
2da5e35ebc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=752700

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

M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.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/moon.svgz.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-12-25 08:10:15 +00:00
Script Kiddy
700ea2d036 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=752330

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/plasma-default.png.desktop
2007-12-24 08:00:37 +00:00
Script Kiddy
d045f18df2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=751546
2007-12-22 08:07:52 +00:00
Script Kiddy
d08a61bb25 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=751145

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

M	wallpapers/plasma-default.png.desktop
2007-12-21 07:55:50 +00:00
Script Kiddy
7e830edbeb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=750401

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-12-19 08:07:43 +00:00
Casper Boemann
1b6df67bcc Fix the problem of the window bg being drawn wrongly until the window is
redrawn.
Also fix that the background was drawn wrongly at small widths

svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=750240
2007-12-18 23:44:43 +00:00
Script Kiddy
18a41ac9f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=748723

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

M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/seaofconero.jpg.desktop
2007-12-15 08:25:51 +00:00
Marijn Kruisselbrink
e185ec3c8b fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/; revision=748283
2007-12-14 01:38:32 +00:00
Script Kiddy
0c4db5b807 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=747146
2007-12-11 07:44:45 +00:00
Matthew Woehlke
e21a0778fd Three changes; fix two bugs, migrate plastik.cpp to KColorUtils/KColorScheme way of handling colors (and away from misc.cpp)
bug - add +2 to titleBarTileHeight in PlastikHandler::pixmap, this fixes the pixmap not being tall enough (it seems between 3.5 and 4.0 the titlebar is being drawn two pixels taller; this fixes the symptom, not the cause, which I didn't find)

bug - porting error on my part had an extra stop in the titlebar gradient, changing the appearance; remove the extra stop

TODO: find and correct the real cause?
TODO: port other code away from misc.cpp and then kill misc.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=745163
2007-12-05 16:05:04 +00:00
Casper Boemann
b09357e1b0 Don't draw resize handles on windows that aren't resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=744065
2007-12-02 16:38:38 +00:00
Script Kiddy
962b966230 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743229
2007-11-30 07:55:45 +00:00
Luboš Luňák
daf1fbd23e Add spacers before the close button to make it stand alone,
but don't alter the layout otherwise.


svn path=/trunk/KDE/kdebase/workspace/; revision=743055
2007-11-29 19:28:07 +00:00
Luboš Luňák
cefbf62136 I'm quite sure these in fact do support spacers.
svn path=/trunk/KDE/kdebase/workspace/; revision=743036
2007-11-29 18:41:23 +00:00
Luboš Luňák
59e845e4e6 Make width of titlebar spacers default to half width of normal buttons,
not some random tiny sizes or even zero. Maybe could need small tweaking
here or there, but a spacer is supposed to make at least some space.


svn path=/trunk/KDE/kdebase/workspace/; revision=743034
2007-11-29 18:37:52 +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
Matthew Woehlke
36850bd14a use new AbilityAnnounceColor
svn path=/trunk/KDE/kdebase/workspace/; revision=743016
2007-11-29 17:14:26 +00:00
Matthew Woehlke
529611c662 Add AbilityAnnounceColors and AbilityColor* abilities to kwin decorations; this way clients can say what colors they support for the benifit of the color kcm (and anyone else that might need to know?)
svn path=/trunk/KDE/kdebase/workspace/; revision=743015
2007-11-29 17:13:15 +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
Luboš Luňák
9621df24f5 Add missing license headers.
CCMAIL:Casper Boemann <cbr@boemann.dk>
CCMAIL:Riccardo Iaconelli <riccardo@kde.org>


svn path=/trunk/KDE/kdebase/workspace/; revision=742988
2007-11-29 15:22:10 +00:00
Luboš Luňák
0170623a9c Separate KCommonDecoration from KDecoration, in order to allow
greater possibilities in extending KDecoration. KCommonDecoration
now does not inherit KDecoration, only wraps it (i.e. it's source
compatible). Added comments on how to extend KDecoration
in the future by subclassing to KDecoration2, added PORTING
document with all API changes in KDE4.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742976
2007-11-29 14:11:02 +00:00
Matthew Woehlke
650f963bb0 --hardcoded colors in oxygen windeco, now the 'faux-shadow' border is actually darker than the window instead of hard-coded medium gray (which made it appear bright in e.g. Wonton Soup). Also add some 'if (0)' code for a different color choice that can hopefully be made available as an option in the future (I like it better anyway, but for now use boemann's gray).
svn path=/trunk/KDE/kdebase/workspace/; revision=742324
2007-11-27 20:49:03 +00:00
Matthew Woehlke
9c6358396e SVN_SILENT: '.color()' -> get QColor not QBrush (Qt seems to do this implicitly, but let's be explicit), also use stored color instead of doing palette.window().color() many times, especially as we already stored it
svn path=/trunk/KDE/kdebase/workspace/; revision=742003
2007-11-26 22:06:07 +00:00
Luboš Luňák
74b89e491d Revert r741298 - this time the right fix for -Woverloaded-virtual is fixing
the base class.
CCMAIL: montel@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=741860
2007-11-26 16:00:21 +00:00
Luboš Luňák
d6b7ef180d No kde3/qt3 support in kwin core. Saves about 150M of memory in gdb
by not loading the support libraries and the complete kdelibs stack it depends
on. Gdb taking 0.5M and lousy handling of near-OOM in Linux kernel
can be a pretty bad combination :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=741856
2007-11-26 15:42:44 +00:00
Laurent Montel
d663800ddd defaultButtonsLeft and defaultButtonsRight is not const now.
I think that it will not create problem, but it fixes warning

svn path=/trunk/KDE/kdebase/workspace/; revision=741298
2007-11-25 11:24:28 +00:00
Script Kiddy
35efdf2ba2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=741240

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

M	wallpapers/plasma-default.png.desktop
2007-11-25 07:47:58 +00:00
Casper Boemann
2f0c893194 Add a more distinctive outline to windows, making it easier to tell two
overlaping windows apart.

svn path=/trunk/KDE/kdebase/workspace/; revision=740761
2007-11-24 03:49:12 +00:00
Script Kiddy
89171c37cd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=740393

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

M	wallpapers/plasma-default.png.desktop
2007-11-23 07:39:04 +00:00
Luciano Montanaro
97d274b7c3 - Fix the titlebar height for the rest of the shipped decorations.
- Fix the "sticky" button rendering in the quartz decoration.

svn path=/trunk/KDE/kdebase/workspace/; revision=740254
2007-11-22 21:18:09 +00:00
Luciano Montanaro
a951008c1e - Fix titlebar too tall problem
- Fix sticky button painting

svn path=/trunk/KDE/kdebase/workspace/; revision=740026
2007-11-22 11:17:05 +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
Script Kiddy
f0fb54200f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=739529

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

M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.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/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-11-21 07:59:36 +00:00
Luboš Luňák
7bfa13af32 Remove old 3.1->3.2 porting guide.
svn path=/trunk/KDE/kdebase/workspace/; revision=739139
2007-11-20 16:03:27 +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