Oolite 1.91.0.7646-241128-10e222e
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
30@implementation OOFullScreenController
31
32- (id) initWithGameView:(MyOpenGLView *)view
33{
34 if ((self = [super init]))
35 {
36 _gameView = [view retain];
37 }
38 return self;
39}
40
41
42- (void) dealloc
43{
45
46 [super dealloc];
47}
48
49
51{
52 return _gameView;
53}
54
55
56- (BOOL) inFullScreenMode
57{
59 return NO;
60}
61
62
63- (void) setFullScreenMode:(BOOL)value
64{
66}
67
68
69- (NSArray *) displayModes
70{
72 return nil;
73}
74
75
76- (NSDictionary *) currentDisplayMode
77{
78 return [[self displayModes] objectAtIndex:[self indexOfCurrentDisplayMode]];
79}
80
81
82- (NSUInteger) indexOfCurrentDisplayMode
83{
85 return NSNotFound;
86}
87
88
89- (BOOL) setDisplayWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)refresh
90{
92 return NO;
93}
94
95
96- (NSDictionary *) findDisplayModeForWidth:(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)d_refresh
97{
99 return nil;
100}
101
102
103- (void) noteMouseInteractionModeChangedFrom:(OOMouseInteractionMode)oldMode to:(OOMouseInteractionMode)newMode
104{
105
106}
107
108@end
#define DESTROY(x)
Definition OOCocoa.h:77
#define OOLogGenericSubclassResponsibility()
Definition OOLogging.h:129
OOMouseInteractionMode
return nil