Commit Graph

1919 Commits (9930044581f5bf5924b559f7fb6974fffffd0c54)

Author SHA1 Message Date
Hugo Pereira Da Costa 4840b07e22 write only configuration options that differ from default
svn path=/trunk/KDE/kdebase/workspace/; revision=1208701
2010-12-22 22:08:41 +00:00
Hugo Pereira Da Costa 8f1c262c40 use Configuration::write to write config from UI.
svn path=/trunk/KDE/kdebase/workspace/; revision=1208700
2010-12-22 22:08:15 +00:00
Hugo Pereira Da Costa e43eff9792 Added "Follow Style Hint" setting to the "fine tuning->background style" option
When selected, the decoration looks for a WM Hint set by the style, to decide whether or not it 
should draw a gradient in the background. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1208665
2010-12-22 19:23:46 +00:00
Hugo Pereira Da Costa 796e7ff92a Properly account for window's shaded state, and number of clients in groups when deciding whether or
not the titlebar should be hidden. This is half the job, cause the above does not work (yet) when 
grouping windows among which one has hidden titlebar. Shading works well now, though.

CCBUG: 260815

svn path=/trunk/KDE/kdebase/workspace/; revision=1208187
2010-12-20 22:18:52 +00:00
Script Kiddy 675b51c59b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1207224

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

M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Horos/metadata.desktop
2010-12-17 06:24:18 +00:00
Script Kiddy bc56d6a436 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1204063

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

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
2010-12-06 06:05:38 +00:00
Hugo Pereira Da Costa 1c9f4c1684 added consts
svn path=/trunk/KDE/kdebase/workspace/; revision=1198441
2010-11-18 13:14:33 +00:00
Hugo Pereira Da Costa 5e3f71614e Optimized button rendering.
svn path=/trunk/KDE/kdebase/workspace/; revision=1198423
2010-11-18 11:22:17 +00:00
Script Kiddy 83fc2822a6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1196577

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-11-13 15:48:20 +00:00
Hugo Pereira Da Costa 97cf4863ff Moved exception loading from oxygenfactory to oxygenconfiguration.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195628
2010-11-11 16:38:44 +00:00
Hugo Pereira Da Costa ffb9a588b2 removed unused variable.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195627
2010-11-11 16:38:17 +00:00
Hugo Pereira Da Costa 6a7368175b re-ordered option loading
svn path=/trunk/KDE/kdebase/workspace/; revision=1195626
2010-11-11 16:37:52 +00:00
Martin Gräßlin 6353d6ff57 Don't blur behind opaque window decorations.
Adding a new AbilityUsesBlurBehind which can be set by decorations with
alpha channel to request that the background can be blurred. This improves
the situation for our completely opaque default Oxygen decoration.

This change is a behavior change in comparison to 4.5! Translucent decorations do
not get blurred by default any more.
CCMAIL: craig.p.drummond@googlemail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1195274
2010-11-10 18:33:07 +00:00
Script Kiddy 633a2ff59d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1191511

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
2010-10-31 09:11:11 +00:00
Script Kiddy 3f9333c44c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1189884
2010-10-26 09:57:26 +00:00
Martin Gräßlin bc5ade425b Show Tooltips when hovering Aurorae Tabs.
Using the Plasma ToolTipManager to provide the same tooltips as in the tasks applet.
Currently only icons and title are displayed for tabs. Preview will be added as soon
as the tab's WId is exported by KWin core.
Unfortunately the tooltips are missing translucency.
FEATURE: 228436
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1188226
2010-10-21 18:19:01 +00:00
Pavel Heimlich 44d7167c69 fix build, properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187633
2010-10-19 22:43:42 +00:00
Pavel Heimlich 2a1de10460 fix build. properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187632
2010-10-19 22:42:05 +00:00
Script Kiddy b035e1a2da SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1182318
2010-10-04 08:21:13 +00:00
Hugo Pereira Da Costa cf28eb22c7 Fixed default value for separatorMode.
svn path=/trunk/KDE/kdebase/workspace/; revision=1182029
2010-10-03 02:28:50 +00:00
Hugo Pereira Da Costa 881a43a191 Changed 'drawSeparator' boolean value into a combobox, for which 3 choices are available:
- never draw separator
- draw separator when window is active
- always draw separator.

