Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6d2b10ba
Commit
6d2b10ba
authored
Dec 21, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: save a few objc selector lookups
parent
86c4c01c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+13
-8
No files found.
modules/gui/macosx/MainWindow.m
View file @
6d2b10ba
...
...
@@ -896,22 +896,27 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
setVideoplayEnabled
{
BOOL
b_videoPlayback
=
[[
VLCMain
sharedInstance
]
activeVideoPlayback
];
if
(
!
b_nonembedded
)
[
o_playlist_btn
setEnabled
:
[[
VLCMain
sharedInstance
]
activeVideoPlayback
]
];
[
o_playlist_btn
setEnabled
:
b_videoPlayback
];
else
{
[
o_playlist_btn
setEnabled
:
NO
];
if
(
!
[[
VLCMain
sharedInstance
]
activeVideoPlayback
]
)
if
(
!
b_videoPlayback
)
[
o_nonembedded_window
orderOut
:
nil
];
}
if
(
OSX_LION
)
{
if
(
[
NSApp
presentationOptions
]
|
NSApplicationPresentationFullScreen
)
if
(
OSX_LION
&&
b_nativeFullscreenMode
)
{
[
o_bottombar_view
setHidden
:
[[
VLCMain
sharedInstance
]
activeVideoPlayback
]];
}
if
(
[
NSApp
presentationOptions
]
==
NSApplicationPresentationFullScreen
)
[
o_bottombar_view
setHidden
:
b_videoPlayback
];
else
[
o_bottombar_view
setHidden
:
NO
];
}
else
{
[
o_fullscreen_btn
setEnabled
:
b_videoPlayback
];
}
}
-
(
void
)
resizeWindow
...
...
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