D26094: Add shadow rendering helper functions
Noah Davis
noreply at phabricator.kde.org
Thu Dec 19 00:02:25 GMT 2019
ndavis created this revision.
ndavis added a reviewer: Breeze.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ndavis requested review of this revision.
REVISION SUMMARY
This patch makes other helper functions reuse more code by calling these shadow rendering functions instead of defining their own shadows.
The shadows are perfectly shaped, tested up to 6x scaling.
Without this patch, the radius of the shadows for checkboxes is slighly too wide and there is a gap between the inside edge of the radio button shadow and the outside edge of the radio button.
Shadow rendering performance has also been improved a bit.
REPOSITORY
R31 Breeze
BRANCH
replace-hardcoded (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D26094
AFFECTED FILES
kstyle/breezehelper.cpp
kstyle/breezehelper.h
To: ndavis, #breeze
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191219/858a5317/attachment.html>
More information about the Plasma-devel
mailing list