Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
38e8f929
Commit
38e8f929
authored
Nov 23, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - I couldn't do more ugly... If you know how to... please try :D
parent
96b6f40c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+4
-2
No files found.
modules/gui/qt4/util/input_slider.cpp
View file @
38e8f929
...
@@ -90,9 +90,11 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard )
...
@@ -90,9 +90,11 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard )
// QBixmap mask = QBitmap( QPixmap );
// QBixmap mask = QBitmap( QPixmap );
QPainter
p
(
&
pixGradient
);
QPainter
p
(
&
pixGradient
);
QLinearGradient
gradient
(
0
,
0
,
WLENGTH
,
WHEIGHT
);
QLinearGradient
gradient
(
0
,
0
,
WLENGTH
,
0
);
gradient
.
setColorAt
(
0.0
,
Qt
::
white
);
gradient
.
setColorAt
(
0.0
,
Qt
::
white
);
gradient
.
setColorAt
(
1.0
,
Qt
::
blue
);
gradient
.
setColorAt
(
0.2
,
QColor
(
20
,
226
,
20
)
);
gradient
.
setColorAt
(
0.5
,
QColor
(
255
,
176
,
15
)
);
gradient
.
setColorAt
(
1.0
,
QColor
(
235
,
30
,
20
)
);
p
.
setPen
(
Qt
::
NoPen
);
p
.
setPen
(
Qt
::
NoPen
);
p
.
setBrush
(
gradient
);
p
.
setBrush
(
gradient
);
...
...
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