Hugo Pereira Da Costa
|
2a9b681f34
|
added reimp 'reset' method to update mask when compositing state is changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021804
|
2009-09-10 05:13:25 +00:00 |
|
Hugo Pereira Da Costa
|
2fcb5767d5
|
removed unused variables
svn path=/trunk/KDE/kdebase/workspace/; revision=1021627
|
2009-09-09 17:14:23 +00:00 |
|
Hugo Pereira Da Costa
|
c519c41c9f
|
further simplified ::renderWindowBorder, to use ::renderWindowBackground consistently
svn path=/trunk/KDE/kdebase/workspace/; revision=1021621
|
2009-09-09 17:02:07 +00:00 |
|
Hugo Pereira Da Costa
|
60e95cc624
|
Used nitrogenclient::renderWindowBackground in place of helper::renderWindowBackground everywhere to honor 'solid color' in title outline. Removed useless white spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021600
|
2009-09-09 16:28:01 +00:00 |
|
Hugo Pereira Da Costa
|
c66c2f05e5
|
added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021438
|
2009-09-09 07:40:07 +00:00 |
|
Matthew Woehlke
|
af15bebbdd
|
mass whitespace cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=1021371
|
2009-09-09 00:55:55 +00:00 |
|
Hugo Pereira Da Costa
|
d982b5060c
|
removed unused 'active' parameter do ::shadowPixmap; added Qt::insertClip when necessary to honour paintEvent clip
svn path=/trunk/KDE/kdebase/workspace/; revision=1021076
|
2009-09-08 00:50:22 +00:00 |
|
Hugo Pereira Da Costa
|
fe6b5e2087
|
set size grip visibility immediatly after created, rather than in reset-configuration (was causing a crash with compiz because of not testing 'hasSizeGrip')
svn path=/trunk/KDE/kdebase/workspace/; revision=1020954
|
2009-09-07 17:41:42 +00:00 |
|
Hugo Pereira Da Costa
|
3455dda8d5
|
used inline functions to get decisions that combine multiple options and window state
svn path=/trunk/KDE/kdebase/workspace/; revision=1020951
|
2009-09-07 17:26:56 +00:00 |
|
Hugo Pereira Da Costa
|
8f72704c20
|
Clean-up: removed all code mentionning stripes/scrathces
svn path=/trunk/KDE/kdebase/workspace/; revision=1020945
|
2009-09-07 17:06:20 +00:00 |
|
Hugo Pereira Da Costa
|
fe0f06dfe1
|
added extrap pixel to painter clipRect when no-border is selected. Moved shadow pixmap generation (needed for shadow tileSets) to a different method. Build more complex tileSet in ::shadowTiles, needed to get the corner colors right when compositing is ON + frameBorder is None + title highlight is ON + window is shaded.
svn path=/trunk/KDE/kdebase/workspace/; revision=1020709
|
2009-09-07 06:59:38 +00:00 |
|
Hugo Pereira Da Costa
|
904dc1341e
|
update size grip visibility depending on window state when resetting configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1020705
|
2009-09-07 05:50:48 +00:00 |
|
Hugo Pereira Da Costa
|
24bf0526cd
|
.. and removed extra 'new tileset' left-over from previous commit to r1020690
svn path=/trunk/KDE/kdebase/workspace/; revision=1020691
|
2009-09-07 02:32:34 +00:00 |
|
Hugo Pereira Da Costa
|
8c9049e425
|
re-organized ::shadowtiles code to 1/ fix bug on storing created tiles 2/ avoid duplicated code. 3/ handle options properly to store active and inactive shadowTiles.
svn path=/trunk/KDE/kdebase/workspace/; revision=1020690
|
2009-09-07 02:26:37 +00:00 |
|
Hugo Pereira Da Costa
|
191a3dd8db
|
disabled autoFillBackground for central QLabel in preview mode, to have the correct window background painted. Remark: this is a minor (and safe) hack. This should be moved upstream into kwin/lib/kdecoration
svn path=/trunk/KDE/kdebase/workspace/; revision=1020608
|
2009-09-06 18:29:57 +00:00 |
|
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 |
|