Commit graph

27 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
688fe7beff Fixed calls renderWindowBackground so that gradients appear at the right place in decoration preview. Also removed 'const_cast<>' in ::renderWindowBorder
svn path=/trunk/KDE/kdebase/workspace/; revision=1020604
2009-09-06 18:04:11 +00:00
Hugo Pereira Da Costa
0a894ef032 capitalized ::visibleName()
svn path=/trunk/KDE/kdebase/workspace/; revision=1020319
2009-09-06 07:21:23 +00:00
Hugo Pereira Da Costa
0d6a13a62f don't show resize 'dots' in shaded mode. Round all four corners in shaded mode, even when 'no border' option is selected
svn path=/trunk/KDE/kdebase/workspace/; revision=1020251
2009-09-05 20:04:17 +00:00
Hugo Pereira Da Costa
c4cd3a4153 hide size-grip (in no-border mode) when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=1020224
2009-09-05 17:17:57 +00:00
Hugo Pereira Da Costa
f100fb0537 fixed LM_TitleEdgeTop so that it is always zero for maximized windows, in order to respect Fitts law
svn path=/trunk/KDE/kdebase/workspace/; revision=1020015
2009-09-05 03:12:26 +00:00
Hugo Pereira Da Costa
a4b45bc7c1 use ColorTitleBar for drawing only if window is active and titleOutline is selected. Use oxygen window colors for all other cases.
svn path=/trunk/KDE/kdebase/workspace/; revision=1019984
2009-09-04 22:57:37 +00:00
Hugo Pereira Da Costa
41d3887d13 disable drawSeparator when title outline is selected
svn path=/trunk/KDE/kdebase/workspace/; revision=1019931
2009-09-04 19:59:21 +00:00
Hugo Pereira Da Costa
8fc23d30fa fixed top highlight drop-down shadow in no-border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1019927
2009-09-04 19:51:16 +00:00
Hugo Pereira Da Costa
06acf4cc37 OverwriteColors -> TitleOutline; added ::renderWindowBorder and ::renderTitleHighlight, as a replacement for the ozone blue border. Changed ShadowTilesOption into a class to initialize variables right, and make comparison operator
svn path=/trunk/KDE/kdebase/workspace/; revision=1019901
2009-09-04 18:58:40 +00:00
Hugo Pereira Da Costa
b4b78b3ba6 NitrogenHelper -> OxygenHelper + Use extra height argument for renderWindowBackground
svn path=/trunk/KDE/kdebase/workspace/; revision=1019625
2009-09-04 04:20:59 +00:00
Hugo Pereira Da Costa
e86a284b5c removed 'button type' option, as recommanded by many people, and because it will allow to use oxygen helper directly rather than rewriting it
svn path=/trunk/KDE/kdebase/workspace/; revision=1019609
2009-09-04 01:50:20 +00:00
Hugo Pereira Da Costa
290b5a8cc9 added tileset initialization in constructor (to NULL), tileset destruction in destructor; and tileset destruction when replaced in ::shadowTiles method. (this was leaking, or did I miss something ?)
svn path=/trunk/KDE/kdebase/workspace/; revision=1019165
2009-09-03 03:32:12 +00:00
Hugo Pereira Da Costa
eca2dcabac fixed mask calculation when composite is inactive, for consistency with oxygen, as well as with 'drawFloatFrame'
svn path=/trunk/KDE/kdebase/workspace/; revision=1019089
2009-09-02 20:20:18 +00:00
Hugo Pereira Da Costa
ad7c40d516 removed useless (and misleading) ::borderWidth and ::borderHeight methods; update call to nitrogensizegrip::activeChange
svn path=/trunk/KDE/kdebase/workspace/; revision=1018254
2009-09-01 14:10:46 +00:00
Hugo Pereira Da Costa
7bf1793f32 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017616
2009-08-31 00:54:04 +00:00
Hugo Pereira Da Costa
906503c2f2 set WA_NoSystemBackground flag and removed (useless) setting of WA_OpaquePaintEvent flag
svn path=/trunk/KDE/kdebase/workspace/; revision=1017186
2009-08-29 21:37:08 +00:00
Hugo Pereira Da Costa
bbb66d7a7d Fixed size-grip visibility when shading windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1017165
2009-08-29 20:04:24 +00:00
Hugo Pereira Da Costa
a56de50f0d implemented drawing of size-grip (when enabled) in preview mode, and fixed mettrics accordingly. also removed extra pixel in preview mode when 'border none' is selected and compositing is active
svn path=/trunk/KDE/kdebase/workspace/; revision=1017158
2009-08-29 19:31:24 +00:00
Hugo Pereira Da Costa
66c1892947 fixed rounding of bottom corners in tiny border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1016853
2009-08-29 05:21:54 +00:00
Hugo Pereira Da Costa
470a7fc4b2 fixed logic for drawing windeco borders, and size-grip dots. Use 'native' helper::drawFloatFrame from oxygen windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1015648
2009-08-26 04:33:45 +00:00
Hugo Pereira Da Costa
43df0f4fca fixed 'stripes' so that they look identical to oxygen windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1015646
2009-08-26 03:44:19 +00:00
Hugo Pereira Da Costa
6d7de8e2b0 fixed titlebar height to match oxygen windeco and scale nicely with large window borders
svn path=/trunk/KDE/kdebase/workspace/; revision=1015281
2009-08-25 05:19:40 +00:00
Hugo Pereira Da Costa
bb05492422 changed window border sizes to match oxygen windeco
svn path=/trunk/KDE/kdebase/workspace/; revision=1015277
2009-08-25 04:51:08 +00:00
Hugo Pereira Da Costa
8fec8169dd fixed copyrights
svn path=/trunk/KDE/kdebase/workspace/; revision=1015274
2009-08-25 04:15:13 +00:00
Hugo Pereira Da Costa
f7d9aab9f9 fixed border sizes; added extra pixel when compositing is enabled; fixed inconsistencies whith oxygen style
svn path=/trunk/KDE/kdebase/workspace/; revision=1015139
2009-08-24 16:14:11 +00:00
Laurent Montel
1dd15a0982 Clean up
Remove $id (not necessary)

svn path=/trunk/KDE/kdebase/workspace/; revision=1014898
2009-08-24 07:24:20 +00:00
Lucas Murray
a92f204309 Import the Nitrogen window decoration AS IS from KDE-Look with
permission from hpereiradacosta.

svn path=/trunk/KDE/kdebase/workspace/; revision=1014262
2009-08-22 08:24:06 +00:00