File->Close sends performClose:
[MacVim.git] / src / MacVim / MMFullscreenWindow.h
blobaf228aed4e1efcb9f521447f6dc2aee8116dd344
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.
9 */
11 #import <Cocoa/Cocoa.h>
15 @class MMVimView;
17 @interface MMFullscreenWindow : NSWindow {
18 NSWindow *target;
19 MMVimView *view;
20 NSPoint oldPosition;
21 NSString *oldTabBarStyle;
24 - (MMFullscreenWindow *)initWithWindow:(NSWindow *)t view:(MMVimView *)v;
26 - (void)enterFullscreen;
27 - (void)leaveFullscreen;
28 - (void)centerView;
30 - (BOOL)canBecomeKeyWindow;
31 - (BOOL)canBecomeMainWindow;
33 @end