Commit Graph

1995 Commits (42dfdb63b03a6beca314f61bd61981dc1724909b)

Author SHA1 Message Date
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
Hugo Pereira Da Costa 8d1314a26b added local oxygendecohelper, that derives from libs/oxygen/oxygenhelper and implements methods used here but not in the style. Modified relevant headers accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1099028
2010-03-04 22:49:18 +00:00
Script Kiddy cf3c3d17b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1098905

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/Curls_on_Green/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/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-03-04 16:46:17 +00:00
Script Kiddy 19f587ea46 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1097842

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/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/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-03-02 09:26:45 +00:00
Aaron J. Seigo bfbe44dacc * move kstyles from runtime into workspace
* make a proper library out of the oxygen helper lib
* make the oxygen widget and kwin style link against it

svn path=/trunk/KDE/kdebase/workspace/; revision=1097791
2010-03-02 03:40:34 +00:00
Hugo Pereira Da Costa 935b40d436 Use KGlobalSettings::graphicEffectsLevel in conjunction with OxygenConfiguration to
determine if animations should be enabled.

This allows to turn off all animations if the "graphical effects" combobox in
"systemsettings->appearance->style->fine tunning" is set to either
- Low display resolution and low CPU
- High display resolution and low CPU

BUG: 226668

svn path=/trunk/KDE/kdebase/workspace/; revision=1090208
2010-02-14 21:59:14 +00:00
Script Kiddy bb061e1e72 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1089061

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

M	wallpapers/Evening/metadata.desktop
2010-02-12 10:55:37 +00:00
Hugo Pereira Da Costa ce74308765 added checkbox to enable/disable decoration animations
svn path=/trunk/KDE/kdebase/workspace/; revision=1088959
2010-02-12 01:18:46 +00:00
Hugo Pereira Da Costa fa03ee04a2 condition tabbing animations to the 'useAnimation' flag, for consistancy with other animations. begin and final animation states are kept visually unchanged. Only the smooth transition between the two is disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=1088957
2010-02-12 01:14:43 +00:00
Hugo Pereira Da Costa c896faa443 re-enabled title transition animation. Add animation 'lock' in case title is changed to frequently (e.g. in kmail/thunderbird new mail window). Set the lock duration to 300 milliseconds.
svn path=/trunk/KDE/kdebase/workspace/; revision=1088954
2010-02-12 00:42:25 +00:00
Hugo Pereira Da Costa 58b8722a6b fixed calculation of title bounding rects when there is only one title being shown, to avoid issues when smooth title transition is enabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1088001
2010-02-09 23:07:34 +00:00
Script Kiddy 39829f28e0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1085566

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Evening/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/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-02-05 13:31:20 +00:00
Christophe Giboudeaux a316811db0 Also let scripty replace the 'name' translations.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085082
2010-02-04 10:59:45 +00:00
Christophe Giboudeaux 5f79d4d407 Let scripty handle the translations.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085077
2010-02-04 10:56:18 +00:00
Christophe Giboudeaux a10818af7c save as utf-8. fixes a packaging error.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085009
2010-02-04 10:14:18 +00:00
Hugo Pereira Da Costa 5a852ac75b make sure that the (hidden) useAnimation flag also disables button hover animated glow
svn path=/trunk/KDE/kdebase/workspace/; revision=1084320
2010-02-02 21:55:56 +00:00
Roman Shtylman 20650bc139 oops. accidental git commit with lib symlink
svn path=/trunk/KDE/kdebase/workspace/; revision=1083876
2010-02-02 06:04:21 +00:00
Roman Shtylman eeb83912de symlink for git repos
svn path=/trunk/KDE/kdebase/workspace/; revision=1083873
2010-02-02 05:43:28 +00:00
Hugo Pereira Da Costa b674835c6c added needed metaData to name people behind oxygen-windeco. Feel free to correct directly or contact me, if I missed someone, or miss-typed any information (no offense meant)
svn path=/trunk/KDE/kdebase/workspace/; revision=1083308
2010-02-01 01:48:37 +00:00
Martin Gräßlin 12efb634f0 Fix forward declaration.
svn path=/trunk/KDE/kdebase/workspace/; revision=1081957
2010-01-29 12:38:20 +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
Hugo Pereira Da Costa 0917db504e Added/moved itemData_.setDirty() calls to make sure clientgroupitems are reset properly in
all cases, including when the clientGroup modification request (add,remove, ...) fails.
CCBUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081125
2010-01-27 20:10:33 +00:00
Hugo Pereira Da Costa 49deef6c2e fixed vertical positioning of window background
svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
2010-01-27 05:27:20 +00:00
Friedrich W. H. Kossebau 4750a5c42b changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=1080302
2010-01-26 02:57:09 +00:00
Hugo Pereira Da Costa c04cc31fa2 fixed title bounding rect conflict with window buttons when dragging a tab away from (or back in) a 2-tabs window, with the second tab title being very long
svn path=/trunk/KDE/kdebase/workspace/; revision=1078906
2010-01-23 06:59:55 +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
Hugo Pereira Da Costa f308728d7d fixed compilation warning about 'virtual' signals
svn path=/trunk/KDE/kdebase/workspace/; revision=1075993
2010-01-17 08:07:13 +00:00
Hugo Pereira Da Costa 352a2de89a always store dragpoint in mousePressEvent, disregarding the button;
reset mouseButton_ in mouseMoveEvent only if action is actually taken.
CCBUG 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1075951
2010-01-17 03:02:44 +00:00
Hugo Pereira Da Costa e2240a8427 Do not activate button pressed animation when no action is triggered when doing so (e.g right button press on Window-Close)
svn path=/trunk/KDE/kdebase/workspace/; revision=1073152
2010-01-11 18:32:56 +00:00
Hugo Pereira Da Costa 0e62916ccd Display client menu on mouse press in the oxygen decoration.
BUG: 221997


svn path=/trunk/KDE/kdebase/workspace/; revision=1072370
2010-01-10 03:47:25 +00:00
Lucas Murray 851b833293 Display client menu on mouse press in the Tabstrip decoration; Correct
handling of tab close button events; Prevent a crash when a decoration
requests the client menu of an invalid tab index.
CCBUG: 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1072365
2010-01-10 03:36:51 +00:00
Hugo Pereira Da Costa e2bd296cf7 Prevent closing of tab when tab closeButton mouseReleaseEvent occurs outside of the button rect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072363
2010-01-10 03:29:07 +00:00
Hugo Pereira Da Costa f98c1f875c added dedicated option to enable/disable window title change animation, and disabled it by default.
It can be reenabled by adding "AnimateTitleChange=true" in oxygenrc under [Windeco].


svn path=/trunk/KDE/kdebase/workspace/; revision=1070564
2010-01-06 01:42:38 +00:00
Hugo Pereira Da Costa 4b7cfcf660 use QWeakPointer in place of QPointer
svn path=/trunk/KDE/kdebase/workspace/; revision=1069995
2010-01-04 17:00:21 +00:00
Hugo Pereira Da Costa e49597ecd3 use QPropertyAnimation instead of QTimeLine to handle transitions
svn path=/trunk/KDE/kdebase/workspace/; revision=1069986
2010-01-04 16:42:46 +00:00
Script Kiddy 42b531ac78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1069851

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

M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-01-04 10:25:36 +00:00
Script Kiddy 051ac73ecc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068962

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-01-02 11:35:49 +00:00
Chusslove Illich 0a497dfcec i18n: added disambiguation contexts to "none", "enabled" and "disabled" in KCMs.
Due to sharing of translation space in KCMs, translations for these strings were
randomly fetched from all over the place, including base kdelibs catalogs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1068781
2010-01-02 01:01:42 +00:00
Martin Gräßlin 061a6d7642 Do not install the example aurorae theme - it is too ugly for being shipped by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068534
2010-01-01 12:53:10 +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
Script Kiddy 7f9f60d6b9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068486

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Curls_on_Green/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
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2010-01-01 11:09:03 +00:00
Maks Orlovich 3073e12f4e Fix symbol clash on ConfigDialog between this and systemsettings
which makes it crash on trying to open this kcm with plastik deco active 
and non-hidden-visibility build

