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
7515422f
Commit
7515422f
authored
Mar 25, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx intf/vout: respond correctly to VOUT_DISPLAY_CHANGE_FULLSCREEN (close #6464)
parent
fad80b62
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
modules/gui/macosx/MainWindow.h
modules/gui/macosx/MainWindow.h
+2
-0
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+15
-0
modules/video_output/macosx.m
modules/video_output/macosx.m
+1
-1
No files found.
modules/gui/macosx/MainWindow.h
View file @
7515422f
...
...
@@ -183,6 +183,7 @@
/* fullscreen handling */
-
(
void
)
showFullscreenController
;
-
(
BOOL
)
isFullscreen
;
-
(
void
)
updateFullscreen
;
-
(
void
)
lockFullscreenAnimation
;
-
(
void
)
unlockFullscreenAnimation
;
-
(
void
)
enterFullscreen
;
...
...
@@ -204,6 +205,7 @@
}
-
(
BOOL
)
isFullscreen
;
-
(
void
)
updateFullscreen
;
-
(
void
)
customZoom
:(
id
)
sender
;
@end
modules/gui/macosx/MainWindow.m
View file @
7515422f
...
...
@@ -1511,6 +1511,11 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
o_fspanel
fadeIn
];
}
-
(
void
)
updateFullscreen
{
[[
VLCMain
sharedInstance
]
fullscreenChanged
];
}
-
(
BOOL
)
isFullscreen
{
return
b_fullscreen
;
...
...
@@ -2240,6 +2245,16 @@ static VLCMainWindow *_o_sharedInstance = nil;
}
}
-
(
IBAction
)
fullscreen
:(
id
)
sender
{
[[
VLCCoreInteraction
sharedInstance
]
toggleFullscreen
];
}
-
(
void
)
updateFullscreen
{
[[
VLCMain
sharedInstance
]
fullscreenChanged
];
}
-
(
BOOL
)
isFullscreen
{
return
[[
VLCMainWindow
sharedInstance
]
isFullscreen
];
...
...
modules/video_output/macosx.m
View file @
7515422f
...
...
@@ -315,7 +315,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_FULLSCREEN
:
{
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
[[
sys
->
glView
window
]
performSelectorOnMainThread
:
@selector
(
fullscreen
:
)
withObject
:
nil
waitUntilDone
:
NO
];
[[
sys
->
glView
window
]
performSelectorOnMainThread
:
@selector
(
updateFullscreen
)
withObject
:
nil
waitUntilDone
:
NO
];
[
o_pool
release
];
return
VLC_SUCCESS
;
}
...
...
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