OpenClonk
C4WindowController.h
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2010-2016, The OpenClonk Team and contributors
5  *
6  * Distributed under the terms of the ISC license; see accompanying file
7  * "COPYING" for details.
8  *
9  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
10  * See accompanying file "TRADEMARK" for details.
11  *
12  * To redistribute this file separately, substitute the full license texts
13  * for the above references.
14  */
15 
16 #import <Cocoa/Cocoa.h>
17 
18 class C4Window;
19 class C4ViewportWindow;
20 class C4Viewport;
21 
22 @class C4OpenGLView;
23 @class NSTextView;
24 @class C4EditorWindowController;
25 
26 bool lionAndBeyond();
27 
28 @interface C4WindowController : NSWindowController<NSWindowDelegate> {
29  NSWindow* fullscreenWindow;
31 }
32 - (C4Viewport*) viewport;
33 - (void) setFullscreen:(BOOL)fullscreen;
34 - (BOOL) isFullScreen;
35 - (BOOL) isFullScreenConsideringLionFullScreen;
36 - (void) setContentSize:(NSSize)size;
37 
38 - (IBAction) scroll:(id)sender;
39 
40 @property (readwrite) C4Window* stdWindow;
41 @property (weak) C4OpenGLView* openGLView;
42 @property (weak) NSScrollView* scrollView;
43 @property (readonly) BOOL isLiveResizing;
44 @end
bool lionAndBeyond()