Commit graph

1726 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
fbabe1a0cf Improved decoration shadows:
- the number of points on the gradient depends on the shadow size
- analytical functions (fitted to previous hard-coded values) are used to calculate the 
gradients. Inner gradient is parabolic; mid and outer gradients are gaussian.


svn path=/trunk/KDE/kdebase/workspace/; revision=1125232
2010-05-11 01:18:29 +00:00
Hugo Pereira Da Costa
97371a74c2 Moved hover and focus brush from Oxygen::StyleHelper to OxygenHelper so that they can be used in in the decoration, for
optimization. 

Added "NegativeText" brush, to optimize rendering of close buttons. 

Renamed OxygenHelper to Oxygen::Helper for consistency with the other classes. (needs full update of workspace/libs/oxygen, 
kstyles/oxygen and kwin/clients/oxygen, but this is already true for the above ...)


svn path=/trunk/KDE/kdebase/workspace/; revision=1125082
2010-05-10 16:36:56 +00:00
Hugo Pereira Da Costa
aff64607bf fixed shadow configuration updateChanged handling
svn path=/trunk/KDE/kdebase/workspace/; revision=1124750
2010-05-10 02:19:52 +00:00
Hugo Pereira Da Costa
4e8a63f51d added missing connection between shadowCacheMode and configChanged
svn path=/trunk/KDE/kdebase/workspace/; revision=1124749
2010-05-10 02:06:45 +00:00
Hugo Pereira Da Costa
f6d60a9524 re-added window mask when drawing non-oxygen shadows. This makes poorer corners, but better shadows (can't have everything at the same time right now)
svn path=/trunk/KDE/kdebase/workspace/; revision=1124748
2010-05-10 01:56:24 +00:00
Hugo Pereira Da Costa
0f6f610265 Fixed decoration shadows and glow for large-size settings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124726
2010-05-10 00:28:38 +00:00
Martin Gräßlin
a9d772796c Drag&Drop support for window tabs in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124608
2010-05-09 16:34:58 +00:00
Martin Gräßlin
7048743431 Fix double-click events on Aurorae Tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=1124534
2010-05-09 09:56:37 +00:00
Martin Gräßlin
a1fa419ea6 Aurorae supports window tabbing.
svn path=/trunk/KDE/kdebase/workspace/; revision=1124521
2010-05-09 09:08:09 +00:00
Martin Gräßlin
62d583c47b Fix Krazy issue: QLatin1String
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1124081
2010-05-07 17:53:14 +00:00
Thomas Lübking
5bfcd53571 make border rectangular when maximized
BUG: 84210


svn path=/trunk/KDE/kdebase/workspace/; revision=1123666
2010-05-06 15:15:09 +00:00
Hugo Pereira Da Costa
299574c546 removed useless KDebug statement
svn path=/trunk/KDE/kdebase/workspace/; revision=1121944
2010-05-02 18:56:14 +00:00
Hugo Pereira Da Costa
56095681ed changed helper.h/.cpp into oxygendecohelper.h/.cpp for consistency with classname.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121943
2010-05-02 18:50:01 +00:00
Hugo Pereira Da Costa
43d7384663 oxygen.h/.cpp renamed to oxygenfactory.h/.cpp for consistency.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121941
2010-05-02 18:38:05 +00:00
Hugo Pereira Da Costa
c5bf8d012e Changed all "Oxygen::OxygenXXX" classnames into "Oxygen::XXX" for consistancy with style class
naming scheme. Also made indentation consistent.

svn path=/trunk/KDE/kdebase/workspace/; revision=1121935
2010-05-02 18:34:08 +00:00
Martin Gräßlin
88f5c69a23 Krazy fix nullstring assignment
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1121816
2010-05-02 10:13:33 +00:00
Hugo Pereira Da Costa
055b595850 renamed filenames for consistency with other classes. Plus it makes krazy happy.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121630
2010-05-01 23:44:27 +00:00
Hugo Pereira Da Costa
e0a2585892 Moved 'expert mode' configuration widgets to default UI.
Disable (hide) 'expert mode' configuration widgets by default.
Enable them if expertMode is triggered (e.g. via oxygen-settings)

svn path=/trunk/KDE/kdebase/workspace/; revision=1121618
2010-05-01 22:25:45 +00:00
Martin Gräßlin
c135ebfcc5 Aurorae supports painting a custom background behind the button group.
Inspired by new Ubuntu Lucid Metacity themes.

svn path=/trunk/KDE/kdebase/workspace/; revision=1121484
2010-05-01 11:43:39 +00:00
Martin Gräßlin
18092d25d9 Aurorae gains inner-border support.
FEATURE: 224020

svn path=/trunk/KDE/kdebase/workspace/; revision=1121453
2010-05-01 08:52:07 +00:00
Script Kiddy
c05888a59b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1121015

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-04-30 06:16:36 +00:00
Script Kiddy
0cbd106422 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1120528
2010-04-29 06:39:50 +00:00
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
Hugo Pereira Da Costa
7c42c041c1 use foreach loop
svn path=/trunk/KDE/kdebase/workspace/; revision=1118786
2010-04-25 21:34:20 +00:00
Hugo Pereira Da Costa
78c80f2116 Added combobox option to choose shadow style amongst: oxygen, kwin, no shadows.
On advice from Todd Rme. 

svn path=/trunk/KDE/kdebase/workspace/; revision=1118759
2010-04-25 20:28:02 +00:00
Martin Gräßlin
87d51dff6b Aurorae supports putting the decoration to the left, right or bottom.
You currently don't want to shade the window when the decoration is on the side and the mouse position is not yet adjusted correctly.

svn path=/trunk/KDE/kdebase/workspace/; revision=1118698
2010-04-25 17:59:34 +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
Script Kiddy
352ccf4018 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1118248
2010-04-24 06:36:02 +00:00
Hugo Pereira Da Costa
be68ea09d0 smaller margin
svn path=/trunk/KDE/kdebase/workspace/; revision=1118111
2010-04-23 23:00:43 +00:00
Martin Gräßlin
4ce8401d45 Aurorae uses KNS3 configuration file.
svn path=/trunk/KDE/kdebase/workspace/; revision=1117986
2010-04-23 16:45:11 +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
Hugo Pereira Da Costa
c74bc229ee fixed indentation
svn path=/trunk/KDE/kdebase/workspace/; revision=1116925
2010-04-20 15:32:59 +00:00
Martin Gräßlin
65acab3e20 Button size support in Aurorae. (UI to change the size still missing)
svn path=/trunk/KDE/kdebase/workspace/; revision=1116153
2010-04-18 18:54:23 +00:00
Martin Gräßlin
6776cfcdb2 Add getter for the current button orders.
Required by AuroraeDesigner.

svn path=/trunk/KDE/kdebase/workspace/; revision=1115964
2010-04-18 08:57:40 +00:00
Martin Gräßlin
ebea86ba3c Add method to map button names to the char used by KDecoration.
Required by AuroraeDesigner.

svn path=/trunk/KDE/kdebase/workspace/; revision=1115963
2010-04-18 08:56:10 +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
cd33ed27bf Fix a RTL issue: kwin decorations should not change in a RTL layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=1115575
2010-04-16 21:37:16 +00:00
Script Kiddy
1713c07455 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1115065

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

M	wallpapers/Air/metadata.desktop
2010-04-15 06:07:57 +00:00
Hugo Pereira Da Costa
95c8da25e6 made shadow cache mode configurable
svn path=/trunk/KDE/kdebase/workspace/; revision=1114942
2010-04-14 22:35:46 +00:00
Hugo Pereira Da Costa
99a0cddd77 Reduce cache size and truncate opacity settings for shadow focus transition, based on the
animation durations. For default duration (200msec), this reduces the size of the cache by about a 
factor 10, and still corresponds to a 120Hz frame rate.

BUG: 234187




svn path=/trunk/KDE/kdebase/workspace/; revision=1114935
2010-04-14 22:21:08 +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
Script Kiddy
d1570bbde0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1112774

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

M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
2010-04-09 07:02:29 +00:00
Hugo Pereira Da Costa
c9490235cd fixed background positionning when title bar is hidden
svn path=/trunk/KDE/kdebase/workspace/; revision=1112325
2010-04-07 21:23:38 +00:00
Hugo Pereira Da Costa
e3aefe524a fixed gradient ranges to avoid warning from Qt at runtime
svn path=/trunk/KDE/kdebase/workspace/; revision=1107187
2010-03-25 01:02:05 +00:00
Hugo Pereira Da Costa
49411bcda5 Added checkbox to disable shadow drawing (as a replacement to setting shadow size to zero), consistently with the checkbox used to
disable the active window glow.


svn path=/trunk/KDE/kdebase/workspace/; revision=1107183
2010-03-25 00:51:27 +00:00
Hugo Pereira Da Costa
f0e2ceab7d reorganized button painting code to avoid code duplication
svn path=/trunk/KDE/kdebase/workspace/; revision=1107181
2010-03-25 00:45:33 +00:00
Script Kiddy
3e4094ce72 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1104643

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

M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-03-18 06:54:13 +00:00
Martin Gräßlin
42a0a12252 Use KDecorationOption::defaultTitleButtons(Left|Right) instead of hardcoding the strings in Aurorae theme config.
svn path=/trunk/KDE/kdebase/workspace/; revision=1103187
2010-03-14 15:35:14 +00:00
Martin Gräßlin
66d770d821 Aurorae theme selection and GHNS is moved to the decoration kcm, so no need for the custom configuration interface.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102679
2010-03-13 09:36:22 +00:00
Hugo Pereira Da Costa
4d33600a19 Revert r1101759, after discussion with Lubos and Nuno. Will work on having stronger glow for close button, and possibly reduce button hit area as an alternative
svn path=/trunk/KDE/kdebase/workspace/; revision=1102002
2010-03-11 15:24:28 +00:00