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
ba45dbbf
Commit
ba45dbbf
authored
Dec 19, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minimal_macosx: remove more dead code
parent
fe22c45f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
+0
-4
modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
+0
-13
No files found.
modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
View file @
ba45dbbf
...
...
@@ -28,8 +28,6 @@
@interface
VLCMinimalVoutWindow
:
NSWindow
{
NSRect
initialFrame
;
NSPoint
initialLocation
,
initialLocationOnScreen
;
BOOL
fullscreen
;
BOOL
mouseDraggedShouldResize
;
}
...
...
@@ -37,6 +35,4 @@
-
(
void
)
enterFullscreen
;
-
(
void
)
leaveFullscreen
;
-
(
BOOL
)
stretchesVideo
;
-
(
void
)
setOnTop
:
(
BOOL
)
ontop
;
@end
modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
View file @
ba45dbbf
...
...
@@ -38,7 +38,6 @@
if
(
self
=
[
super
initWithContentRect
:
contentRect
styleMask
:
NSBorderlessWindowMask
backing
:
NSBackingStoreBuffered
defer
:
NO
])
{
initialFrame
=
contentRect
;
fullscreen
=
NO
;
[
self
setBackgroundColor
:[
NSColor
blackColor
]];
[
self
setHasShadow
:
YES
];
[
self
setMovableByWindowBackground
:
YES
];
...
...
@@ -50,7 +49,6 @@
-
(
void
)
enterFullscreen
{
fullscreen
=
YES
;
initialFrame
=
[
self
frame
];
SetSystemUIMode
(
kUIModeAllHidden
,
kUIOptionAutoShowMenuBar
);
[
self
setFrame
:[[
self
screen
]
frame
]
display
:
YES
animate
:
YES
];
...
...
@@ -58,19 +56,8 @@
-
(
void
)
leaveFullscreen
{
fullscreen
=
NO
;
SetSystemUIMode
(
kUIModeNormal
,
kUIOptionAutoShowMenuBar
);
[
self
setFrame
:
initialFrame
display
:
YES
animate
:
YES
];
}
-
(
BOOL
)
stretchesVideo
{
return
NO
;
}
-
(
void
)
setOnTop
:
(
BOOL
)
ontop
{
}
@end
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