Commit graph

142 commits

Author SHA1 Message Date
Lucas Murray
af1b639a9d Rename the new decoration API and mark it as unstable. Supporting a hacked API is suicide.
Will correctly handle this in KDE 4.3 by using ARGB decorations, even if it's not pretty.

svn path=/trunk/KDE/kdebase/workspace/; revision=872795
2008-10-18 08:10:37 +00:00
Lucas Murray
899d578c49 Merge Libkdecoration2 Git branch.
WARNING: Breaks shadow effect. I don't think it causes anything to crash anymore but it is VERY ugly visually.

Contains:
 - New decoration API that allows decorations to change the way shadows look.
 - Shadows now wobble.
 - API example code in the Oxygen decoration.
 - Added buildQuads() effect plugin hook.
 - Work on the shadow effect to use the new decoration shadow API as well.
 - Added IDs to WindowQuads.
 - Added public accessors to texture coords in WindowVertex.

Would like all this to be reviewed.

CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=872473
2008-10-17 10:30:43 +00:00
Huynh Huu Long
844f815ff8 Add shade and unshade buttons
BUG: 166887

svn path=/trunk/KDE/kdebase/workspace/; revision=872210
2008-10-16 16:13:18 +00:00
Huynh Huu Long
5b9067fb84 Add an option to change the alignment of the window title
BUG: 172076

svn path=/trunk/KDE/kdebase/workspace/; revision=869205
2008-10-08 13:42:24 +00:00
Huynh Huu Long
1c1c1bb6cc The separator that is drawn below buttons was still using the old style. ;)
svn path=/trunk/KDE/kdebase/workspace/; revision=866059
2008-09-29 21:25:29 +00:00
Script Kiddy
a6c023ee84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865874

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-09-29 11:19:40 +00:00
Huynh Huu Long
cbc55bf9a1 Draw the same separator in the windeco as in the rest of oxygen. This also adds more contrast.
svn path=/trunk/KDE/kdebase/workspace/; revision=865738
2008-09-28 20:30:19 +00:00
Script Kiddy
6c03d59ae1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=839172

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-07-29 13:26:35 +00:00
Huynh Huu Long
bba38cb5e9 Redraw buttons when redrawing the whole decoration
svn path=/trunk/KDE/kdebase/workspace/; revision=835483
2008-07-20 17:15:48 +00:00
Huynh Huu Long
8fa675350b Rrevert quick solution r831040 again
Fix gradiented background and draw a separator line onto each button

svn path=/trunk/KDE/kdebase/workspace/; revision=832778
2008-07-15 13:21:15 +00:00
Huynh Huu Long
e4f63dfe29 Fix outlined restore button
svn path=/trunk/KDE/kdebase/workspace/; revision=831828
2008-07-13 11:57:48 +00:00
Huynh Huu Long
d29c446e3c Implement pressed state
svn path=/trunk/KDE/kdebase/workspace/; revision=831765
2008-07-13 09:50:51 +00:00
Huynh Huu Long
20ee14550f revert 803670, because a polished look is prioritized
svn path=/trunk/KDE/kdebase/workspace/; revision=831040
2008-07-11 18:42:15 +00:00
Script Kiddy
de22f6b69b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=829587

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-07-08 17:29:47 +00:00
Stefan Monov
42af09e89f use the proper color for the deco scratches. maybe will use a "detail
color" in the future.

svn path=/trunk/KDE/kdebase/workspace/; revision=822883
2008-06-21 20:53:52 +00:00
Huynh Huu Long
ecfa8aa80f add configuration option for stripes
svn path=/trunk/KDE/kdebase/workspace/; revision=818156
2008-06-07 23:06:31 +00:00
Huynh Huu Long
e3721c8751 Enable the on-all-desktops button
svn path=/trunk/KDE/kdebase/workspace/; revision=815426
2008-06-01 19:03:09 +00:00
Lukas Kropatschek
8eeddd6c55 some krazy include issue fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=814568
2008-05-30 17:47:24 +00:00
Huynh Huu Long
d0d1369a1a adjust the scratches for maximized windows
svn path=/trunk/KDE/kdebase/workspace/; revision=812950
2008-05-26 18:01:53 +00:00
Huynh Huu Long
7d0bd3567a colored lines added to improve visibility of active windows
svn path=/trunk/KDE/kdebase/workspace/; revision=812922
2008-05-26 16:21:49 +00:00
Casper Boemann
2826653703 fix so that buttons also have correct bg color when colors are active
!= 
inactive

svn path=/trunk/KDE/kdebase/workspace/; revision=803685
2008-05-03 21:02:09 +00:00
Casper Boemann
9e6e735c86 save memery by drawing directly onto screen
and use the helper routine to correctly draw gradient behind buttons

svn path=/trunk/KDE/kdebase/workspace/; revision=803670
2008-05-03 19:41:10 +00:00
Script Kiddy
e110315896 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=802307

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-04-29 05:57:03 +00:00
Luboš Luňák
21bedeeadc Make the decoration double-buffered again to avoid drawing problems,
until a better solution for the wasted memory is found.


svn path=/trunk/KDE/kdebase/workspace/; revision=800572
2008-04-24 12:16:40 +00:00
Script Kiddy
0370c195d0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=795059
2008-04-09 03:58:49 +00:00
Luboš Luňák
0256c3bc14 Not using WA_PaintOnScreen leads to double-buffering whole decorations,
wasting a large amount of pixmap memory for almost nothing. Please
double-buffer manually in paintEvent() if the flicker is serious.
CCMAIL: cbr@boemann.dk


svn path=/trunk/KDE/kdebase/workspace/; revision=793641
2008-04-04 17:43:46 +00:00
Luboš Luňák
90240a5d61 Forgot this when comitting r787165.
svn path=/trunk/KDE/kdebase/workspace/; revision=788488
2008-03-21 17:10:51 +00:00
Luboš Luňák
eb5672ed3b Why should one enable in sources something that apparently works just fine?
CCMAIL: tpr@d5k.net


svn path=/trunk/KDE/kdebase/workspace/; revision=787165
2008-03-18 17:50:07 +00:00
Luboš Luňák
9fcd3ad674 Fix shaping - KCommonDecoration has a function where to do it,
and I don't see the point in resetting the shape every time in paintEvent().
Partially fixes resizing problems with Qt4.4.


svn path=/trunk/KDE/kdebase/workspace/; revision=782673
2008-03-05 17:48:45 +00:00
Script Kiddy
b384a27e45 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=774169
2008-02-12 16:54:30 +00:00
Adriaan de Groot
214d575aa3 Qt3 -> Qt4 style includes.
qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header.

svn path=/trunk/KDE/kdebase/workspace/; revision=770116
2008-02-02 20:54:19 +00:00
Casper Boemann
80342f99da don't say we suppport Above and below others when we don't
This might solve a crash but since i couldn't confirm the crash in the 
first place i cannot say for sure.

svn path=/trunk/KDE/kdebase/workspace/; revision=765464
2008-01-24 02:46:43 +00:00
Urs Wolfer
6e87d16cec * enable deprecated warnings
* less Q3 support

svn path=/trunk/KDE/kdebase/workspace/; revision=763174
2008-01-18 20:14:40 +00:00
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
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
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
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
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
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
36850bd14a use new AbilityAnnounceColor
svn path=/trunk/KDE/kdebase/workspace/; revision=743016
2007-11-29 17:14:26 +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