Oolite
Loading...
Searching...
No Matches
OOFullScreenController.m
Go to the documentation of this file.
1/*
2
3OOFullScreenController.m
4
5
6Oolite
7Copyright (C) 2004-2013 Giles C Williams and contributors
8
9This program is free software; you can redistribute it and/or
10modify it under the terms of the GNU General Public License
11as published by the Free Software Foundation; either version 2
12of the License, or (at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22MA 02110-1301, USA.
23
24*/
25
27#import "OOLogging.h"
28
29@implementation OOFullScreenController
30
31- (id)initWithGameView:(MyOpenGLView*)view
32{
33 if ((self = [super init])) {
34 _gameView = [view retain];
35 }
36 return self;
37}
38
39- (void)dealloc
40{
42
43 [super dealloc];
44}
45
47{
48 return _gameView;
49}
50
52{
54 return NO;
55}
56
57- (void)setFullScreenMode:(BOOL)value
58{
60}
61
62- (NSArray*)displayModes
63{
65 return nil;
66}
67
68- (NSDictionary*)currentDisplayMode
69{
70 return [[self displayModes] objectAtIndex:[self indexOfCurrentDisplayMode]];
71}
72
74{
76 return NSNotFound;
77}
78
79- (BOOL)setDisplayWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)refresh
80{
82 return NO;
83}
84
85- (NSDictionary*)findDisplayModeForWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)d_refresh
86{
88 return nil;
89}
90
91- (void)noteMouseInteractionModeChangedFrom:(OOMouseInteractionMode)oldMode to:(OOMouseInteractionMode)newMode
92{
93}
94
95@end
#define DESTROY(x)
#define OOLogGenericSubclassResponsibility()
Definition OOLogging.h:141
OOMouseInteractionMode
return nil