Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
fb656c0c
Commit
fb656c0c
authored
May 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: change slightly the colours of the sound slider.
parent
e976edb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-1
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+1
-1
No files found.
modules/gui/qt4/qt4.cpp
View file @
fb656c0c
...
@@ -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;2
26;20;255;176;15;235;30;20
"
,
"255;255;255;20;2
10;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
,
...
...
modules/gui/qt4/util/input_slider.cpp
View file @
fb656c0c
...
@@ -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.2
2
,
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
)
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment