Commit 3d7477bb authored by Marvin Scholz's avatar Marvin Scholz

gui/minimal_macosx: Codestyle adjustments

parent 093bbee6
......@@ -34,12 +34,15 @@
@implementation VLCMinimalVoutWindow
- (id)initWithContentRect:(NSRect)contentRect
{
if( self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])
if( self = [super initWithContentRect:contentRect
styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered
defer:NO])
{
initialFrame = contentRect;
[self setBackgroundColor:[NSColor blackColor]];
[self setHasShadow:YES];
[self setMovableByWindowBackground: YES];
[self setMovableByWindowBackground:YES];
[self center];
}
return self;
......
......@@ -132,7 +132,7 @@ int WindowOpen(vout_window_t *p_wnd, const vout_window_cfg_t *cfg)
static int WindowControl(vout_window_t *p_wnd, int i_query, va_list args)
{
NSWindow * o_window = [(__bridge id)p_wnd->handle.nsobject window];
NSWindow* o_window = [(__bridge id)p_wnd->handle.nsobject window];
if (!o_window) {
msg_Err(p_wnd, "failed to recover cocoa window");
return VLC_EGENERIC;
......@@ -143,7 +143,7 @@ static int WindowControl(vout_window_t *p_wnd, int i_query, va_list args)
{
unsigned i_state = va_arg(args, unsigned);
[o_window setLevel: i_state];
[o_window setLevel:i_state];
return VLC_SUCCESS;
}
......@@ -156,7 +156,7 @@ static int WindowControl(vout_window_t *p_wnd, int i_query, va_list args)
NSRect theFrame = [o_window frame];
theFrame.size.width = i_width;
theFrame.size.height = i_height;
[o_window setFrame:theFrame display: YES animate: YES];
[o_window setFrame:theFrame display:YES animate:YES];
});
}
return VLC_SUCCESS;
......
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