D24125: [GTK3] Scrollbars now have proper states
Noah Davis
noreply at phabricator.kde.org
Sat Sep 21 01:28:17 BST 2019
ndavis added a comment.
Actually, not sure if this code works how I think it works. 0.2 should actually be less dark than 0.3 if I understand it correctly.
This is the code in the Breeze QStyle:
const auto grooveColor( _helper->alphaColor( palette.color( QPalette::WindowText ), 0.3 ) );
Here's how `alphaColor()` works:
QColor Helper::alphaColor( QColor color, qreal alpha ) const
{
if( alpha >= 0 && alpha < 1.0 )
{ color.setAlphaF( alpha*color.alphaF() ); }
return color;
}
REPOSITORY
R98 Breeze for Gtk
REVISION DETAIL
https://phabricator.kde.org/D24125
To: cblack, #breeze, ngraham
Cc: ndavis, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190921/bf98e1d5/attachment.html>
More information about the Plasma-devel
mailing list