NSApplicationPresentationAutoHideToolbar = (1 << 11)
};
+enum {
+ NSFullScreenWindowMask = 1 << 14
+};
+
enum {
NSWindowAnimationBehaviorDefault = 0, // let AppKit infer animation behavior for this window
NSWindowAnimationBehaviorNone = 2, // suppress inferred animations (don't animate)
- (BOOL)isDirectionInvertedFromDevice;
@end
+@interface NSAnimationContext (IntroducedInLion)
++ (void)runAnimationGroup:(void (^)(NSAnimationContext *context))changes completionHandler:(void (^)(void))completionHandler;
+@end
+
#endif
[[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
}
-#ifdef MAC_OS_X_VERSION_10_7
-(NSArray*)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
{
if (window == self) {
[[window animator] setFrame:frameBeforeLionFullscreen display:YES animate:YES];
} completionHandler:nil];
}
-#endif
- (void)windowWillEnterFullScreen:(NSNotification *)notification
{