Commit dee3bc7b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix the detached window. Fix fullscreen. Use a borderless window.

The borderless window is nicer IMO. Feel free to object, but this also saves some overhead with fullscreen changing.
parent bd4bd54d
......@@ -25,6 +25,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#import "misc.h"
/*****************************************************************************
* VLCEmbeddedList interface
*****************************************************************************/
......@@ -110,26 +111,21 @@
/*****************************************************************************
* VLCVoutWindow interface
*****************************************************************************/
@interface VLCVoutWindow : NSWindow
@interface VLCVoutWindow : VLCWindow
{
vout_thread_t * p_vout;
VLCVoutView * o_view;
NSRect * s_frame;
vout_thread_t * p_real_vout;
bool b_init_ok;
bool b_black;
bool b_embedded;
BOOL fullscreen;
NSRect initialFrame;
}
- (id) initWithVout: (vout_thread_t *) p_vout view: (VLCVoutView *) view
frame: (NSRect *) s_frame;
- (id)initMainThread: (id) sender;
- (void)close;
- (void)closeWindow;
- (id)closeMainThread: (id) sender;
- (void)leaveFullscreen;
- (void)enterFullscreen;
- (id)getVoutView;
- (BOOL)windowShouldClose:(id)sender;
@end
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment