Commit graph

29 commits

Author SHA1 Message Date
Martin Gräßlin
2f0a542e06 Fix mouse position calculation in Aurorae with decorations on left/right/bottom.
svn path=/trunk/KDE/kdebase/workspace/; revision=1119717
2010-04-27 17:50:13 +00:00
Martin Gräßlin
6fe0694930 Fix incorrect mouse position calculation in Aurorae
svn path=/trunk/KDE/kdebase/workspace/; revision=1118270
2010-04-24 07:45:42 +00:00
Martin Gräßlin
cbdec6736a Adding a config dialog for Aurorae themes to change border and button size.
This one does not use the normal plugin infrastructure, but is part of the kcm directly. The plugin would require to have one dialog for all aurorae themes and that just does not work. Aurorae saves settings per theme.

svn path=/trunk/KDE/kdebase/workspace/; revision=1117280
2010-04-21 18:18:45 +00:00
Martin Gräßlin
a9d90aa2f8 Aurorae supports Tooltips on decoration buttons.
svn path=/trunk/KDE/kdebase/workspace/; revision=1115844
2010-04-17 17:56:04 +00:00
Martin Gräßlin
1bcd9fe4f6 Import of new Aurorae based on QGraphicsView and KDecoration instead of KCommonDecoration.
It should support everything the old engine supported. Only known regression is the lack of tooltips.
Now finally Aurorae is ready to get window tab support \o/

svn path=/trunk/KDE/kdebase/workspace/; revision=1114115
2010-04-12 19:28:58 +00:00
Martin Gräßlin
75df855adf Better support for maximized windows in Aurorae. The theme can include explicit elements for the maximzed area.
Furthermore the SVG is only scaled to the region of the maximzed title rect and not to the complete size of the window.
Theme description updated with a complete section on maximized windows. Yeah I know I should move that to techbase.
FEATURE: 224226

svn path=/trunk/KDE/kdebase/workspace/; revision=1100406
2010-03-07 13:37:47 +00:00
Martin Gräßlin
25852b6eaa Aurorae uses a QPropertyAnimation for the animation instead of Plasma::Animator::customAnimation.
deprecatedCode--

svn path=/trunk/KDE/kdebase/workspace/; revision=1081956
2010-01-29 12:37:42 +00:00
Martin Gräßlin
b15fc9e1d9 Aurorae supports drawing a halo behind the window title.
New options in General section of config file: HaloActive and HaloInactive. Default to off.
FEATURE: 224011

svn path=/trunk/KDE/kdebase/workspace/; revision=1081745
2010-01-29 09:19:45 +00:00
Martin Gräßlin
19637c1803 Fix individual button width for the help button.
svn path=/trunk/KDE/kdebase/workspace/; revision=1077223
2010-01-19 18:27:25 +00:00
Martin Gräßlin
c92e314c9f Do not abort if the Aurorae theme could not be loaded. So a missing theme will result in a translucent decoration and not in a crashing kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068533
2010-01-01 12:47:48 +00:00
Fredrik Höglund
92fc39b5eb Aurorae supports AbilityExtendIntoClientArea.
svn path=/trunk/KDE/kdebase/workspace/; revision=1063011
2009-12-16 17:51:58 +00:00
Martin Gräßlin
420c00881c Coding in the evening results in incorrect boolean checks.
svn path=/trunk/KDE/kdebase/workspace/; revision=1054505
2009-11-26 08:15:12 +00:00
Martin Gräßlin
df995efba0 Paint behind the window if requested in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1054408
2009-11-26 00:09:48 +00:00
Martin Gräßlin
a821ffe7c4 Coding style
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1046510
2009-11-08 22:27:37 +00:00
Martin Gräßlin
88c7f69708 Aurorae supports border sizes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1046472
2009-11-08 20:35:34 +00:00
Martin Gräßlin
0d2f78b214 TitleEdge in Aurorae becomes configurable in maximized state.
It defaults to the TitleEdge values, so themes have to set it explicitly if they want to have a better click area in maximzed state.

svn path=/trunk/KDE/kdebase/workspace/; revision=1043404
2009-11-01 13:00:01 +00:00
Martin Gräßlin
8fd12edfe0 Animation for active/inactive change in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1043389
2009-11-01 12:12:30 +00:00
Martin Gräßlin
5582f69f92 Let's use the reset method for compositing change instead of the KSelectionWatcher hack
svn path=/trunk/KDE/kdebase/workspace/; revision=1043060
2009-10-31 17:06:31 +00:00
Andreas Hartmetz
298dc3051a fix method signature; qreal != double on ARM.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021353
2009-09-08 23:54:50 +00:00
Martin Gräßlin
28e4a199c0 Restrict painting of the svg to the decoration. No need to paint behind the window as it isn't visible anyway.
That seems to fix the most painfull performance issues with Aurorae.

svn path=/trunk/KDE/kdebase/workspace/; revision=1011338
2009-08-14 11:16:02 +00:00
Martin Gräßlin
60ac24a2f6 Do not hardcode the menu icon size in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1007235
2009-08-05 10:56:21 +00:00
Martin Gräßlin
d32d9c4876 As KSelectionWatcher is finally working we can add a selection watcher on compositing change to update the mask and to repaint the deco.
So finally we have the shadow back when resuming. Of course it would be nice if kwin would just inform the decos and they don't have to watch for themselves ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=1003235
2009-07-27 21:30:26 +00:00
Martin Gräßlin
bc7fa77710 Configurable text shadow for window caption in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=998382
2009-07-17 14:46:03 +00:00
Martin Gräßlin
afeea76b4c Support for optional custom button width for each button type in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=998257
2009-07-17 09:58:06 +00:00
Martin Gräßlin
70a4878fbb Do not calculate window mask from svg when compositing is active as it's not needed and speeds up resizing.
And correctly paint themes not providing an opaque element (which they should provide for the window mask) when compositing is not active.

svn path=/trunk/KDE/kdebase/workspace/; revision=994961
2009-07-11 16:33:51 +00:00
Martin Gräßlin
9f43aaa1e1 Don't paint deco on other screen when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=994960
2009-07-11 16:33:46 +00:00
Martin Gräßlin
5770a6c049 Fixing some krazy issues in Aurorae
svn path=/trunk/KDE/kdebase/workspace/; revision=990157
2009-07-01 20:55:21 +00:00
Laurent Montel
75310aa0d0 Add missing i18n
svn path=/trunk/KDE/kdebase/workspace/; revision=989834
2009-07-01 07:04:09 +00:00
Martin Gräßlin
2d24bce243 Initial import of Aurorae Kwin decoration theme engine.
This theme engine uses SVG files to theme the decoration like the themes for Plasma desktop shell.

svn path=/trunk/playground/artwork/aurorae/; revision=983819
2009-06-19 09:18:07 +00:00