Commit graph

404 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Hugo Pereira Da Costa
be68ea09d0 smaller margin
svn path=/trunk/KDE/kdebase/workspace/; revision=1118111
2010-04-23 23:00:43 +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
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
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
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
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
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
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