Commit graph

12 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
fcb275abe7 - use kcfg for shadow configuration
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Montel Laurent
62c5a5e276 normalize signal/slots 2011-08-17 23:51:55 +02:00
Hugo Pereira Da Costa
38f5c5d055 nothing. 2011-04-16 11:48:44 +02:00
Hugo Pereira Da Costa
258bc024a4 Removed unnecessary compilation of oxygendecohelper. 2011-03-16 17:53:39 +01:00
Hugo Pereira Da Costa
2099e9dab0 moved Oxygen::ShadowCache and Oxygen::ShadowConfiguration from kwin/clients/oxygen to libs/oxygen
This is necessary to implement client-side shadows (for menus and drop-down lists)
2011-02-23 10:04:00 +01:00
Hugo Pereira Da Costa
c9899372ba use Oxygen::Helper rather than Oxygen::DecoHelper. 2011-02-23 09:59:31 +01:00
Hugo Pereira Da Costa
488b3644d5 Changed handling of shadow overlap with window content
Oxygen::ShadowCache::shadowSize() now returns the shadow extend outside of the window body (the extend)
Overlab between the actual shadow pixmap and the window body is dealt with internally (by creating larger pixmaps)
This allows notably Oxygen::Client to not attempt to draw shadow when shadowSize == 0 (which was never the case
before)
2011-02-02 17:23:08 +01:00
Hugo Pereira Da Costa
c1ff9525e3 Removed obsolete ShadowCache::Key::useOxygenShadows flag
The flag has been made obsolete by the fact that window corners are not part of the shadow anymore.
Configuration::useOxygenShadows is now dealt with by setting the active flag directly.
2011-02-02 17:21:12 +01:00
Montel Laurent
91bf3ab073 Fix ui files 2011-02-01 13:16:06 +01:00
Kevin Ottens
de2c5b91f1 The demo needs to find the lib oxygen headers. 2011-01-30 17:34:15 +01:00
Hugo Pereira Da Costa
71d4bdd45d added dbus signal+connection to update shadows on fly in demo.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217941
2011-01-29 18:33:01 +00:00
Hugo Pereira Da Costa
fdddfcf9ee Added oxygen-shadow-demo to demonstrate shadow painting, add the possibility to save pixmaps
into files, and for debugging.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217934
2011-01-29 18:12:23 +00:00