D10170: Added optional transparency/blur to menu frames

Alex Nemeth noreply at phabricator.kde.org
Mon Jan 29 17:30:53 UTC 2018


anemeth added inline comments.

INLINE COMMENTS

> zzag wrote in breezestyle.cpp:3630
> buggy..
> 
> `background.setAlphaF(StyleConfigData::menuTransparency() / 100.0f);`

The slider has 10 steps and goes from 0 to 10, that's why it's `/ 10.0`
100 steps would be too much in my opinion.

And we need to invert the value of it because the setAlphaF works inverted to our slider and it needs a value between 0.0 and 1.0
That's why we need the `1.0 - `
It would be great if we could set the slider to go from 10 to 0 instead, but I don't see how.

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/fff406e5/attachment.html>


More information about the Plasma-devel mailing list