svn path=/trunk/KDE/kdebase/workspace/; revision=1068280
2009-12-31 18:21:15 +00:00
Script Kiddy 63697902e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068118

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/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/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-12-31 11:34:58 +00:00
Script Kiddy d11c82c3fe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1067354

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-29 12:23:43 +00:00
Hugo Pereira Da Costa 6a26dba2e0 Removed button area from grabbed pixmap in non-outline mode, for consistency
svn path=/trunk/KDE/kdebase/workspace/; revision=1066551
2009-12-27 12:00:23 +00:00
Urs Wolfer d73958d737 QT3_SUPPORT--
svn path=/trunk/KDE/kdebase/workspace/; revision=1066287
2009-12-26 16:57:26 +00:00
Script Kiddy ffd49a14b4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1065981

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

M	wallpapers/Air/metadata.desktop
2009-12-25 09:48:01 +00:00
Script Kiddy 5bd4dc40a9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1064230

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

M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2009-12-20 12:04:42 +00:00
Hugo Pereira Da Costa 80b5f81f72 Moved title transitin handling to separate class (oxygentitleanimationdata).
Use blended pixmaps to do the transition instead of QPainter::drawText with alpha blended colors.
This fixes glitches when title is changed while animation is running. (thanks to Wilder for reporting). 


svn path=/trunk/KDE/kdebase/workspace/; revision=1063441
2009-12-18 15:20:04 +00:00
Hugo Pereira Da Costa 43f261b6ed use K classes in place of Q classes (Krazy)
svn path=/trunk/KDE/kdebase/workspace/; revision=1063400
2009-12-18 03:05:27 +00:00
Martin Gräßlin 21821f48a4 Less krazy warnings: use prefix ++ instead of postfix.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063341
2009-12-17 21:35:37 +00:00
Martin Gräßlin 9715014b4d Less krazy issues: fix spelling errors in comments.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063337
2009-12-17 21:16:10 +00:00
Martin Gräßlin 6aacd897e2 Use KNS3 download dialog in Aurorae config.
This change magically fixes the problem that you had to close the systemsettings window to use the GHNS dialog.

svn path=/trunk/KDE/kdebase/workspace/; revision=1063029
2009-12-16 19:19:01 +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
Hugo Pereira Da Costa dd3a6041de remove mouseReleaseEvent corresponding to showing the menu from the event loop.
this is a patch originally from Thomas Lubig (thanks!)
CCBUG: 218623


svn path=/trunk/KDE/kdebase/workspace/; revision=1062526
2009-12-15 01:27:50 +00:00
Thomas Lübking 6f761f2082 eventhandling (catch segfault on disabling deco by rmb menu), moc vs. local deconstructor
svn path=/trunk/KDE/kdebase/workspace/; revision=1062392
2009-12-14 15:43:26 +00:00
Lucas Murray 1c02f9aaf6 Make the Tabstrip decoration follow font size settings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1062336
2009-12-14 11:22:05 +00:00
Script Kiddy c1d2862b54 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1062316

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

M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2009-12-14 10:51:05 +00:00
Hugo Pereira Da Costa c5c464226d changed painting order of old/new caption and embossed/main text when title text transition is called, to avoid flicker. Also removed automatic text elision on old caption
svn path=/trunk/KDE/kdebase/workspace/; revision=1062149
2009-12-13 23:24:36 +00:00
Urs Wolfer 3810ed6ff4 optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 2524KB (2MB)

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

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

M	wallpapers/Media_Life/contents/screenshot.png
M	wallpapers/Quadros/contents/screenshot.png
2009-12-13 21:35:03 +00:00
Script Kiddy 49288cb771 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1060615

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-12-09 11:40:52 +00:00
Hugo Pereira Da Costa 26f153dd97 fixed location of dragging icon in outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1060481
2009-12-09 04:17:09 +00:00
Script Kiddy 6d0e02633a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1060237

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-08 10:50:27 +00:00
Hugo Pereira Da Costa 0281658d1d trigger 'changed' when active window glow is enabled/disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1060064
2009-12-07 23:53:02 +00:00
Hugo Pereira Da Costa 1698f34b6f ... and set default spacer height to 1, rather than 0.
svn path=/trunk/KDE/kdebase/workspace/; revision=1060059
2009-12-07 23:41:52 +00:00
Hugo Pereira Da Costa e03ed54f0b added spacer below buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1060055
2009-12-07 23:39:08 +00:00
Hugo Pereira Da Costa abda43c9c9 removed the 'glow active window' checkbox and move it to the active window glow 'groupbox'. This allows one to reduce the size of the configuration dialog, leaving more space to the preview. No string change
svn path=/trunk/KDE/kdebase/workspace/; revision=1060053
2009-12-07 23:32:24 +00:00
Script Kiddy 0c10757427 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1059769
2009-12-07 10:16:35 +00:00
Alexis Ménard b014d1e56c ARM Compile fix.
svn path=/trunk/KDE/kdebase/workspace/; revision=1057628
2009-12-02 23:33:43 +00:00
Script Kiddy 5a806b8111 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1057423
2009-12-02 12:04:40 +00:00
Script Kiddy ed04f0c0a9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1057041

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-01 11:16:26 +00:00
Script Kiddy a9d4dc0c68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1056593

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-11-30 12:31:59 +00:00
Hugo Pereira Da Costa 4efdd7dda2 force update of title bounding rects at next repaint in captionChange and activeChange. This fixes issues with title being trunkated in title-outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1056289
2009-11-29 19:22:03 +00:00
Adriaan de Groot 92ff288701 Happy constructor pattern
svn path=/trunk/KDE/kdebase/workspace/; revision=1056199
2009-11-29 16:16:34 +00:00
Script Kiddy 1a354b98e4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1056066
2009-11-29 11:05:19 +00:00
Script Kiddy f8ad089c05 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1055086
2009-11-27 10:22:18 +00:00
Script Kiddy afe01fcf9b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1054620
2009-11-26 11:19:49 +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
Hugo Pereira Da Costa ffdadc4844 Fixed corner color for shaded windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1054385
2009-11-25 23:16:56 +00:00
Jussi Kekkonen cbda8d6445 Added explanation how it's done manually, have no idea if this even makes sense though
svn path=/trunk/KDE/kdebase/workspace/; revision=1054061
2009-11-25 11:46:56 +00:00
Hugo Pereira Da Costa f6f3d5ce3d set margins back to '4' (the default), because of bug fixed upstream (in oxygen-style)
svn path=/trunk/KDE/kdebase/workspace/; revision=1053942
2009-11-25 02:39:32 +00:00
Hugo Pereira Da Costa 646fb3aa60 fixed spacing in tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=1053749
2009-11-24 18:58:57 +00:00
Hugo Pereira Da Costa 4d28de8b70 explicitely reload helper configuration in ::reset(), in order to have the correct contrast settings, that match the style
svn path=/trunk/KDE/kdebase/workspace/; revision=1053406
2009-11-24 00:36:01 +00:00
Script Kiddy 581d031c67 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1053120
2009-11-23 10:50:06 +00:00
Script Kiddy b1c9608a6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1052700

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

