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
85c5cbfd
Commit
85c5cbfd
authored
May 08, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mac OS X gui: Fix tabs.
parent
e557d8c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+8
-8
No files found.
modules/gui/macosx/controls.m
View file @
85c5cbfd
...
...
@@ -486,12 +486,12 @@
for
(
i
=
0
;
i
<
(
int
)(
f_yabsvalue
/
4
.
+
1
.)
&&
f_yabsvalue
>
0
.
05
;
i
++
)
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-pressed"
,
i_yvlckey
);
/* Prioritize Y event (sound volume) over X event */
if
(
f_yabsvalue
<
0
.
05
)
{
for
(
i
=
0
;
i
<
(
int
)(
f_xabsvalue
/
6
.
+
1
.)
&&
f_xabsvalue
>
0
.
05
;
i
++
)
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-pressed"
,
i_xvlckey
);
}
/* Prioritize Y event (sound volume) over X event */
if
(
f_yabsvalue
<
0
.
05
)
{
for
(
i
=
0
;
i
<
(
int
)(
f_xabsvalue
/
6
.
+
1
.)
&&
f_xabsvalue
>
0
.
05
;
i
++
)
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-pressed"
,
i_xvlckey
);
}
}
-
(
BOOL
)
keyEvent
:(
NSEvent
*
)
o_event
...
...
@@ -860,8 +860,8 @@
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Previous"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Next"
)]
)
{
/** \todo fix i_size use */
bEnabled
=
p_playlist
->
items
.
i_size
>
1
;
/** \todo fix i_size use */
bEnabled
=
p_playlist
->
items
.
i_size
>
1
;
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Random"
)]
)
{
...
...
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