Commit graph

26 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Renamed from clients/oxygen/nitrogenconfiguration.cpp (Browse further)