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
4b45cfa2
Commit
4b45cfa2
authored
Apr 06, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/interface.cpp: display default volume level on start.
parent
aca4db4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+7
-0
No files found.
modules/gui/wxwindows/interface.cpp
View file @
4b45cfa2
...
@@ -1389,6 +1389,13 @@ wxVolCtrl::wxVolCtrl( intf_thread_t *_p_intf, wxWindow* parent, wxWindowID id,
...
@@ -1389,6 +1389,13 @@ wxVolCtrl::wxVolCtrl( intf_thread_t *_p_intf, wxWindow* parent, wxWindowID id,
:
wxGauge
(
parent
,
id
,
200
,
point
,
size
,
wxGA_HORIZONTAL
|
wxGA_SMOOTH
)
:
wxGauge
(
parent
,
id
,
200
,
point
,
size
,
wxGA_HORIZONTAL
|
wxGA_SMOOTH
)
{
{
p_intf
=
_p_intf
;
p_intf
=
_p_intf
;
audio_volume_t
i_volume
;
aout_VolumeGet
(
p_intf
,
&
i_volume
);
i_volume
=
i_volume
*
200
*
2
/
AOUT_VOLUME_MAX
;
SetValue
(
i_volume
);
SetToolTip
(
wxString
::
Format
((
wxString
)
wxU
(
_
(
"Volume"
))
+
wxT
(
" %d"
),
i_volume
)
);
}
}
void
wxVolCtrl
::
OnChange
(
wxMouseEvent
&
event
)
void
wxVolCtrl
::
OnChange
(
wxMouseEvent
&
event
)
...
...
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