Commit graph

27 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
46d0116dd5 Added hidden configuration option to enable/disable closing windows by clicking on menu button.
Option is called "CloseFromMenuButton"
It is false by default.
To turn it on, add
  CloseFromMenuButton=true
in [Windeco] section of $HOME/.kde4/share/config/oxygenrc.
Note that it results in poor usability of the menu button, if enabled.

CCBUG: 301237
2012-06-07 12:28:25 -07:00
Hugo Pereira Da Costa
c21122c863 added necessary options to configure all type of animations individually. 2011-07-18 07:36:44 +02:00
Hugo Pereira Da Costa
0ae4d9489f always enable window grouping, when available.
removed corresponding config option.
2011-07-17 16:12:30 +02:00
Hugo Pereira Da Costa
5c95478e56 removed shadowCacheMode option.
Default mode (variable) is what's kept.
2011-07-17 13:13:44 +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
a190d65790 more variable names cleanup 2011-02-24 19:11:12 +01:00
Hugo Pereira Da Costa
0960942f4e cleanup variable names for consistency 2011-02-24 17:37:04 +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
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
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
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
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
c74bc229ee fixed indentation
svn path=/trunk/KDE/kdebase/workspace/; revision=1116925
2010-04-20 15:32:59 +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
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
00e9cbd9a9 changed 'default' button size from 22 to 20
svn path=/trunk/KDE/kdebase/workspace/; revision=1034014
2009-10-11 19:03:47 +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
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.h (Browse further)