Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7e359e88
Commit
7e359e88
authored
Sep 08, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: Adds a volume-muted icon
parent
8a99e94b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+2
-0
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+3
-1
modules/gui/qt4/pixmaps/volume-muted.png
modules/gui/qt4/pixmaps/volume-muted.png
+0
-0
modules/gui/qt4/res.qrc
modules/gui/qt4/res.qrc
+1
-0
No files found.
modules/gui/qt4/Modules.am
View file @
7e359e88
...
...
@@ -197,6 +197,7 @@ EXTRA_DIST += \
pixmaps/noart.png \
pixmaps/playlist_icon.png \
pixmaps/play.png \
pixmaps/pause.png \
pixmaps/previous.png \
pixmaps/spref_cone_Audio_64.png \
pixmaps/spref_cone_Hotkeys_64.png \
...
...
@@ -207,6 +208,7 @@ EXTRA_DIST += \
pixmaps/stop.png \
pixmaps/volume-high.png \
pixmaps/volume-low.png \
pixmaps/volume-muted.png \
pixmaps/vlc_help_16px.png \
pixmaps/vlc_stop_16px.png \
pixmaps/vlc_play_16px.png \
...
...
modules/gui/qt4/components/interface_widgets.cpp
View file @
7e359e88
...
...
@@ -560,7 +560,9 @@ void ControlsWidget::updateVolume( int i_sliderVolume )
int
i_res
=
i_sliderVolume
*
AOUT_VOLUME_MAX
/
(
2
*
volumeSlider
->
maximum
()
);
aout_VolumeSet
(
p_intf
,
i_res
);
if
(
i_sliderVolume
<
volumeSlider
->
maximum
()
/
2
)
if
(
i_sliderVolume
==
0
)
volMuteLabel
->
setPixmap
(
QPixmap
(
":/pixmaps/volume-muted.png"
)
);
else
if
(
i_sliderVolume
<
volumeSlider
->
maximum
()
/
2
)
volMuteLabel
->
setPixmap
(
QPixmap
(
":/pixmaps/volume-low.png"
)
);
else
volMuteLabel
->
setPixmap
(
QPixmap
(
":/pixmaps/volume-high.png"
)
);
}
...
...
modules/gui/qt4/pixmaps/volume-muted.png
0 → 100644
View file @
7e359e88
529 Bytes
modules/gui/qt4/res.qrc
View file @
7e359e88
...
...
@@ -8,6 +8,7 @@
<file>
pixmaps/next.png
</file>
<file>
pixmaps/volume-low.png
</file>
<file>
pixmaps/volume-high.png
</file>
<file>
pixmaps/volume-muted.png
</file>
<file>
pixmaps/go-next.png
</file>
<file
alias=
"vlc128.png"
>
../../../share/vlc128x128.png
</file>
<file
alias=
"vlc48.png"
>
../../../share/vlc48x48.png
</file>
...
...
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