M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-11-22 10:43:25 +00:00
Script Kiddy e335e5efc4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1052335
2009-11-21 10:52:41 +00:00
Hugo Pereira Da Costa d5d0e8762a fixed glitch in transition from active to inactive in outline mode and non-tabbed window
svn path=/trunk/KDE/kdebase/workspace/; revision=1051757
2009-11-20 02:14:48 +00:00
Andrew Coles e072892bae Proof-reading message about auto-move.
svn path=/trunk/KDE/kdebase/workspace/; revision=1051512
2009-11-19 17:50:42 +00:00
Hugo Pereira Da Costa 84e7363aa0 fixed title and button alignment in maximized mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1051237
2009-11-19 04:11:21 +00:00
Jussi Kekkonen 7b4d5abb47 Adding option to turn on/off the automove of titlebar tab, automove doesn't work with composite anyway
svn path=/trunk/KDE/kdebase/workspace/; revision=1050951
2009-11-18 12:48:48 +00:00
Script Kiddy 67a2bc4016 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1050922
2009-11-18 11:35:22 +00:00
Hugo Pereira Da Costa 3d99880d86 fixed corner rendering to match stronger main window backgrounds
svn path=/trunk/KDE/kdebase/workspace/; revision=1050773
2009-11-18 07:31:34 +00:00
Hugo Pereira Da Costa 4b6c98b7ac use bias to set window state glow intensity and have emulate faster responding animations
svn path=/trunk/KDE/kdebase/workspace/; revision=1050705
2009-11-17 22:26:36 +00:00
Hugo Pereira Da Costa 045daadccb used external lib/oxygenanimation class to handle animations in place of QTimeLine. This will make transition to Qt Kinetic easier
svn path=/trunk/KDE/kdebase/workspace/; revision=1050690
2009-11-17 21:56:04 +00:00
Script Kiddy 09a89220be SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1050436

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/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/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-11-17 10:38:46 +00:00
Lucas Murray 00e131a1a5 Allow window tabbing titlebar actions to be configurable; Set default
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898

svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Hugo Pereira Da Costa f11a5ad36f added Q_DECLARE_OPERATORS_FOR_FLAGS for AnimationTypes and simplified calls to enum in OxygenClient accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1050095
2009-11-16 16:11:45 +00:00
Andrew Coles bc0919d485 Minor proof-reading change: AllDesktops needs to be two words.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050039
2009-11-16 13:28:50 +00:00
Script Kiddy c0c0864860 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1049965
2009-11-16 11:12:53 +00:00
Darío Andrés Rodríguez 23dcb5d66a - Reduce the ammount of unused vars/parameters warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1049628
2009-11-15 15:41:16 +00:00
Script Kiddy 742d31ab28 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1049472
2009-11-15 10:08:10 +00:00
Lucas Murray 27d13ea5fb Fix compile on 64-bit systems.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049438
2009-11-15 09:39:50 +00:00
Hugo Pereira Da Costa 8fb19a44e7 make sure separators are properly drawn when dragging out one tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049387
2009-11-15 09:14:43 +00:00
Hugo Pereira Da Costa 14ffab1aa5 more tab glitches fixed. Use full-width, and hide buttons and separator when there is only one tab left at drag-leave
svn path=/trunk/KDE/kdebase/workspace/; revision=1049363
2009-11-15 07:27:49 +00:00
Hugo Pereira Da Costa 592606b79c first move, then leave, when forcing dragLeave animation. This avoids glitch at shrinking active tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1049359
2009-11-15 06:32:34 +00:00
Hugo Pereira Da Costa 51374ce5db added a 50ms timer when creating drag to force animation when dragMove and dragLeave events are lost
svn path=/trunk/KDE/kdebase/workspace/; revision=1049358
2009-11-15 06:28:40 +00:00
Hugo Pereira Da Costa d5cf53c828 revert back to not starting animation in mouseMoveEvent: it creates more glitches
svn path=/trunk/KDE/kdebase/workspace/; revision=1049354
2009-11-15 05:11:58 +00:00
Hugo Pereira Da Costa 4f49140a94 start drag animation immediately in mouseMoveEvent, rather than waiting for dragMove/dragLeave event. Removed some obsolete commented lines. Removed useless Oxygen:: namespace prefix
svn path=/trunk/KDE/kdebase/workspace/; revision=1049351
2009-11-15 04:49:23 +00:00
Lucas Murray a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Hugo Pereira Da Costa 3c63918fd5 removed useless active flag from 'titlebarcontrastcolor'
svn path=/trunk/KDE/kdebase/workspace/; revision=1048900
2009-11-14 05:19:40 +00:00
Hugo Pereira Da Costa 9ff89e1768 Added contrast pixel on titlebar text. This creates 'carved-in' font, as a possible replacement to bold.
Implemented after discussion with pinheiro.

svn path=/trunk/KDE/kdebase/workspace/; revision=1048886
2009-11-14 04:19:09 +00:00
Hugo Pereira Da Costa f08d982b15 - made distance between window border and first button smaller by 2 pixels
- set default spacing between buttons to 3 pixels
- added 'hidden' option to disable the above
- removed extra spacing before close button in default button layout, since the 3 
pixels above should be enough

svn path=/trunk/KDE/kdebase/workspace/; revision=1047309
2009-11-10 23:11:08 +00:00
Hugo Pereira Da Costa 92a21a8ee2 fixed bug on bottom border when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=1046964
2009-11-10 02:44:19 +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
Hugo Pereira Da Costa d4344b7bba added the possibility to hide decoration 'titlebar', but not decoration 'border' in window-specific override rules
svn path=/trunk/KDE/kdebase/workspace/; revision=1046005
2009-11-07 03:33:53 +00:00
Script Kiddy 1c3b61f6b1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1045140

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-11-05 11:41:16 +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
Script Kiddy 4fdcd13d9f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1043345

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-11-01 10:58:35 +00:00
Laurent Montel 966c616f34 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1043304
2009-11-01 10:24:33 +00:00
Lucas Murray a6e68a5f6f Revert failed Krazy changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1043205
2009-11-01 03:36:38 +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
Hugo Pereira Da Costa 23493a6dee used radiobuttons in place of checkboxes for windo property
svn path=/trunk/KDE/kdebase/workspace/; revision=1042933
2009-10-31 05:33:00 +00:00
Hugo Pereira Da Costa cbdda06f1d fixed incorrect header
svn path=/trunk/KDE/kdebase/workspace/; revision=1042930
2009-10-31 04:36:42 +00:00
Hugo Pereira Da Costa 83c5c770fa used UI for main config dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=1042928
2009-10-31 04:25:38 +00:00
Hugo Pereira Da Costa cc91de00aa used UI for exceptionListWidget
svn path=/trunk/KDE/kdebase/workspace/; revision=1042922
2009-10-31 03:54:11 +00:00
Hugo Pereira Da Costa 5d2b90f5d4 use UI file for shadowConfiguration
svn path=/trunk/KDE/kdebase/workspace/; revision=1042919
2009-10-31 03:16:51 +00:00
Hugo Pereira Da Costa 326407d993 use UI for exception dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=1042918
2009-10-31 02:46:37 +00:00
Script Kiddy 1c1ad9f8b9 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1042618

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-10-30 10:46:47 +00:00
Lucas Murray 424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Lucas Murray 8a8428e41c Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042572
2009-10-30 06:51:59 +00:00
Laurent Montel 5d854c7237 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1042106
2009-10-29 08:04:36 +00:00
Hugo Pereira Da Costa af01b788dc used ui file for detectWidget
svn path=/trunk/KDE/kdebase/workspace/; revision=1042063
2009-10-29 02:55:41 +00:00
Hugo Pereira Da Costa 3e5959d829 fixed filename in comment header
svn path=/trunk/KDE/kdebase/workspace/; revision=1042062
2009-10-29 02:54:06 +00:00
Hugo Pereira Da Costa 4a31a25b40 removed useless oxygen/CVS tags
svn path=/trunk/KDE/kdebase/workspace/; revision=1042061
2009-10-29 02:53:29 +00:00
Script Kiddy 5190783741 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1041062
2009-10-27 10:39:38 +00:00
Script Kiddy 06f0926588 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1040026
2009-10-25 10:53:46 +00:00
Script Kiddy 65e9a53e9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1039655
2009-10-24 09:04:05 +00:00
Script Kiddy 8d600884ee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1037926
2009-10-20 09:35:54 +00:00
Hugo Pereira Da Costa d3f6aca4ee re-enabled sizeGrip in preview mode, with correct handling of parent windowID
svn path=/trunk/KDE/kdebase/workspace/; revision=1037767
2009-10-19 22:51:31 +00:00
Hugo Pereira Da Costa 393b37e211 temporarily disabled painting of size grip in preview widget, cause it crashes systemsettings randomly - due to X11 hack
svn path=/trunk/KDE/kdebase/workspace/; revision=1037743
2009-10-19 21:35:38 +00:00
Hugo Pereira Da Costa 60bf914cee fixed bug on shadow rendering when size < 5 - in which case only the round corner should be rendered
svn path=/trunk/KDE/kdebase/workspace/; revision=1037681
2009-10-19 19:43:59 +00:00
Script Kiddy f7c3b99ac0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1037463

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-10-19 09:38:03 +00:00
Hugo Pereira Da Costa 64b80fc1fe Fixed background role for button icon. CCBUG: 156518
svn path=/trunk/KDE/kdebase/workspace/; revision=1037374
2009-10-18 21:14:40 +00:00
Script Kiddy 7e2917761e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1036506

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

