Commit d4275f10 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: SoundSlider: make 100% value green

Slided a bit the central point of the orange gradient to make it appear
only above 100% value.
parent 0ab82b55
......@@ -259,7 +259,7 @@ vlc_module_begin ()
add_bool( "qt-error-dialogs", true, ERROR_TEXT,
ERROR_TEXT, false )
add_string( "qt-slider-colours", "255;255;255;20;210;20;255;199;15;245;39;29",
add_string( "qt-slider-colours", "153;210;153;20;210;20;255;199;15;245;39;29",
SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false )
add_bool( "qt-privacy-ask", true, PRIVACY_TEXT, PRIVACY_TEXT,
......
......@@ -507,8 +507,8 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
QColor * foo;
add_colors( gradient, gradient2, 0.0, 0, 1, 2 );
add_colors( gradient, gradient2, 0.22, 3, 4, 5 );
add_colors( gradient, gradient2, 0.5, 6, 7, 8 );
add_colors( gradient, gradient2, 0.45, 3, 4, 5 );
add_colors( gradient, gradient2, 0.55, 6, 7, 8 );
add_colors( gradient, gradient2, 1.0, 9, 10, 11 );
QPainter painter( &pixGradient );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment