Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC Browser Plugins
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
VideoLAN
VLC Browser Plugins
Commits
569f19c3
Commit
569f19c3
authored
Dec 16, 2015
by
Daniel Amm
Committed by
Jean-Baptiste Kempf
Dec 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32: add audio events for updating audio button/slider
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
37db61d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
win32_fullscreen.cpp
common/win32_fullscreen.cpp
+14
-0
No files found.
common/win32_fullscreen.cpp
View file @
569f19c3
...
...
@@ -423,6 +423,20 @@ void VLCControlsWnd::RegisterToVLCEvents()
PostMessage
(
hPlayPauseButton
,
BM_SETIMAGE
,
(
WPARAM
)
IMAGE_BITMAP
,
(
LPARAM
)
RC
().
hPlayBitmap
);
PostMessage
(
hVideoPosScroll
,
(
UINT
)
PBM_SETPOS
,
(
WPARAM
)
0
,
0
);
});
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(2, 2, 2, 0)
VP
()
->
get_mp
().
eventManager
().
onAudioVolume
([
this
](
float
vol
)
{
UpdateVolumeSlider
(
roundf
(
vol
*
100
)
);
});
VP
()
->
get_mp
().
eventManager
().
onMuted
([
this
]
{
UpdateMuteButton
(
true
);
});
VP
()
->
get_mp
().
eventManager
().
onUnmuted
([
this
]
{
UpdateMuteButton
(
false
);
});
#endif
}
void
VLCControlsWnd
::
NeedShowControls
()
...
...
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