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
e56eff61
Commit
e56eff61
authored
Jan 24, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* the volume slider could only be dragged, not clicked. removed some
useless code as well.
parent
9185c515
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+5
-14
No files found.
modules/gui/macosx/controls.m
View file @
e56eff61
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin
* controls.m: MacOS X interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: controls.m,v 1.1
2 2003/01/23 22:57:28
hartman Exp $
* $Id: controls.m,v 1.1
3 2003/01/24 00:53:41
hartman Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
* Christophe Massiot <massiot@via.ecp.fr>
...
@@ -353,21 +353,12 @@
...
@@ -353,21 +353,12 @@
FIND_ANYWHERE
);
FIND_ANYWHERE
);
audio_volume_t
i_volume
;
audio_volume_t
i_volume
;
switch
(
[[
NSApp
currentEvent
]
type
]
)
{
case
NSLeftMouseDragged
:
if
(
p_aout
!=
NULL
)
if
(
p_aout
!=
NULL
)
{
{
i_volume
=
(
int
)
[
sender
floatValue
];
i_volume
=
(
int
)
[
sender
floatValue
];
aout_VolumeSet
(
p_aout
,
i_volume
*
AOUT_VOLUME_STEP
);
aout_VolumeSet
(
p_aout
,
i_volume
*
AOUT_VOLUME_STEP
);
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
}
}
break
;
default:
if
(
p_aout
!=
NULL
)
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
break
;
}
}
}
-
(
void
)
setVolumeSlider
-
(
void
)
setVolumeSlider
...
...
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