This is usefull for e.g. firefox, when a flat background is used, in which case one might 
want the separator to always be enabled.


svn path=/trunk/KDE/kdebase/workspace/; revision=1182027
2010-10-03 02:22:56 +00:00
Chusslove Illich 399b47f49e Typo fixes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1180875
2010-09-29 09:38:45 +00:00
Script Kiddy bb60cd51ce SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1177799

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

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-09-21 10:01:09 +00:00
Hugo Pereira Da Costa 85adc68a06 Added dynamically allocated debug area
fixed some coding style.
changed fabs into abs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1175805
2010-09-16 01:24:56 +00:00
Hugo Pereira Da Costa d4d985b30d Fixed indentation.
svn path=/trunk/KDE/kdebase/workspace/; revision=1174511
2010-09-12 18:05:24 +00:00
Hugo Pereira Da Costa 70f9460484 Readded helper().invalidateCaches call at each readConfig.
this is needed to properly catch 'contrast' changes in systemsettings.


svn path=/trunk/KDE/kdebase/workspace/; revision=1173169
2010-09-08 21:07:14 +00:00
Luboš Luňák 23d73bd6b0 Move some less-used kwin styles to kdeartwork.
http://lists.kde.org/?l=kwin&m=128100223007299&w=2


svn path=/trunk/KDE/kdebase/workspace/; revision=1172188
2010-09-06 17:05:35 +00:00
Luboš Luňák 65bb5f5c17 Dump the kwmtheme decoration. It hasn't compiled in ages, hasn't seen
any activity for even longer.


svn path=/trunk/KDE/kdebase/workspace/; revision=1172182
2010-09-06 16:48:31 +00:00
Hugo Pereira Da Costa 72ebe28e12 Really disable caching when caching is disabled (hehe)
svn path=/trunk/KDE/kdebase/workspace/; revision=1171078
2010-09-02 16:34:20 +00:00
Hugo Pereira Da Costa 1adaf8c8ea remove use of QWeakPointer for the itemAnimationData_ object as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.


svn path=/trunk/KDE/kdebase/workspace/; revision=1170328
2010-08-31 14:30:17 +00:00
Hugo Pereira Da Costa 6309ac1928 OxygenClient: remove use of QWeakPointer for the glowAnimation_ as it is unnecessary: the object is never used outside of the class
and is a child of the client, deleted in the client destructor, by Qt.

Client, Button: removed useless acessor to the glowAnimation pointer.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170327
2010-08-31 14:24:01 +00:00
Hugo Pereira Da Costa 1a1d2b964b Removed use of a weakPointer for storing the glowAnimation in buttons:
it is unnecessary since the object is never accessed outside of the button class, is a child and the button, and thus destroyed 
only in the button destructor, by Qt. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1170321
2010-08-31 14:18:02 +00:00
Hugo Pereira Da Costa b8137a7671 Reverted r1170209
because it causes crash when playing with shade and maximize (likely due to a lower-level bug in kwin)

svn path=/trunk/KDE/kdebase/workspace/; revision=1170211
2010-08-31 05:44:19 +00:00
Hugo Pereira Da Costa 943154f255 Always set bottom border to zero when window is shaded. This ensures that window title and buttons are
centered vertically when shading windows.

svn path=/trunk/KDE/kdebase/workspace/; revision=1170209
2010-08-31 05:16:02 +00:00
Hugo Pereira Da Costa 3ba096c34e Tried rationalize configuration changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1169281
2010-08-28 23:45:14 +00:00
Hugo Pereira Da Costa 2947ec516b - Simplified titleBar title color handling, moved to oxygenHelper, and cached.
- added some missing consts in Client.

svn path=/trunk/KDE/kdebase/workspace/; revision=1169247
2010-08-28 19:58:22 +00:00
Martin Gräßlin abcef60190 Forward port revision 1169086: Update text shadow information whenever Tabs are added/removed in Aurorae.
Fixes incorrect initial text shadow position in Aurorae. Unfortunately
QGraphicsDropShadowEffect seems to be not side effect free. Updates to the scene
are not propagated leaving the tabs in a wrong visual state. Therefore text shadow
is disabled for window tabbing. I will investigate further to see if it gets fixed
in Qt 4.7.
CCBUG: 248754

