D8361: Add option to change windows shadow intensity
rodrigo pelorosso
noreply at phabricator.kde.org
Wed Oct 18 19:21:52 UTC 2017
rpelorosso created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This patch solves the following problem: In order to obtain light shadows, the inner color should be changed to a light gray, resulting in light shadows that work well over lighter backgrounds, but look like glowing over darker backgrounds. The following screenshot shows this situation:
F5437223: image.png <https://phabricator.kde.org/F5437223>
In order to allow having light shadows that behave as shadows over darker backgrounds I've introduced a new option for setting the overall shadow intensity. This value defaults to 100%, making shadows behave as they did prior to this patch.
With this new option, light shadows can be obtained setting the inner color to black, and the intensity to a low value. Here's how it looks with an intensity of 50%.
F5437226: image.png <https://phabricator.kde.org/F5437226>
TEST PLAN
Change the intensity value and see shadows become more or less intense (alpha value changing)
REPOSITORY
R113 Oxygen Theme
REVISION DETAIL
https://phabricator.kde.org/D8361
AFFECTED FILES
liboxygen/oxygenactiveshadowconfigdata.kcfg
liboxygen/oxygeninactiveshadowconfigdata.kcfg
liboxygen/oxygenshadowcache.cpp
liboxygen/oxygenshadowconfigwidget.cpp
liboxygen/ui/oxygenshadowconfigurationui.ui
To: rpelorosso
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171018/426ce40c/attachment.html>
More information about the Plasma-devel
mailing list