M	wallpapers/Air/metadata.desktop
2009-10-17 10:54:18 +00:00
Hugo Pereira Da Costa f761aceb8b removed background window rendering from button paintEvent, as transparent background is good enough. Moved all corresponding method in oxygenClient to 'protected'. This allows faster repaint.
svn path=/trunk/KDE/kdebase/workspace/; revision=1036357
2009-10-17 06:57:17 +00:00
Hugo Pereira Da Costa 2d88428b6d removed 'x11util'. Use kdecoration API instead
svn path=/trunk/KDE/kdebase/workspace/; revision=1036345
2009-10-17 03:56:04 +00:00
Hugo Pereira Da Costa 4e1fd9e494 Do not create sizeGrip as a child of KDecoration::Widget since it is reparented. That allows one not to make it a Qt::ToolTip (which for some reason makes kwin use 100% cpu), and prevents it to be registered by paintRedirector
svn path=/trunk/KDE/kdebase/workspace/; revision=1036320
2009-10-17 00:18:40 +00:00
Hugo Pereira Da Costa 07cab1bae9 optimized painting in outline mode (by avoiding unnecessary painting over) and added contrast pixel between window body and outlined border
svn path=/trunk/KDE/kdebase/workspace/; revision=1036214
2009-10-16 20:27:43 +00:00
Hugo Pereira Da Costa c2706aa181 set Qt::ToolTip flag for QSizeGrip, so that it gets hidden to paintRedirector
svn path=/trunk/KDE/kdebase/workspace/; revision=1036155
2009-10-16 18:01:01 +00:00
Hugo Pereira Da Costa 444427464b removed useless kdebug messages
svn path=/trunk/KDE/kdebase/workspace/; revision=1036118
2009-10-16 16:32:51 +00:00
Hugo Pereira Da Costa 88cfb2df63 changed back 'setDirty' method into 'update' method. kwin/paintRedirector should be fixed though, so that buttons created after the deco is registered for redirection are properly accounted for
svn path=/trunk/KDE/kdebase/workspace/; revision=1036114
2009-10-16 16:25:02 +00:00
Script Kiddy d05ff926f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1036004

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-10-16 09:46:18 +00:00
Hugo Pereira Da Costa c0c3189ef2 simplified color handling in renderFloatFrame
svn path=/trunk/KDE/kdebase/workspace/; revision=1035784
2009-10-15 20:59:24 +00:00
Hugo Pereira Da Costa 5286a2f849 fixed colors to use oxygenHelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
2009-10-15 17:47:55 +00:00
Hugo Pereira Da Costa e26538e368 port design changes from tabbing branch to trunk: new title outline design; simplification of layout metrics; proper handling of text ellision; simplification of shadow cache; addition of to local button types. In oxygen.h also temporarily added missing enumeration to ease compilation against kde4.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1035658
2009-10-15 16:03:30 +00:00
Hugo Pereira Da Costa 253892d5dd More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035245
2009-10-14 15:36:38 +00:00
Hugo Pereira Da Costa e748b5244b More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035241
2009-10-14 15:36:08 +00:00
Hugo Pereira Da Costa f898d1193f more cleanup. Made sure methods are declared and implemented in the same order (blush)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035206
2009-10-14 14:37:58 +00:00
Hugo Pereira Da Costa 01ae18d6a7 moved dots and float frame rendering to separate methods (for clean-up and to make merging with tab branch easier)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035200
2009-10-14 14:28:37 +00:00
Script Kiddy 69044acd66 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035097
2009-10-14 10:18:37 +00:00
Hugo Pereira Da Costa cef60f90cb removed useless colorCacheInvalid_ member
svn path=/trunk/KDE/kdebase/workspace/; revision=1034964
2009-10-14 02:55:40 +00:00
Hugo Pereira Da Costa bd80aaceb1 fixed very stupid bug that would prevent to add new exceptions to the list
svn path=/trunk/KDE/kdebase/workspace/; revision=1034958
2009-10-14 01:24:09 +00:00
Hugo Pereira Da Costa 9044453b35 fixed (tiny) glitch for bottom corners in 'no side border' mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
2009-10-13 23:21:34 +00:00
Script Kiddy e86e8589d6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034714
2009-10-13 10:28:35 +00:00
Hugo Pereira Da Costa 7d7d986428 fixed vertical translation of buttons and title when compositing is disabled; Added an extra pixel to borderTiny when compositing is disabled (otherwise one can't draw the resize 'dots' due to the float frame; and used helper::roundedMask and helper::rounderRegion to minimize code duplication with style
svn path=/trunk/KDE/kdebase/workspace/; revision=1034562
2009-10-13 03:38:26 +00:00
Hugo Pereira Da Costa 7f6ff0dd02 removed usage of static global variables (static is bad afaik). Everything is controled by the factory.
svn path=/trunk/KDE/kdebase/workspace/; revision=1034554
2009-10-13 01:45:01 +00:00
Script Kiddy fa4daf121d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034249
2009-10-12 09:41:23 +00:00
Hugo Pereira Da Costa c5641a3827 modified activeChange animation so that it seems to start earlier (e.g. with first step being a non-zero fraction of the final glow)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034229
2009-10-12 07:26:07 +00:00
Hugo Pereira Da Costa 3c3d093d2b set local reference to client as const. Safer
svn path=/trunk/KDE/kdebase/workspace/; revision=1034053
2009-10-11 20:30:38 +00:00
Hugo Pereira Da Costa d736178bb5 fixed drawFloatFrame issue in titleoutline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034042
2009-10-11 20:00:14 +00:00
Hugo Pereira Da Costa 00e9cbd9a9 changed 'default' button size from 22 to 20
svn path=/trunk/KDE/kdebase/workspace/; revision=1034014
2009-10-11 19:03:47 +00:00
Hugo Pereira Da Costa 7bfdee649b changed default glow configuration to have larger glow and lighter colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1034011
2009-10-11 19:02:39 +00:00
Hugo Pereira Da Costa d614414bac removed color overwrite for checked sticky button: it conflicts with icon contrast pixel
svn path=/trunk/KDE/kdebase/workspace/; revision=1034010
2009-10-11 19:01:07 +00:00
Hugo Pereira Da Costa a528f0e7ac made 'on all desktops' button appear 'pressed' when checked, to be more visible
svn path=/trunk/KDE/kdebase/workspace/; revision=1034009
2009-10-11 18:56:30 +00:00
Hugo Pereira Da Costa 09364cdac0 removed unnecessary block braces
svn path=/trunk/KDE/kdebase/workspace/; revision=1033971
2009-10-11 17:13:50 +00:00
Hugo Pereira Da Costa 3d531bf4b2 redesign active window glow following Nuno's SVG; Changed default shadow parameters accordingly; and Changed scale of shadowSize in config dialog to physical scale.
svn path=/trunk/KDE/kdebase/workspace/; revision=1033963
2009-10-11 17:10:08 +00:00
Script Kiddy c23a330748 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1033824
2009-10-11 09:42:08 +00:00
Script Kiddy 2932f23cef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1033592
2009-10-10 14:25:38 +00:00
Andrew Coles bc10bae07e More proof-reading in recent strings (have been out the loop for a while).
svn path=/trunk/KDE/kdebase/workspace/; revision=1033231
2009-10-09 19:15:18 +00:00
Andrew Coles 8365bbb46e A few typos in recent(ish) additions to the kdebase strings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1033225
2009-10-09 18:53:43 +00:00
Script Kiddy 898d5533d2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1033020

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-10-09 09:27:45 +00:00
Hugo Pereira Da Costa 3a155c8f8c do not translate buttons up for maximized windows, because it collides with screen border otherwise
svn path=/trunk/KDE/kdebase/workspace/; revision=1032967
2009-10-09 00:26:57 +00:00
Hugo Pereira Da Costa 458ded5de1 moved title and buttons one pixel up, adjusted title outline and window border (in outline mode) accordingly. Also added a 'shadow' pixel on the sides and at the bottom of the active window border outline, and removed an unnecessary 'if( true )'.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032966
2009-10-09 00:19:32 +00:00
Hugo Pereira Da Costa 90f10f219a implemented new buttons (from nuno)
svn path=/trunk/KDE/kdebase/workspace/; revision=1032950
2009-10-08 23:01:35 +00:00
Hugo Pereira Da Costa a6db3e0b09 more subtle changes to drawFloatFrame
svn path=/trunk/KDE/kdebase/workspace/; revision=1032457
2009-10-07 21:24:23 +00:00
Hugo Pereira Da Costa 6532a7445c re-enabled shadow transitions (disabled due to a bug in logics)
svn path=/trunk/KDE/kdebase/workspace/; revision=1032348
2009-10-07 15:38:18 +00:00
Hugo Pereira Da Costa 5fdf18e65f readded '-1' pixel offset; reverted to old CMakeList.txt; removed unecessary ifdef in oxygen.h (should not have been commited in the first place.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032315
2009-10-07 14:26:52 +00:00
Hugo Pereira Da Costa f957a7b7cd fixed drawFloatFrame for shaded maximized windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1032310
2009-10-07 14:23:14 +00:00
Hugo Pereira Da Costa 388d2c8b16 uses small size QRect for floatframe in no-side-border and no-border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1032145
2009-10-07 01:52:36 +00:00
Hugo Pereira Da Costa ee9a1c1e0a re-added the 1 pixel contrast on the top and sides of the titlebar, for 'no-border' and 'no-side-border' window border sizes. This requires svn external update of lib/helper.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032139
2009-10-07 00:54:15 +00:00
Burkhard Lück 4d4c8d91e7 typo fix reported by marce <mvillarino@gmail.com> on kde-i18n-doc
svn path=/trunk/KDE/kdebase/workspace/; revision=1032056
2009-10-06 18:44:40 +00:00
Hugo Pereira Da Costa 967720ecbe fixed regression concerning title vertical alignment
svn path=/trunk/KDE/kdebase/workspace/; revision=1031812
2009-10-06 07:33:44 +00:00
Hugo Pereira Da Costa 8df96b21ba removed unused light/dark colors; moved painter translation before drawing of menu icon for consistency with other buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1031800
2009-10-06 06:36:52 +00:00
Hugo Pereira Da Costa 36e2deba85 fixed upper/lower case mismatch
svn path=/trunk/KDE/kdebase/workspace/; revision=1031797
2009-10-06 05:40:12 +00:00
Hugo Pereira Da Costa 3e7a0f9fce fixed bug on title alignment when left/right centered, and put titleRect calculation in separate method for clean-up
svn path=/trunk/KDE/kdebase/workspace/; revision=1031796
2009-10-06 05:35:24 +00:00
Lucas Murray 3fd898cbf7 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031445
2009-10-05 07:58:12 +00:00
Lucas Murray 8cbce93613 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Hugo Pereira Da Costa e03269be68 moved title text bounding rect calculation to separate dedicated method
svn path=/trunk/KDE/kdebase/workspace/; revision=1031121
2009-10-04 01:36:14 +00:00
Hugo Pereira Da Costa e7cdbe7e0d added 'use animations' and 'animations duration' to configuration (although not shown in configuration dialog). added smooth fading of window title when changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1030276
2009-10-02 02:52:41 +00:00
Hugo Pereira Da Costa 67f1fa6451 removed useless kdebug
svn path=/trunk/KDE/kdebase/workspace/; revision=1030275
2009-10-02 02:49:31 +00:00
Script Kiddy bd52c92b98 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1029577

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-09-30 09:40:28 +00:00
Hugo Pereira Da Costa 3856909aab fixed bug with shaded|maximized window and sizeGrip (reported on kde-look)
svn path=/trunk/KDE/kdebase/workspace/; revision=1028753
2009-09-28 05:04:23 +00:00
Hugo Pereira Da Costa 89453d5147 removed use of QPainter::setOpacity to render transitions. This makes the code faster
svn path=/trunk/KDE/kdebase/workspace/; revision=1028374
2009-09-26 21:21:39 +00:00
Hugo Pereira Da Costa edf8167f3c improved animated transition in title-outline mode, by using mixed color rather than painter opacity
svn path=/trunk/KDE/kdebase/workspace/; revision=1028173
2009-09-26 04:57:27 +00:00
Hugo Pereira Da Costa 4e0f2a4d08 code cleanup: moved singletons from oxigenclient.cpp to oxygen.cpp; added relevant prototypes to oxygen.h and removed from .cpp files
svn path=/trunk/KDE/kdebase/workspace/; revision=1028170
2009-09-26 04:23:27 +00:00
Hugo Pereira Da Costa 01e5f22553 fixed (harmless) compilation warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
2009-09-23 22:53:01 +00:00
Hugo Pereira Da Costa 955f04ae8e simplified x11util::isSupported( Atom ) code, needed for the size grip, so that it calls XGetWindowProperty only once, in a way that is similar to what netwm.cpp does.
svn path=/trunk/KDE/kdebase/workspace/; revision=1027369
2009-09-23 22:44:35 +00:00
Laurent Montel fee588cf10 Warning--
svn path=/trunk/KDE/kdebase/workspace/; revision=1026431
2009-09-21 19:55:24 +00:00
Hugo Pereira Da Costa aedaa73dc4 Fixed painting of maximized shaded window to show bottom border and shadow.
BUG: 207926 


svn path=/trunk/KDE/kdebase/workspace/; revision=1026061
2009-09-20 17:51:06 +00:00
Script Kiddy 272e68f224 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025950

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

M	wallpapers/Evening/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-09-20 09:21:30 +00:00
Hugo Pereira Da Costa b4f63cb440 fixed Qt headers; removed WX11 defines; removed 'using namespace std'
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
2009-09-20 07:42:03 +00:00
Hugo Pereira Da Costa 81174a9301 oops. Missing parenthesis
svn path=/trunk/KDE/kdebase/workspace/; revision=1025936
2009-09-20 06:54:09 +00:00
Hugo Pereira Da Costa 38a10045bc More shadow issues fixed: removed unnecessary clipping. Fixed "square" corners when non-zero offsets. Fixed corner
bevel to handle rounding errors. 

svn path=/trunk/KDE/kdebase/workspace/; revision=1025935
2009-09-20 06:50:42 +00:00
Hugo Pereira Da Costa f5945d0bbb oops. Fixed one glitch when using very-large shadows
svn path=/trunk/KDE/kdebase/workspace/; revision=1025902
2009-09-20 00:56:52 +00:00
Hugo Pereira Da Costa 2968cb9ce8 More work on shadows. This time both active and inactive shadows should be handled right for
borderless windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025901
2009-09-20 00:50:33 +00:00
Hugo Pereira Da Costa 99c012ab33 Changed inactive button shape to match active button; moved more methods inline; added smooth transition between active and inactive button
svn path=/trunk/KDE/kdebase/workspace/; revision=1025846
2009-09-19 21:12:57 +00:00
Hugo Pereira Da Costa d581847b47 always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1025845
2009-09-19 21:11:28 +00:00
Hugo Pereira Da Costa 8c6b8cde28 always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1025844
2009-09-19 21:10:15 +00:00
Hugo Pereira Da Costa 1852c87178 invalidate shadow caches when color-scheme is changed. This fixes some issues with corner bevel
svn path=/trunk/KDE/kdebase/workspace/; revision=1025835
2009-09-19 20:32:23 +00:00
Hugo Pereira Da Costa 52daec1668 re-added 'index' setting for animated shadow (oops)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025569
2009-09-19 06:05:43 +00:00
Hugo Pereira Da Costa 9f4eea2a5f moved all hash key inline; fixed glow for borderless windows; improved corner bevel
svn path=/trunk/KDE/kdebase/workspace/; revision=1025568
2009-09-19 05:51:31 +00:00
Hugo Pereira Da Costa bc7425512a added necessary additional bit to cache hash key for frameBorder, and relevant enum (in place of bool), accordingly. Also used ::Key to get shadow rather than Client, to make sure this does not happen again, and moved 'simpleShadowPixmap' to public.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025527
2009-09-18 23:55:18 +00:00
Hugo Pereira Da Costa c955d16574 added smooth transition for title bar text color when switching between active and inactive state (previously available for 'outline' mode only)
svn path=/trunk/KDE/kdebase/workspace/; revision=1025447
2009-09-18 19:47:53 +00:00
Hugo Pereira Da Costa 29cfa52c0a disabled glow animation when a button is pressed -e.g. with right click, released, then left, because it was causing a glitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025378
2009-09-18 15:03:59 +00:00
Hugo Pereira Da Costa 40ab147f81 moved more functions inline and use reference to pass configuration around.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025142
2009-09-18 06:54:42 +00:00
Hugo Pereira Da Costa ac90c3aef5 added missing flags to decide whether or not active/inactive transition should be animated
svn path=/trunk/KDE/kdebase/workspace/; revision=1025117
2009-09-18 02:20:43 +00:00
Hugo Pereira Da Costa 635c93bc5b Added smooth transition between active and inactive state. This affects (when enabled) the window shadow,
the horizontal separator line, the titlebar text color and the title+border window outline. 


svn path=/trunk/KDE/kdebase/workspace/; revision=1025111
2009-09-18 01:32:27 +00:00
Hugo Pereira Da Costa 7813c45245 simplified button animation code
svn path=/trunk/KDE/kdebase/workspace/; revision=1025073
2009-09-17 23:08:49 +00:00
Hugo Pereira Da Costa 9eec5543bf Moved all shadow handling into global cache oxygenShadowCache. This allows to share same
shadow tilesets between clients, thus reducing the memory usage; to simplify the oxygenclient
class; and leave room for optimizing active/inactive shadow transitions. The global class is
declared using K_GLOBAL_STATIC_WITH_ARGS.

Also cleaned-up unnecessary headers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025063
2009-09-17 22:40:06 +00:00
Hugo Pereira Da Costa d58e7b7812 fixed (again) issue with shadow and mask for 'no-border' shaded windows, to cope with commit r1023615
svn path=/trunk/KDE/kdebase/workspace/; revision=1024918
2009-09-17 15:24:44 +00:00
Script Kiddy c2049a9875 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024781

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/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/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-09-17 09:29:41 +00:00
Lucas Murray 02909b5713 Make the default decoration settings even awesomer. Center aligned title
and no separator line.

svn path=/trunk/KDE/kdebase/workspace/; revision=1024689
2009-09-17 08:16:46 +00:00
Hugo Pereira Da Costa c5c7cd79d6 used OxygenShadowConfigration rather than shadowTileOption to detect if shadowTiles are to be recreated, because the latter was both incomplete and redundant with the former.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024657
2009-09-17 05:07:43 +00:00
Hugo Pereira Da Costa 2f5512e00e put equal to operator inline, and fixed logic in order to disable check on outerColor, if the latter is not used
svn path=/trunk/KDE/kdebase/workspace/; revision=1024656
2009-09-17 05:05:45 +00:00
Hugo Pereira Da Costa 1495f281c2 fixed animation glitch when leaving button while pressed
svn path=/trunk/KDE/kdebase/workspace/; revision=1024652
2009-09-17 04:23:38 +00:00
Hugo Pereira Da Costa 45f5f00f9f Removed oxygentimeline (was not working). Use qtimeline directly, to handle animations. It is simpler, and it is actually working. Also changed 'repaint' into 'update' for the slot connected to the timeLine FrameChanged signal. More efficient.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024648
2009-09-17 03:43:55 +00:00
Andreas Kling ae06efee25 Fixed the vertical alignment of window titles.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024514
2009-09-16 18:36:55 +00:00
Hugo Pereira Da Costa 45717eeae9 Fixed glitch between glow pixmap and icon color when animating glow
svn path=/trunk/KDE/kdebase/workspace/; revision=1024491
2009-09-16 17:16:55 +00:00
Hugo Pereira Da Costa e679d07b93 Added animated button glow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024489
2009-09-16 17:09:33 +00:00
Script Kiddy f28d0ef21e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024263

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

M	wallpapers/Evening/metadata.desktop
2009-09-16 09:54:02 +00:00
Hugo Pereira Da Costa 363986a030 fixed Krazy stuff (headers, K classes in place of Q classes, and use of pointers to modal dialogs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024127
2009-09-16 06:09:31 +00:00
Hugo Pereira Da Costa 1a0eb644f1 Fixed shadow description to 1/ better match old oxygen and ozone default shadow (when using default settings) 2/ avoid 'transparent' line around window when shadow is too small 3/ avoid flatness of inner shadow when shadow is too large. Also made vertical (and horizontal) offsets scale with shadow size, to keep top over bottom shadow size ratio constant.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024115
2009-09-16 03:19:36 +00:00
Hugo Pereira Da Costa 8244e7644f Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00
Hugo Pereira Da Costa 8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Hugo Pereira Da Costa c7f4edf5e1 Removed oxygen decoration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023633
2009-09-15 05:36:30 +00:00
Hugo Pereira Da Costa a614c6fa55 fixed (again) corner bevel scaling. Disabled bevel of bottom corners in 'no-border' mode; and fixed glow gradient to implement offsets
svn path=/trunk/KDE/kdebase/workspace/; revision=1023615
2009-09-15 02:16:31 +00:00
Hugo Pereira Da Costa d9e1f47050 fixed 'scaling' issue when drawing beveled corners
svn path=/trunk/KDE/kdebase/workspace/; revision=1023612
2009-09-15 01:43:18 +00:00
Hugo Pereira Da Costa 072ffcc405 try rationalize 'window-specifics' dialog text
svn path=/trunk/KDE/kdebase/workspace/; revision=1023600
2009-09-15 00:58:51 +00:00
Hugo Pereira Da Costa be7affcaab fixed class members naming convention
svn path=/trunk/KDE/kdebase/workspace/; revision=1023570
2009-09-14 23:10:19 +00:00
Andreas Hartmetz 37ec3b56af fix the build. however it is *very* unclear what colorGroup[()?] actually is. two suggestion would be using naming conventions like m_* to mark member variables and not to be too clever with namespaces.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023561
2009-09-14 22:36:29 +00:00
Hugo Pereira Da Costa f6973ae9dd added support for fully configurable shadows, on agreement with Nuno.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023467
2009-09-14 19:21:39 +00:00
Hugo Pereira Da Costa cb7e8d9644 added button to detect properties (title and class) from window under mouse to build window-specifics override. Also removed unnecessary setMargin and setSpacing to use KDE/QT defaults in dialog design
svn path=/trunk/KDE/kdebase/workspace/; revision=1022971
2009-09-13 16:43:26 +00:00
Robin Harold Burchell a1e6118f15 Make hitting buttons when maximized easier.
Reported and patched by Charles Huber.

CCBUG: 143851

svn path=/trunk/KDE/kdebase/workspace/; revision=1022908
2009-09-13 13:57:33 +00:00
Matthew Woehlke 35453d1e5b Minor improvements to tab names/tooltips.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022034
2009-09-10 16:05:14 +00:00
Hugo Pereira Da Costa 2a9b681f34 added reimp 'reset' method to update mask when compositing state is changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021804
2009-09-10 05:13:25 +00:00
Hugo Pereira Da Costa 2371de7ac2 removed from relic code from kde-look times, that 1/ was intended to work with compiz 2/ is useless with kwin 3/ is obsoleted by compiz0.8.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1021691
2009-09-09 20:11:05 +00:00
Hugo Pereira Da Costa 2fcb5767d5 removed unused variables
svn path=/trunk/KDE/kdebase/workspace/; revision=1021627
2009-09-09 17:14:23 +00:00
Hugo Pereira Da Costa c519c41c9f further simplified ::renderWindowBorder, to use ::renderWindowBackground consistently
svn path=/trunk/KDE/kdebase/workspace/; revision=1021621
2009-09-09 17:02:07 +00:00
Hugo Pereira Da Costa 9e1f8372d1 use correct palette for rendering window border
svn path=/trunk/KDE/kdebase/workspace/; revision=1021620
2009-09-09 17:00:50 +00:00
Hugo Pereira Da Costa 4e60677a84 moved backgroundPalette to public (for use by nitrogenbutton)
svn path=/trunk/KDE/kdebase/workspace/; revision=1021619
2009-09-09 17:00:13 +00:00
Hugo Pereira Da Costa 60e95cc624 Used nitrogenclient::renderWindowBackground in place of helper::renderWindowBackground everywhere to honor 'solid color' in title outline. Removed useless white spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021600
2009-09-09 16:28:01 +00:00
Hugo Pereira Da Costa c66c2f05e5 added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021438
2009-09-09 07:40:07 +00:00
Hugo Pereira Da Costa 3fde3f12f4 added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021437
2009-09-09 07:39:16 +00:00
Hugo Pereira Da Costa 4208b2bf54 removed extra spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021413
2009-09-09 06:22:42 +00:00
Hugo Pereira Da Costa d403b12336 added proper handling of translation
svn path=/trunk/KDE/kdebase/workspace/; revision=1021412
2009-09-09 06:22:06 +00:00
Hugo Pereira Da Costa b2c993dc3e added i18n to tab names
svn path=/trunk/KDE/kdebase/workspace/; revision=1021411
2009-09-09 06:20:57 +00:00
Hugo Pereira Da Costa ea7eb137e8 handle translation flag properly for exception definition
svn path=/trunk/KDE/kdebase/workspace/; revision=1021410
2009-09-09 06:20:06 +00:00
Hugo Pereira Da Costa 05f86c92fb removed extra space :)
svn path=/trunk/KDE/kdebase/workspace/; revision=1021409
2009-09-09 06:19:26 +00:00
Hugo Pereira Da Costa 4dc99945a7 fixed handling of translation flag
svn path=/trunk/KDE/kdebase/workspace/; revision=1021407
2009-09-09 06:17:48 +00:00
Hugo Pereira Da Costa a092867fe5 added proper flags to handle translations without breaking rc file
svn path=/trunk/KDE/kdebase/workspace/; revision=1021406
2009-09-09 06:14:01 +00:00
Matthew Woehlke af15bebbdd mass whitespace cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=1021371
2009-09-09 00:55:55 +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
Hugo Pereira Da Costa 4fa4dbd740 removed unused 'active' parameter do ::shadowPixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=1021077
2009-09-08 00:51:26 +00:00
Hugo Pereira Da Costa d982b5060c removed unused 'active' parameter do ::shadowPixmap; added Qt::insertClip when necessary to honour paintEvent clip
svn path=/trunk/KDE/kdebase/workspace/; revision=1021076
2009-09-08 00:50:22 +00:00
Hugo Pereira Da Costa 51849696d1 changed variables initialization order to avoid compiler warning
svn path=/trunk/KDE/kdebase/workspace/; revision=1021075
2009-09-08 00:48:39 +00:00
Hugo Pereira Da Costa 1de5b831bd initialize titleOutline at startup
svn path=/trunk/KDE/kdebase/workspace/; revision=1021053
2009-09-07 22:43:17 +00:00
Hugo Pereira Da Costa 5a2f9d5319 moved 'outline title' and 'draw separator' from general to advanced tab (suggested by Lucas, and I think it would make Nuno happy, and I like it). Also moved interlock between 'title highlight' and 'draw separator' from config to nitrogenconfigurationui
svn path=/trunk/KDE/kdebase/workspace/; revision=1020968
2009-09-07 18:23:18 +00:00
Hugo Pereira Da Costa e9de48ff50 moved interlock between 'title highlight' and 'draw separator' from config to nitrogenconfigurationui
svn path=/trunk/KDE/kdebase/workspace/; revision=1020967
2009-09-07 18:20:17 +00:00
Hugo Pereira Da Costa fe6b5e2087 set size grip visibility immediatly after created, rather than in reset-configuration (was causing a crash with compiz because of not testing 'hasSizeGrip')
svn path=/trunk/KDE/kdebase/workspace/; revision=1020954
2009-09-07 17:41:42 +00:00
Hugo Pereira Da Costa 3455dda8d5 used inline functions to get decisions that combine multiple options and window state
svn path=/trunk/KDE/kdebase/workspace/; revision=1020951
2009-09-07 17:26:56 +00:00
Hugo Pereira Da Costa 8f72704c20 Clean-up: removed all code mentionning stripes/scrathces
svn path=/trunk/KDE/kdebase/workspace/; revision=1020945
2009-09-07 17:06:20 +00:00
Hugo Pereira Da Costa fe0f06dfe1 added extrap pixel to painter clipRect when no-border is selected. Moved shadow pixmap generation (needed for shadow tileSets) to a different method. Build more complex tileSet in ::shadowTiles, needed to get the corner colors right when compositing is ON + frameBorder is None + title highlight is ON + window is shaded.
svn path=/trunk/KDE/kdebase/workspace/; revision=1020709
2009-09-07 06:59:38 +00:00
Hugo Pereira Da Costa f439166398 added separated function to get pixmap needed for the shadow tileSet.
svn path=/trunk/KDE/kdebase/workspace/; revision=1020708
2009-09-07 06:53:13 +00:00
Hugo Pereira Da Costa 904dc1341e update size grip visibility depending on window state when resetting configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1020705
2009-09-07 05:50:48 +00:00
Hugo Pereira Da Costa 24bf0526cd .. and removed extra 'new tileset' left-over from previous commit to r1020690
svn path=/trunk/KDE/kdebase/workspace/; revision=1020691
2009-09-07 02:32:34 +00:00
Hugo Pereira Da Costa 8c9049e425 re-organized ::shadowtiles code to 1/ fix bug on storing created tiles 2/ avoid duplicated code. 3/ handle options properly to store active and inactive shadowTiles.
svn path=/trunk/KDE/kdebase/workspace/; revision=1020690
2009-09-07 02:26:37 +00:00
Hugo Pereira Da Costa 6eb3f0ef51 removed ugly std::cout
svn path=/trunk/KDE/kdebase/workspace/; revision=1020678
2009-09-06 23:33:51 +00:00
Hugo Pereira Da Costa 58babc5c03 used KDebug in place of QTextStream for debug output
svn path=/trunk/KDE/kdebase/workspace/; revision=1020676
2009-09-06 23:32:41 +00:00
Hugo Pereira Da Costa 191a3dd8db disabled autoFillBackground for central QLabel in preview mode, to have the correct window background painted. Remark: this is a minor (and safe) hack. This should be moved upstream into kwin/lib/kdecoration
svn path=/trunk/KDE/kdebase/workspace/; revision=1020608
2009-09-06 18:29:57 +00:00
Hugo Pereira Da Costa 688fe7beff Fixed calls renderWindowBackground so that gradients appear at the right place in decoration preview. Also removed 'const_cast<>' in ::renderWindowBorder
svn path=/trunk/KDE/kdebase/workspace/; revision=1020604
2009-09-06 18:04:11 +00:00
Hugo Pereira Da Costa 786a000d49 apply additional horizontal button offset only in 'Full' maximized mode, and when maximized window are not move/resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=1020596
2009-09-06 17:41:34 +00:00
Hugo Pereira Da Costa fafaf8bf9e apply additional horizontal button offset only in 'Full' maximized mode, and when maximized window are not move/resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=1020594
2009-09-06 17:38:33 +00:00
Hugo Pereira Da Costa 0a894ef032 capitalized ::visibleName()
svn path=/trunk/KDE/kdebase/workspace/; revision=1020319
2009-09-06 07:21:23 +00:00
Hugo Pereira Da Costa 0d6a13a62f don't show resize 'dots' in shaded mode. Round all four corners in shaded mode, even when 'no border' option is selected
svn path=/trunk/KDE/kdebase/workspace/; revision=1020251
2009-09-05 20:04:17 +00:00
Hugo Pereira Da Costa c4cd3a4153 hide size-grip (in no-border mode) when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=1020224
2009-09-05 17:17:57 +00:00
Hugo Pereira Da Costa f5046aef58 added spacer in 'advanced' tab in order to pack widgets
svn path=/trunk/KDE/kdebase/workspace/; revision=1020016
2009-09-05 03:14:36 +00:00
Hugo Pereira Da Costa f100fb0537 fixed LM_TitleEdgeTop so that it is always zero for maximized windows, in order to respect Fitts law
svn path=/trunk/KDE/kdebase/workspace/; revision=1020015
2009-09-05 03:12:26 +00:00
Hugo Pereira Da Costa 8c826845e8 restored CMakeList.txt from r1015116, used to compile nitrogen inside kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=1020013
2009-09-05 02:36:32 +00:00
Hugo Pereira Da Costa a4b45bc7c1 use ColorTitleBar for drawing only if window is active and titleOutline is selected. Use oxygen window colors for all other cases.
svn path=/trunk/KDE/kdebase/workspace/; revision=1019984
2009-09-04 22:57:37 +00:00
Hugo Pereira Da Costa b8a3b8801f made size grip smaller, so that it does not collide with the 'apply' button of the systemsettings window, which is the first thing you see when you enable the size grip
svn path=/trunk/KDE/kdebase/workspace/; revision=1019981
2009-09-04 22:49:27 +00:00
Hugo Pereira Da Costa 7b43894da0 removed 'Always draw sizeGrip' option as it is both buggy and not really needed (no sense having non-zero border + size grip)
svn path=/trunk/KDE/kdebase/workspace/; revision=1019943
2009-09-04 20:46:37 +00:00
Hugo Pereira Da Costa 624939fd60 moved back drawSeparator option to 'basic' tab since it is interlocked with the 'outline active window title' option
svn path=/trunk/KDE/kdebase/workspace/; revision=1019932
2009-09-04 20:01:51 +00:00
Hugo Pereira Da Costa 41d3887d13 disable drawSeparator when title outline is selected
svn path=/trunk/KDE/kdebase/workspace/; revision=1019931
2009-09-04 19:59:21 +00:00
Hugo Pereira Da Costa 8fc23d30fa fixed top highlight drop-down shadow in no-border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1019927
2009-09-04 19:51:16 +00:00
Hugo Pereira Da Costa ef584a973a disabled active window border in maximized mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1019925
2009-09-04 19:46:39 +00:00
Hugo Pereira Da Costa 06a7b24b8b renamed widgets so that they match nitrogenconfigurationui widget names; changed overwritecolors into titleoutline and changed layout
svn path=/trunk/KDE/kdebase/workspace/; revision=1019909
2009-09-04 19:10:47 +00:00
Hugo Pereira Da Costa d0f3b6251c Redesigned comfiguration window. Removed show-strip options. Renamed 'blend title bar colors ...' into 'outline active window title' (need polish), and moved it to basic configuration; Moved 'draw separator' to advanced tab; and renamed tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=1019908
2009-09-04 19:09:23 +00:00
Hugo Pereira Da Costa 098c37d1a5 OverwriteColors -> titleOutline; disable the 'draw separator' option when titleOutline is selected
svn path=/trunk/KDE/kdebase/workspace/; revision=1019907
2009-09-04 19:05:56 +00:00
Hugo Pereira Da Costa 36c29f5617 OverwriteColors -> titleOutline
svn path=/trunk/KDE/kdebase/workspace/; revision=1019906
2009-09-04 19:04:14 +00:00
Hugo Pereira Da Costa 702590d3f9 added comments, as well as HFRAMESIZE, corresponding to the active window highlighted border width
svn path=/trunk/KDE/kdebase/workspace/; revision=1019905
2009-09-04 19:03:32 +00:00
Hugo Pereira Da Costa d8a32e4930 overwritecolors -> drawTitleOutline. Also temporarily disabled the 'draw scratch option'. Will permanently remove it in near future
svn path=/trunk/KDE/kdebase/workspace/; revision=1019904
2009-09-04 19:02:20 +00:00
Hugo Pereira Da Costa f586bf760a OverwriteColors -> TitleOutline; use nitrogenclient::renderWindowBorder as a replacement for the ozone blue border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1019902
2009-09-04 19:00:04 +00:00
Hugo Pereira Da Costa 06acf4cc37 OverwriteColors -> TitleOutline; added ::renderWindowBorder and ::renderTitleHighlight, as a replacement for the ozone blue border. Changed ShadowTilesOption into a class to initialize variables right, and make comparison operator
svn path=/trunk/KDE/kdebase/workspace/; revision=1019901
2009-09-04 18:58:40 +00:00
Hugo Pereira Da Costa 400f627430 OverwriteColors -> TitleOutline
svn path=/trunk/KDE/kdebase/workspace/; revision=1019897
2009-09-04 18:54:32 +00:00
Hugo Pereira Da Costa e641ec2cb9 re-fixed problem with saving OverwriteColors flag in exceptions
svn path=/trunk/KDE/kdebase/workspace/; revision=1019841
2009-09-04 15:41:26 +00:00
Hugo Pereira Da Costa ec7895d8e4 NitrogenHelper -> OxygenHelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1019626
2009-09-04 04:22:26 +00:00
Hugo Pereira Da Costa b4b78b3ba6 NitrogenHelper -> OxygenHelper + Use extra height argument for renderWindowBackground
svn path=/trunk/KDE/kdebase/workspace/; revision=1019625
2009-09-04 04:20:59 +00:00
Hugo Pereira Da Costa 52d665ae37 removed lib to use svn external from 'kdebase/runtime/kstyles/oxygen/lib' instead, to minimize code duplication
svn path=/trunk/KDE/kdebase/workspace/; revision=1019624
2009-09-04 04:18:52 +00:00
Hugo Pereira Da Costa 09158d39a4 renamed 'Default' button size into 'Normal' button size
svn path=/trunk/KDE/kdebase/workspace/; revision=1019618
2009-09-04 03:02:26 +00:00
Hugo Pereira Da Costa e86a284b5c removed 'button type' option, as recommanded by many people, and because it will allow to use oxygen helper directly rather than rewriting it
svn path=/trunk/KDE/kdebase/workspace/; revision=1019609
2009-09-04 01:50:20 +00:00
Hugo Pereira Da Costa 32aeeb070c fixed options grid layout to start at row 0
svn path=/trunk/KDE/kdebase/workspace/; revision=1019580
2009-09-03 22:41:06 +00:00