Hugo Pereira Da Costa
685d5b2a4b
cleanup
2011-04-21 19:14:28 +02:00
Hugo Pereira Da Costa
5a29c0b21b
added dedicated hint so that widget style can tell the decoration whether to
...
use a window pixmap or not.
2011-04-20 12:01:38 +02:00
Hugo Pereira Da Costa
d84f048b6a
moved pixmap rendering to separate method.
...
It is called independently from window background in decoration code;
It is called together with window background in style.
2011-04-20 11:28:45 +02:00
Hugo Pereira Da Costa
77dd014d8a
fixed horizontal positionning of background pixmap.
2011-04-20 10:57:40 +02:00
Hugo Pereira Da Costa
82d3524353
Merge branch 'master' into oxygen/background-pixmap
2011-04-20 10:21:37 +02:00
Hugo Pereira Da Costa
e213b3ca9f
fix gradient positionning for maximized windows
2011-04-16 13:18:45 +02:00
Hugo Pereira Da Costa
38f5c5d055
nothing.
2011-04-16 11:48:44 +02:00
Martin Gräßlin
320de6abc6
Merge branch 'master' into oxygen-shadows
...
Conflicts:
kwin/atoms.cpp
kwin/atoms.h
2011-04-04 18:09:59 +02:00
Hugo Pereira Da Costa
275cf05184
make sure Shadow X11 property is not set on decorated windows, since it is handled by
...
the decoration itself (and therefore should not be by kwin).
2011-04-04 09:42:11 +02:00
Script Kiddy
25fd8bd0d3
SVN_SILENT made messages (.desktop file)
2011-03-31 07:42:47 +02:00
Hugo Pereira Da Costa
258bc024a4
Removed unnecessary compilation of oxygendecohelper.
2011-03-16 17:53:39 +01:00
Script Kiddy
5c0a54f89d
SVN_SILENT made messages (.desktop file)
2011-03-12 08:34:39 +01:00
Hugo Pereira Da Costa
e5956f2e9a
Decoration: read background pixmap from oxygenrc
2011-03-03 10:52:35 +01:00
Hugo Pereira Da Costa
96c7dedacb
Added background pixmap offset to properly align decoration background and style background.
2011-03-03 10:35:56 +01:00
Hugo Pereira Da Costa
9918437a71
play with the idea of painting an overlay pixmap on top of window background.
2011-03-02 17:01:45 +01:00
Hugo Pereira Da Costa
a190d65790
more variable names cleanup
2011-02-24 19:11:12 +01:00
Hugo Pereira Da Costa
3c290e07cd
cleanup variable names.
2011-02-24 17:47:38 +01:00
Hugo Pereira Da Costa
0960942f4e
cleanup variable names for consistency
2011-02-24 17:37:04 +01:00
Hugo Pereira Da Costa
1aeb5fedcc
::(Style/Deco/)Helper - variable names cleanup
...
moved all caches to Private; added protected accessor, and updated daughter classes
accordingly. Also renamed variables for consistency with other classes
2011-02-24 17:08:41 +01:00
Hugo Pereira Da Costa
3c5c517220
Oxygen::Config - fixed writting of shadowMode.
2011-02-24 08:24:00 +01:00
Hugo Pereira Da Costa
98b415db93
Oxygen::Config - Fixed saving of ShadowCacheMode.
2011-02-24 08:22:49 +01:00
Hugo Pereira Da Costa
cf7f1a378a
Factory: properly account for shadow configuration change when return changed status.
2011-02-23 11:21:46 +01:00
Hugo Pereira Da Costa
4abee2e112
perform all shadow configuration in ShadowCache::readConfig.
...
This will avoid code duplication between style and decoration.
2011-02-23 11:14:21 +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
b35d3c7b65
clean-up headers to make shadow cache and configuration decoration independent.
2011-02-23 09:46:17 +01:00
Martin Gräßlin
4f12f43d5d
Clean up documentation in KWin
...
* COMPOSITE_TODO lists many tasks already implemented or not valid any more,
it's easier to just write a new document with concrete tasks in the wiki
* NEWCOLORSCHEME.README has been unchanged since it's first introduction in 2000.
Does not sound any "new" to me and lists changes compared to KWM
* clients/PORTING: all important clients have been ported and what is not yet
ported will probably never get ported. The unported decos have been moved
to unmaintained some time ago.
* clients/REQUIREMENTS_FOR_CVS: well the requirements are not valid any more.
2011-02-20 18:22:10 +01:00
Script Kiddy
15155326e2
SVN_SILENT made messages (.desktop file)
2011-02-03 07:25:47 +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
Script Kiddy
b637e9d7ca
SVN_SILENT made messages (.desktop file)
2011-02-02 08:26:11 +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
Hugo Pereira Da Costa
025e7a5859
Fixed some coding style.
...
Changed tileset definition so that all shadow pixmaps have same size.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217933
2011-01-29 18:10:00 +00:00
Hugo Pereira Da Costa
5a41506500
Fixed typo on saving offsets.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1217908
2011-01-29 14:55:14 +00:00
Hugo Pereira Da Costa
92bea91686
- moved rendering of antialiased corners from Oxygen::ShadowCache to Oxygen::Client.
...
- simplified caching of ShadowCache accordingly. Notably, it should make it easier to pass the shadows to kwin.
- removed unnecessary QPainter::save()/restore() calls
- set painter AntiAliasing render hint earlier in Client::paintEvent
- modified drawing of drop target rect accordingly.
- oh. And fixed krazy warnings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1217439
2011-01-27 09:40:48 +00:00
Hugo Pereira Da Costa
37d8ffe6e4
added flag to disable drawing of "corners" in shadows.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1217366
2011-01-26 21:28:39 +00:00
Martin Gräßlin
cf553792a9
Forward port 1214767: Honor font settings in Aurorae.
...
CCBUG: 249681
svn path=/trunk/KDE/kdebase/workspace/; revision=1214768
2011-01-16 10:25:22 +00:00
Hugo Pereira Da Costa
c81051a46f
removed default Firefox|Thunderbird exception, since it conflicts with the "follow
...
style hint" setting for decoration background.
svn path=/trunk/KDE/kdebase/workspace/; revision=1210278
2010-12-30 11:21:25 +00:00
Hugo Pereira Da Costa
469ec8e686
Fixed logic for left/right bounding of titleRect.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1210067
2010-12-29 10:40:17 +00:00
Hugo Pereira Da Costa
a6425b78e2
properly set title position for "Center (Full Width)" configuration.
...
Simplified title centering logic.
svn path=/trunk/KDE/kdebase/workspace/; revision=1210060
2010-12-29 10:26:54 +00:00
Hugo Pereira Da Costa
5ca57bf518
Made Center (full width) the default title alignment.
...
This way, window title is centered with respect to background radial gradient.
svn path=/trunk/KDE/kdebase/workspace/; revision=1210059
2010-12-29 10:25:55 +00:00
Hugo Pereira Da Costa
6bfb3dacfe
Added (still unused) option to center title on full window width.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1209927
2010-12-28 15:14:18 +00:00
Hugo Pereira Da Costa
78a00006b9
QCombobox -> KComboBox (krazy)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1208712
2010-12-22 22:30:33 +00:00
Hugo Pereira Da Costa
fd4c9ce6a7
use ShadowConfiguration::write() to write config to file.
...
Do not write options which have default value.
This is consistent with what kconfigskeleton does.
svn path=/trunk/KDE/kdebase/workspace/; revision=1208709
2010-12-22 22:24:09 +00:00
Hugo Pereira Da Costa
4840b07e22
write only configuration options that differ from default
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1208701
2010-12-22 22:08:41 +00:00
Hugo Pereira Da Costa
8f1c262c40
use Configuration::write to write config from UI.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1208700
2010-12-22 22:08:15 +00:00
Hugo Pereira Da Costa
e43eff9792
Added "Follow Style Hint" setting to the "fine tuning->background style" option
...
When selected, the decoration looks for a WM Hint set by the style, to decide whether or not it
should draw a gradient in the background.
svn path=/trunk/KDE/kdebase/workspace/; revision=1208665
2010-12-22 19:23:46 +00:00