svn path=/trunk/KDE/kdebase/workspace/; revision=1169087
2010-08-28 12:00:03 +00:00
Hugo Pereira Da Costa 18042bba95 removed all connections to QPropertyAnimation::valueChanged() and call relevant update in the 'setValue' method directly, instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1168989
2010-08-28 02:52:26 +00:00
Hugo Pereira Da Costa 393e2b86bc Removed superfluous connections to animation 'finished' signal.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168969
2010-08-28 02:02:50 +00:00
Hugo Pereira Da Costa c709f1163f use QPoint instead of QPointF for rendering dots.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168961
2010-08-28 01:01:59 +00:00
Hugo Pereira Da Costa 0f3a02e265 Fixed corner tileSet color in drawTitleOutline mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168083
2010-08-26 03:05:10 +00:00
Hugo Pereira Da Costa dd003d527f moved sizeGripMode option to expert mode only.
svn path=/trunk/KDE/kdebase/workspace/; revision=1167843
2010-08-25 13:09:59 +00:00
Martin Gräßlin 07603785a7 Drop Aurorae Example Theme
* There are many themes nowadays
* It is ugly
* It is not up-to-date
* It is not installed
* many more reasons

svn path=/trunk/KDE/kdebase/workspace/; revision=1165297
2010-08-18 19:38:28 +00:00
Script Kiddy 74f2006855 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1158610

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

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-08-03 08:28:40 +00:00
Hugo Pereira Da Costa 80757b158f more cliprect fixing
svn path=/trunk/KDE/kdebase/workspace/; revision=1155774
2010-07-28 02:23:14 +00:00
Hugo Pereira Da Costa 36073d738a constification (can't make any harm can it ?)
svn path=/trunk/KDE/kdebase/workspace/; revision=1155754
2010-07-28 01:54:51 +00:00
Hugo Pereira Da Costa 5ce103a6e6 - fixed rendering glitch because updateTitleRect had too small clip region
- moved check on titleOutline to dedicated inline function
- removed some trailing spaces.

svn path=/trunk/KDE/kdebase/workspace/; revision=1155744
2010-07-28 01:07:47 +00:00
Luboš Luňák 01531e3c8d Remove the 'Test' decoration that was originally created
to test then new kwin_iii decoration API. Not needed anymore and
probably doesn't even work.


svn path=/trunk/KDE/kdebase/workspace/; revision=1155420
2010-07-27 10:05:02 +00:00
Markus Meik Slopianka 6374f08355 revert. sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=1154460
2010-07-25 14:19:05 +00:00
Markus Meik Slopianka 8933e3bd32 revert. sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=1154458
2010-07-25 14:16:34 +00:00
Markus Meik Slopianka e697994d51 Move dated looking themes to kdeartwork as discussed on kwin mailing list
svn path=/trunk/KDE/kdebase/workspace/; revision=1154447
2010-07-25 14:03:02 +00:00
Markus Meik Slopianka 0104c110eb Move dated looking themes to kdeartwork as discussed on kwin mailing list
svn path=/trunk/KDE/kdebase/workspace/; revision=1154445
2010-07-25 14:00:45 +00:00
Hugo Pereira Da Costa 8762a1ac55 Tried improve performances during title transitions by triggering updates of the title area only.
svn path=/trunk/KDE/kdebase/workspace/; revision=1154145
2010-07-24 21:45:25 +00:00
Hugo Pereira Da Costa a11fe5349b added missing include directory
svn path=/trunk/KDE/kdebase/workspace/; revision=1153670
2010-07-23 18:20:31 +00:00
Hugo Pereira Da Costa 6ef58dcfc9 Moved oxygenitemmodel and listmodel to libs.
Code clean-up.

svn path=/trunk/KDE/kdebase/workspace/; revision=1153665
2010-07-23 18:05:09 +00:00
Hugo Pereira Da Costa 289e6f5f74 Added cache to clip away center region of shadows, in order no to overlap with the decoration painting.
Changed mask for the decoration painting. 
This is needed for proper implementation of decoration translucency.

svn path=/trunk/KDE/kdebase/workspace/; revision=1151956
2010-07-20 01:39:15 +00:00
Hugo Pereira Da Costa ed8788d3af - added utility inline functions for readability
- cleaned up color handling
- fixed appearance of toggled keep above and keep-below buttons, consistently with the 'on all desktop' 
button.

svn path=/trunk/KDE/kdebase/workspace/; revision=1146313
2010-07-05 17:39:25 +00:00
Hugo Pereira Da Costa a07407cef9 removed unused parameter to avoid compilation warning
svn path=/trunk/KDE/kdebase/workspace/; revision=1146309
2010-07-05 17:34:44 +00:00
Script Kiddy 63050326ac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1145779

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

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-07-04 06:52:37 +00:00
Script Kiddy 0af0152893 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1144023

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

M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
2010-06-29 10:26:31 +00:00
Hugo Pereira Da Costa 5374a70cc2 Removed unnecessary check on object in event filter.
CCBUG: 243004

svn path=/trunk/KDE/kdebase/workspace/; revision=1143677
2010-06-28 13:14:24 +00:00
Martin Gräßlin 36744df4c1 Defer deletion of the AuroraeScene and View to the next event loop. It is possible that the scene get's deleted before processing mouse events is finished which causes crashes.
BUG: 242165
FIXED-IN: 4.5.0
CCBUG: 241876
CCBUG: 242116

svn path=/trunk/KDE/kdebase/workspace/; revision=1139942
2010-06-19 15:23:48 +00:00
Script Kiddy 2647a81954 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1139384

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

M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
2010-06-18 06:44:10 +00:00
Script Kiddy 1e2e93cabb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1138156
2010-06-15 08:44:03 +00:00
Hugo Pereira Da Costa e1669806ef Do not draw the title "slab" in "outline window title" mode, when the client title is empty (or contains
only space characters). Except when tabbed together with other windows. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1138015
2010-06-15 00:05:08 +00:00
Hugo Pereira Da Costa 2e1ed41e69 moved shadow mode to expert configuration only, because kwin shadow pluggin does not work well with oxygen
svn path=/trunk/KDE/kdebase/workspace/; revision=1136155
2010-06-09 04:01:57 +00:00
Hugo Pereira Da Costa 0ec3c6bf5a use helper class to render resize handle dots, for consistency with the style.
svn path=/trunk/KDE/kdebase/workspace/; revision=1135179
2010-06-06 18:12:21 +00:00
Script Kiddy 7b6809b176 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1134733
2010-06-05 06:22:14 +00:00
Hugo Pereira Da Costa 07dc7a0fff Fixed outer color chooser enable state depending of parent state and
checkbox.

svn path=/trunk/KDE/kdebase/workspace/; revision=1134693
2010-06-05 00:41:07 +00:00
Hugo Pereira Da Costa 1ea223f34c added "unlockAnimations" method.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134598
2010-06-04 16:59:09 +00:00
Hugo Pereira Da Costa 8d2a83d954 Set default border size to "tiny" on agreement with Nuno
svn path=/trunk/KDE/kdebase/workspace/; revision=1134332
2010-06-03 22:47:09 +00:00
Hugo Pereira Da Costa 98558973ef Fixed handling of mask, so that it is set only when either shadowMode is not OxygenShadow
or compositing is not active.


svn path=/trunk/KDE/kdebase/workspace/; revision=1133588
2010-06-02 06:04:17 +00:00
Hugo Pereira Da Costa 29320ccd26 no mask in borderless-titleless mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1133541
2010-06-01 22:44:03 +00:00
Script Kiddy 50f52101cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1132676

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-05-31 07:06:08 +00:00
Christoph Feck 71959ec006 Fix warning "QPixmap::operator=: Cannot assign to pixmap during painting"
svn path=/trunk/KDE/kdebase/workspace/; revision=1132445
2010-05-30 16:59:39 +00:00
Script Kiddy abc0bf9e6e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1131891

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-05-29 06:53:39 +00:00
Ignat Semenov 28deb24ee0 Remove unnecessary calls to showButtonSeparator(false)
svn path=/trunk/KDE/kdebase/workspace/; revision=1130888
2010-05-26 17:51:27 +00:00
Hugo Pereira Da Costa f688c338fc moved buddy calls to ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1130079
2010-05-24 11:53:17 +00:00
Hugo Pereira Da Costa e2083ed8fc added missing setBuddy calls
svn path=/trunk/KDE/kdebase/workspace/; revision=1130072
2010-05-24 11:35:17 +00:00
Hugo Pereira Da Costa 7df53b2623 moved ui files to dedicated directory
svn path=/trunk/KDE/kdebase/workspace/; revision=1130071
2010-05-24 11:30:09 +00:00
Martin Gräßlin a2d331cc56 Make Aurorae themes with title on left/right somewhat work for shaded windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1129816
2010-05-23 20:45:33 +00:00
Chusslove Illich dd5d779f5e i18n: split size strings for borders and buttons (more appearances).
svn path=/trunk/KDE/kdebase/workspace/; revision=1129489
2010-05-22 15:15:11 +00:00
Hugo Pereira Da Costa 3309e02cee copyright and comments
svn path=/trunk/KDE/kdebase/workspace/; revision=1129372
2010-05-22 05:40:39 +00:00
Hugo Pereira Da Costa 15c614b6c9 replace calls to MyClass::myMethod by this->myMethod
svn path=/trunk/KDE/kdebase/workspace/; revision=1128994
2010-05-20 22:00:13 +00:00
Hugo Pereira Da Costa 71595cb8c6 Changed constructs like
"Client::myMethod()" into "this->myMethod()"


svn path=/trunk/KDE/kdebase/workspace/; revision=1128991
2010-05-20 21:41:19 +00:00
Hugo Pereira Da Costa 06250b234d added intermediate size for buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1126882
2010-05-15 06:22:46 +00:00
Hugo Pereira Da Costa 3173ad3f36 use 40 for default shadow size (both active and inactive)
svn path=/trunk/KDE/kdebase/workspace/; revision=1126322
2010-05-13 16:54:47 +00:00
Hugo Pereira Da Costa 24e01d0e7b Removed dependency of Oxygen::ShadowCache upon Oxygen::Client.
svn path=/trunk/KDE/kdebase/workspace/; revision=1126021
2010-05-12 23:34:31 +00:00
Hugo Pereira Da Costa 6367003af5 added more points to the outer gradient, so that it is smoother
svn path=/trunk/KDE/kdebase/workspace/; revision=1125709
2010-05-12 01:43:52 +00:00
Hugo Pereira Da Costa 6d6c7a9810 Nicer implementation of shadow functions.
Should allow easier tweaking to truncate tails if needed.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125530
2010-05-11 16:56:00 +00:00
Hugo Pereira Da Costa 3fa2e1b234 Removed useless include.
Fixed ambiguity when passing tiles as argument.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125272
2010-05-11 05:30:08 +00:00
Hugo Pereira Da Costa 71460bc371 added contrast pixel to text rendering in drag pixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=1125268
2010-05-11 04:59:13 +00:00
Hugo Pereira Da Costa da8593d092 Improved glow, using analytical formula and number of points on gradient adjusted to
gradient size.


svn path=/trunk/KDE/kdebase/workspace/; revision=1125246
2010-05-11 02:06:20 +00:00
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
Script Kiddy 9118cc673f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1101859

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-03-11 06:51:07 +00:00
Hugo Pereira Da Costa a733f36b2e Removed customized default buttons layout
svn path=/trunk/KDE/kdebase/workspace/; revision=1101759
2010-03-10 21:01:21 +00:00
Hugo Pereira Da Costa bfa031170e Removed use of kglobalsettings to decide whether animations should be enabled or not.
svn path=/trunk/KDE/kdebase/workspace/; revision=1100594
2010-03-08 00:29:00 +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 6a188437b4 Set title edge values to 0 for maximized windows in Aurorae.
It is still possible to overwrite this setting in the theme config.
FEATURE: 228491

svn path=/trunk/KDE/kdebase/workspace/; revision=1099993
2010-03-06 13:42:48 +00:00
Hugo Pereira Da Costa 6f788c9fdd fixed use of oxygendecohelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1099040
2010-03-04 22:57:33 +00:00
Hugo Pereira Da Costa 84868a37c6 explicitely use oxygendecohelper rather than oxygenhelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1099031
2010-03-04 22:51:08 +00:00