[vlc-devel] commit: Qt: change slightly the colours of the sound slider. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed May 20 18:53:57 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 19 20:24:44 2009 +0200| [fb656c0c25062ffe4847ea70b6f1fb0b028a6dc8] | committer: Jean-Baptiste Kempf
Qt: change slightly the colours of the sound slider.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb656c0c25062ffe4847ea70b6f1fb0b028a6dc8
---
modules/gui/qt4/qt4.cpp | 2 +-
modules/gui/qt4/util/input_slider.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 7455ac0..ec2efbe 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -223,7 +223,7 @@ vlc_module_begin ()
UPDATER_DAYS_TEXT, false )
#endif
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 )
add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT,
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 125e7a9..4140c38 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -168,7 +168,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
#define c(i) colorList.at(i).toInt()
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( 1.0, QColor( c(9), c(10), c(11) ) );
More information about the vlc-devel
mailing list