Hugo Pereira Da Costa
e40195693c
Takeout inner part of the shadow to avoid artifacts for semi-transparent windows, and
...
adjust metrics.
10 years ago
Hugo Pereira Da Costa
d9369b5e42
Takeout inner part of the shadow to avoid artifacts for semi-transparent windows, and
...
adjust metrics.
10 years ago
Hugo Pereira Da Costa
2fdd1423bc
Use similar code for rendering the decoration shadow and menu shadows.
...
Fixes tile and stretch issues.
BUG: 355647
10 years ago
Hugo Pereira Da Costa
54fb9fe29c
Use similar code for rendering the decoration shadow and menu shadows.
...
Fixes tile and stretch issues.
BUG: 355647
10 years ago
Hugo Pereira Da Costa
2809f031bf
Added option to disable window background gradient
11 years ago
Hugo Pereira Da Costa
feea03af73
revert rendering of outline pixel, because buggy
11 years ago
Hugo Pereira Da Costa
4449ab925b
cleanup shadow contrast pixel rendering
11 years ago
Hugo Pereira Da Costa
cae73cbd9d
readded proper gradient on active window titlebar
11 years ago
Hugo Pereira Da Costa
5a1f5c22c0
added option to configure shadow color
...
default is set to Qt::black
BUG: 349360
11 years ago
Hugo Pereira Da Costa
6a1fcfe9db
Remove min border size requirement on the sides, for tiny border size and above. Bottom side is kept at min 4 pixels,
...
consistently with "old" oxygen decoration.
BUG: 349039
11 years ago
Hugo Pereira Da Costa
6fad4358e2
Properly calculate caption rect when button lists are empty on one of the titlebar side
...
BUG: 349107
11 years ago
Hugo Pereira Da Costa
56bc52fe3c
added tiny (=minimal) button size, for high-dpi screens
...
CCBUG: 348399
11 years ago
Hugo Pereira Da Costa
b3bb047ebd
Removed color settings. They were redundant with DecoratedClient::color(...)
11 years ago
Hugo Pereira Da Costa
c2b890899c
Sanitize button positioning.
...
Properly offset with borderLeft and borderRight
11 years ago
Hugo Pereira Da Costa
9a63b05a24
pass iconSize as button's parameter rather than trying to calculate it from geometry and offset
...
Past calculation was wrong anyway
11 years ago
Hugo Pereira Da Costa
9ac25e775f
rephrased shadow creation code, for readibility
11 years ago
Hugo Pereira Da Costa
0f2f82dbaa
uncomment assignement to global shadow
11 years ago
Hugo Pereira Da Costa
c29e760a5e
Uncomment deco count increment (should never have been commented in the first place)
11 years ago
Hugo Pereira Da Costa
40f6fc4666
Trigger update directly, on active state changed, when animations are disabled.
11 years ago
Hugo Pereira Da Costa
d2ccf2df45
overall cleanup to align with oxygen code
11 years ago
Hugo Pereira Da Costa
e9b31918c2
use proper, animated, font color for caption rendering
11 years ago
Hugo Pereira Da Costa
daa39c6a6b
Breeze::ColorSettings now uses KDecoration2::DecoratedClient::color() for getting additional colors instead of reading them
...
from kdeglobals. This allows per window color schemes with custom titlebar colors to work.
REVIEW:122884
11 years ago
Hugo Pereira Da Costa
441e0a338f
Properly update size grip visibility on maximizedChanged, shadedChanged and resizeableChanged
11 years ago
Hugo Pereira Da Costa
79d93ab56b
Cleanup code to align with master
...
Check for drawBordersOnMaximizedWindows when testing edges flags.
BUG: 345424
11 years ago
Hugo Pereira Da Costa
fae4fcd11e
cleanup
11 years ago
Hugo Pereira Da Costa
79ffe5e50e
Pass both caption rect and alignment as output from ::captionRect
...
Use largest possible rect for all combinations, to avoid truncation
Adjust alignment flags accordingly.
CCBUG: 344552
11 years ago
Hugo Pereira Da Costa
32974f572e
Re-implemented the possibility to hide titlebars for specific windows
...
BUG: 344931
11 years ago
Hugo Pereira Da Costa
fd3ccba86c
cleanup border calculations
11 years ago
Hugo Pereira Da Costa
850906e9d7
removed ellision flag from captionRect (broken anyway)
...
ellide caption text directly at rendering and not prior, using fontMetrics::elidedText
seems to 'fix' overzealous ellision
CCBUG: 344552
11 years ago
Hugo Pereira Da Costa
6195ee0b0a
removed ellision flag from captionRect (broken anyway)
...
ellide caption text directly at rendering and not prior, using fontMetrics::elidedText
seems to 'fix' overzealous ellision
CCBUG: 344552
11 years ago
Alex Richardson
3dcd040f38
Fix FreeBSD build: add <cmath> include
...
Unlike on Linux it is not pulled in by the other headers
11 years ago
Hugo Pereira Da Costa
76e030be5a
cleanup code
11 years ago
Hugo Pereira Da Costa
c6c6737e2c
Added a 'contrast' pixel on the shadows, around the window
11 years ago
Hugo Pereira Da Costa
419badba7d
use gaussian for shadow profile
11 years ago
Hugo Pereira Da Costa
c09aa719da
Added shadow size and shadow strength configuration
...
CCBUG: 344848
11 years ago
Hugo Pereira Da Costa
8ebd33d72d
Added an explicit flag as output from captionRect to tell whether caption must be ellided or not.
...
BUG: 344552
11 years ago
Hugo Pereira Da Costa
a8d2104ab3
Added an explicit flag as output from captionRect to tell whether caption must be ellided or not.
...
BUG: 344552
11 years ago
Hugo Pereira Da Costa
ed9e096110
explicitly delete sizeGrip in destructor
...
(apparently not done automatically)
BUG: 343988
11 years ago
Hugo Pereira Da Costa
d6738d382f
explicitly delete sizeGrip in destructor
...
(apparently not done automatically)
BUG: 343988
11 years ago
Hugo Pereira Da Costa
fd8f6f22b2
use Flag enumeration to describe button position
...
add horizontal offset for rendering
properly extend horizontal hit area for buttons in maximize mode, padding is preserved, but Fitts law is fullfilled.
11 years ago
Hugo Pereira Da Costa
ab80e3880f
Moved buttons geometry handling to Breeze::decoration
...
Do not change size of titlebar when maximizing.
Expend buttons hit area to satisfy Fitts law in maximize mode
BUG: 342824
BUG: 342864
11 years ago
Hugo Pereira Da Costa
32552db775
make Breeze::ConfigWidget inherits KCM module directly.
...
removed unnecessary Breeze::ConfigModule
11 years ago
Hugo Pereira Da Costa
b1244feb7c
use Flag enumeration to describe button position
...
add horizontal offset for rendering
properly extend horizontal hit area for buttons in maximize mode, padding is preserved, but Fitts law is fullfilled.
11 years ago
Hugo Pereira Da Costa
4dd75758dc
Moved buttons geometry handling to Breeze::decoration
...
Do not change size of titlebar when maximizing.
Expend buttons hit area to satisfy Fitts law in maximize mode
BUG: 342824
BUG: 342864
11 years ago
Hugo Pereira Da Costa
d43ea4c824
Do not draw separator in active windows if titlebar color match window background color
11 years ago
Hugo Pereira Da Costa
570a833afd
Do not draw separator in active windows if titlebar color match window background color
11 years ago
Hugo Pereira Da Costa
65d743c94e
animate size grip colouring
11 years ago
Hugo Pereira Da Costa
ceb577eac6
recalculate borders on shade change, in order to have 0 bottom border.
11 years ago
Hugo Pereira Da Costa
d4bf677dcb
fixed titlebar area
11 years ago
Hugo Pereira Da Costa
43820c6295
never return border size smaller than the minimum value needed for comfortable resize
11 years ago