Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOFullScreenController Class Reference

#include <OOFullScreenController.h>

+ Inheritance diagram for OOFullScreenController:
+ Collaboration diagram for OOFullScreenController:

Instance Methods

(id) - initWithGameView:
 
(BOOL) - setDisplayWidth:height:refreshRate:
 
(NSDictionary *) - findDisplayModeForWidth:height:refreshRate:
 
(void) - noteMouseInteractionModeChangedFrom:to:
 
(void) - dealloc [implementation]
 
(BOOL) - inFullScreenMode [implementation]
 
(void) - setFullScreenMode: [implementation]
 

Properties

MyOpenGLViewgameView
 
BOOL fullScreenMode
 
NSArray * displayModes
 
NSDictionary * currentDisplayMode
 
NSUInteger indexOfCurrentDisplayMode
 

Private Attributes

MyOpenGLView_gameView
 

Detailed Description

Definition at line 55 of file OOFullScreenController.h.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 1 of file OOFullScreenController.m.

43{
45
46 [super dealloc];
47}
#define DESTROY(x)
Definition OOCocoa.h:77

References _gameView.

◆ findDisplayModeForWidth:height:refreshRate:

- (NSDictionary *) findDisplayModeForWidth: (NSUInteger) width
height: (NSUInteger) height
refreshRate: (NSUInteger) d_refresh 

Definition at line 1 of file OOFullScreenController.m.

96 :(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)d_refresh
97{
99 return nil;
100}
#define OOLogGenericSubclassResponsibility()
Definition OOLogging.h:129
return nil

◆ inFullScreenMode

- (BOOL) inFullScreenMode
implementation

Definition at line 1 of file OOFullScreenController.m.

57{
59 return NO;
60}

◆ initWithGameView:

- (id) initWithGameView: (MyOpenGLView *) view

Definition at line 1 of file OOFullScreenController.m.

32 :(MyOpenGLView *)view
33{
34 if ((self = [super init]))
35 {
36 _gameView = [view retain];
37 }
38 return self;
39}

◆ noteMouseInteractionModeChangedFrom:to:

- (void) noteMouseInteractionModeChangedFrom: (OOMouseInteractionMode) oldMode
to: (OOMouseInteractionMode) newMode 

Definition at line 1 of file OOFullScreenController.m.

104{
105
106}
OOMouseInteractionMode

◆ setDisplayWidth:height:refreshRate:

- (BOOL) setDisplayWidth: (NSUInteger) width
height: (NSUInteger) height
refreshRate: (NSUInteger) refresh 

Definition at line 1 of file OOFullScreenController.m.

89 :(NSUInteger)width height:(NSUInteger)height refreshRate:(NSUInteger)refresh
90{
92 return NO;
93}

◆ setFullScreenMode:

- (void) setFullScreenMode: (BOOL) value
implementation

Definition at line 1 of file OOFullScreenController.m.

63 :(BOOL)value
64{
66}

Member Data Documentation

◆ _gameView

- (MyOpenGLView*) _gameView
private

Definition at line 58 of file OOFullScreenController.h.

Referenced by dealloc.

Property Documentation

◆ currentDisplayMode

- (NSDictionary *) currentDisplayMode
readnonatomicassign

Definition at line 68 of file OOFullScreenController.h.

◆ displayModes

- (NSArray *) displayModes
readnonatomicassign

Definition at line 67 of file OOFullScreenController.h.

◆ fullScreenMode

- (BOOL) fullScreenMode
readwritenonatomicassign

Definition at line 66 of file OOFullScreenController.h.

◆ gameView

- (MyOpenGLView *) gameView
readnonatomicassign

Definition at line 65 of file OOFullScreenController.h.

◆ indexOfCurrentDisplayMode

- (NSUInteger) indexOfCurrentDisplayMode
readnonatomicassign

Definition at line 69 of file OOFullScreenController.h.


The documentation for this class was generated from the following files: