D10170: Added optional transparency/blur to menu frames

Vlad Zagorodniy noreply at phabricator.kde.org
Mon Jan 29 16:11:35 UTC 2018


zzag added inline comments.

INLINE COMMENTS

> breeze.kcfg:189
> +    <!-- transparency -->
> +    <entry name="MenuTransparencyPercent" type="Int">
> +        <default>0</default>

<entry name="MenuTransparency" type=""UInt">
    <default>0</default>
    <max>100</max>
  </entry>

maybe something like this?

> breezestyle.cpp:3630
> +        if (hasAlpha) {
> +            background.setAlphaF(1.0 - StyleConfigData::menuTransparencyPercent() / 10.0);
> +        }

buggy..

`background.setAlphaF(StyleConfigData::menuTransparency() / 100.0f);`

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D10170

To: anemeth, hpereiradacosta, #plasma, #vdg
Cc: zzag, ngraham, 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/20180129/ed0c9d8e/attachment.html>


More information about the Plasma-devel mailing list