1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * MacVim GUI port by Bjorn Winckler
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
11 #import <Cocoa/Cocoa.h>
17 @interface MMFullscreenWindow
: NSWindow
{
21 NSString
*oldTabBarStyle
;
23 // These are only valid in fullscreen mode and store pre-fu vim size
24 int nonFuRows
, nonFuColumns
;
26 // These store the size vim had right after entering fu mode
27 int startFuRows
, startFuColumns
;
29 // This stores the contents of fuoptions_flags at fu start time
33 - (MMFullscreenWindow
*)initWithWindow
:(NSWindow
*)t view
:(MMVimView
*)v
34 backgroundColor
:(NSColor
*)back
;
36 - (void)enterFullscreen
:(int)fuoptions
;
37 - (void)leaveFullscreen
;
40 - (BOOL
)canBecomeKeyWindow
;
41 - (BOOL
)canBecomeMainWindow
;