Commit fb656c0c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: change slightly the colours of the sound slider.

parent e976edb9
...@@ -223,7 +223,7 @@ vlc_module_begin () ...@@ -223,7 +223,7 @@ vlc_module_begin ()
UPDATER_DAYS_TEXT, false ) UPDATER_DAYS_TEXT, false )
#endif #endif
add_string( "qt-slider-colours", add_string( "qt-slider-colours",
"255;255;255;20;226;20;255;176;15;235;30;20", "255;255;255;20;210;20;255;199;15;245;39;29",
NULL, SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false ) NULL, SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false )
add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT, add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT,
......
...@@ -168,7 +168,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard, ...@@ -168,7 +168,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
#define c(i) colorList.at(i).toInt() #define c(i) colorList.at(i).toInt()
gradient.setColorAt( 0.0, QColor( c(0), c(1), c(2) ) ); gradient.setColorAt( 0.0, QColor( c(0), c(1), c(2) ) );
gradient.setColorAt( 0.2, QColor( c(3), c(4), c(5) ) ); gradient.setColorAt( 0.22, QColor( c(3), c(4), c(5) ) );
gradient.setColorAt( 0.5, QColor( c(6), c(7), c(8) ) ); gradient.setColorAt( 0.5, QColor( c(6), c(7), c(8) ) );
gradient.setColorAt( 1.0, QColor( c(9), c(10), c(11) ) ); gradient.setColorAt( 1.0, QColor( c(9), c(10), c(11) ) );
......
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