Fix placement of auxiliary IM window for Core Text
[MacVim.git] / src / MacVim / MMFullscreenWindow.h
blob134224a5fea98976391a3ca5d07f1457b8e997f8
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;
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
30 int startFuFlags;
33 - (MMFullscreenWindow *)initWithWindow:(NSWindow *)t view:(MMVimView *)v
34 backgroundColor:(NSColor *)back;
36 - (void)enterFullscreen:(int)fuoptions;
37 - (void)leaveFullscreen;
38 - (void)centerView;
40 - (BOOL)canBecomeKeyWindow;
41 - (BOOL)canBecomeMainWindow;
43 @end