Commit Graph

1995 Commits (42dfdb63b03a6beca314f61bd61981dc1724909b)

Author SHA1 Message Date
Hugo Pereira Da Costa 5c95478e56 removed shadowCacheMode option.
Default mode (variable) is what's kept.
2011-07-17 13:13:44 +02:00
Script Kiddy 1eb1c85289 SVN_SILENT made messages (.desktop file) 2011-07-13 09:17:45 +02:00
Script Kiddy d414f57c8d SVN_SILENT made messages (.desktop file) 2011-07-07 10:20:05 +02:00
Script Kiddy 976f396fc7 SVN_SILENT made messages (.desktop file) 2011-07-06 10:41:48 +02:00
Hugo Pereira Da Costa db297dee87 fixed unbalanced save/restore 2011-07-02 13:13:58 +02:00
Hugo Pereira Da Costa 05fc073439 draw background overlay pixmap manually in preview. 2011-06-30 11:43:34 +02:00
Hugo Pereira Da Costa 18cdb220d7 Added "show advanced options" button. 2011-06-30 11:20:50 +02:00
Hugo Pereira Da Costa dfcab17585 use backing store pixmap for buttons when compositing is not active.
Copy parent backgronud from backing store pixmap when rendering buttons.
2011-06-28 09:24:02 +02:00
Hugo Pereira Da Costa d3d5d9b9d3 Merge branch 'master' into master-no-composite 2011-06-28 09:09:50 +02:00
Hugo Pereira Da Costa f6a12ad1cf coding style. 2011-06-28 09:09:31 +02:00
Hugo Pereira Da Costa 8361b13de9 added double buffering to oxygen-client when compositing is off;
force update of buttons in client->paintEvent();
call _client->paint() from Button, instead of parentWidget()->render();
2011-06-28 01:27:58 +02:00
Hugo Pereira Da Costa 6e0733e0de fixed button rendering when compositing is disabled. 2011-06-28 01:09:22 +02:00
Script Kiddy 163824af85 SVN_SILENT made messages (.desktop file) 2011-06-22 09:44:08 +02:00
Script Kiddy 538e9d1467 SVN_SILENT made messages (.desktop file) 2011-06-21 11:01:53 +02:00
Hugo Pereira Da Costa 5194705e30 fixed detection of pressed state for decoration's 'toggle like' buttons. 2011-06-14 18:49:46 +02:00
Pino Toscano 339990dbae i18n: do not extract placeholder strings 2011-06-08 21:00:49 +02:00
Script Kiddy b0e3b23c25 SVN_SILENT made messages (.desktop file) 2011-06-08 09:23:45 +02:00
Script Kiddy 01e64e9039 SVN_SILENT made messages (.desktop file) 2011-06-03 09:06:45 +02:00
Hugo Pereira Da Costa c7f87d49d7 Set padding to 0 when client is maximized.
CCBUG: 274177
2011-05-30 17:56:50 +02:00
Hugo Pereira Da Costa 8c7585e500 do not render shadows when maximized.
CCBUG: 274177
2011-05-30 16:51:25 +02:00
Script Kiddy a7dc64e5b8 SVN_SILENT made messages (.desktop file) 2011-05-29 10:09:53 +02:00
Script Kiddy 3d0c81f121 SVN_SILENT made messages (.desktop file) 2011-05-17 10:49:34 +02:00
Hugo Pereira Da Costa 810a750d25 removed some unneeded empty lines. 2011-05-11 10:23:36 +02:00
Script Kiddy 9d7c88d288 SVN_SILENT made messages (.desktop file) 2011-05-11 09:17:09 +02:00
Script Kiddy cb2597dcaf SVN_SILENT made messages (.desktop file) 2011-05-09 09:32:40 +02:00
Hugo Pereira Da Costa b602ce9d52 fixed default tab. 2011-05-05 23:43:11 +02:00
Hugo Pereira Da Costa c5766a5e3a removed "shadowMode" option, since it has been obsoleted by kwin's new shadow system. 2011-05-01 11:52:22 +02:00
Hugo Pereira Da Costa 8d7455cfaf sanitize color handling in button rendering. 2011-04-28 18:09:09 +02:00
Hugo Pereira Da Costa 24543ebbb9 Use QPalette::Button colors for button (!) rendering. 2011-04-28 17:28:46 +02:00
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
Hugo Pereira Da Costa 796e7ff92a Properly account for window's shaded state, and number of clients in groups when deciding whether or
not the titlebar should be hidden. This is half the job, cause the above does not work (yet) when 
grouping windows among which one has hidden titlebar. Shading works well now, though.

CCBUG: 260815

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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


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


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


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


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

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

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


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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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


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

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


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

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-05-31 07:06:08 +00:00