Commit Graph

6 Commits (d97fe4c59c425b0573fe392ddd78323d972b1522)

Author SHA1 Message Date
Michail Vourlakos 3c54759989 provide theme roundness calculations through mask 5 years ago
Michail Vourlakos 9ed0f17a9b new roundness discovery through shadows
--the new code succeeds in more cases and
trys also to handle some wrongly designed
cases such the Air plasma theme that provides
zig-zag corner shadows
5 years ago
Michail Vourlakos 0f2562aa5e smart way to identify plasma theme hasShadows
--many plasma themes disable their shadows with
settings their opacity to zero instead of removing
their shadow elements. In such case the new approach
sets the hasShadow flag to zero
5 years ago
Michail Vourlakos 059b78ebc0 add missing header 5 years ago
Michail Vourlakos 2db4ffb479 improve plasma theme roundness discovery
--the new approach is first tracking panel-background
shadows if they are available and shown in order to
identify the plasma theme panel background roundness
5 years ago
Michail Vourlakos 3c0060ba1d update panel background paddings calculations
--Plasma::FrameSvgItem margins are not consintent
in order to provide helpful hints how plasma theme
panel-background svg is drawn properly. The new
approach calculates paddings based on top,left,bottom,right
svg elements and in that way a consistent a properly
background.minimumThickness is discovered.
5 years ago