|
Oolite
|
#include <MyOpenGLView.h>
Inheritance diagram for MyOpenGLView:
Collaboration diagram for MyOpenGLView:Class Methods | |
| (BOOL) | + pollShiftKey |
| (BOOL) | + pollShiftKey |
| (static void) | + GetDesiredCursorState [implementation] |
| (static void) | + ApplyCursorState [implementation] |
| (static void) | + UnapplyCursorState [implementation] |
Protected Attributes | |
| enum StringInput | allowingStringInput |
| NSPoint | mouseDragStartPoint |
| BOOL | mouseWarped |
| NSTimeInterval | timeSinceLastMouseWheel |
| float | _mouseVirtualStickSensitivityFactor |
| double | squareX |
| double | squareY |
| NSRect | bounds |
| BOOL | _msaa |
| NSMutableArray * | screenSizes |
| int | currentSize |
| BOOL | fullScreen |
| NSSize | currentWindowSize |
| BOOL | showSplashScreen |
| SDL_Window * | splashWindow |
| SDL_Window * | window |
| SDL_GLContext | glContext |
| int | bitsPerColorComponent |
| BOOL | vSyncPreference |
| int | _sdrToneMapper |
| float | _colorSaturation |
| BOOL | _hdrOutput |
| BOOL | grabMouseStatus |
| NSSize | firstScreen |
| BOOL | mouseInDeltaMode |
Private Attributes | |
| GameController * | gameController |
| BOOL | keys [NUM_KEYS] |
| int | scancode2Unicode [NUM_KEYS] |
| NSDictionary * | keyMappings_normal |
| NSDictionary * | keyMappings_shifted |
| BOOL | suppressKeys |
| BOOL | opt |
| BOOL | ctrl |
| BOOL | command |
| BOOL | shift |
| BOOL | capsLockOn |
| BOOL | lastKeyShifted |
| BOOL | allowingStringInput |
| BOOL | isAlphabetKeyDown |
| BOOL | commandQ |
| BOOL | commandF |
| BOOL | f12 |
| int | keycodetrans [255] |
| BOOL | m_glContextInitialized |
| NSTimeInterval | timeIntervalAtLastClick |
| NSTimeInterval | timeIntervalAtLastMouseWheel |
| BOOL | doubleClick |
| NSMutableString * | typedString |
| NSPoint | virtualJoystickPosition |
| float | _mouseWheelDelta |
| NSSize | viewSize |
| NSSize | backingViewSize |
| GLfloat | display_z |
| GLfloat | x_offset |
| GLfloat | y_offset |
| float | _fov |
| int | _virtualScreen |
| NSData * | _pixelFormatAttributes |
| OOOpenGLMatrixManager * | matrixManager |
Definition at line 123 of file MyOpenGLView.h.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) adjustColorSaturation: | (float) | colorSaturationAdjustment |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteSetProperty().
Here is the caller graph for this function:| - (enum StringInput) allowingStringInput |
| - (enum StringInput) allowingStringInput |
| - (void) allowStringInput: | (BOOL) | value |
Definition at line 50 of file MyOpenGLView.m.
| - (void) allowStringInput: | (BOOL) | value |
|
implementation |
Definition at line 1341 of file MyOpenGLView.m.
References GetDesiredCursorState().
Here is the call graph for this function:| - (void) autoShowMouse |
Definition at line 50 of file MyOpenGLView.m.
| - (NSSize) backingViewSize |
| - (NSSize) backingViewSize |
| - (NSRect) bounds |
| - (void) clearCommandF |
Definition at line 50 of file MyOpenGLView.m.
| - (void) clearCommandF |
| - (void) clearKey: | (int) | theKey |
Definition at line 50 of file MyOpenGLView.m.
| - (void) clearKey: | (int) | theKey |
| - (void) clearKeys |
Definition at line 50 of file MyOpenGLView.m.
| - (void) clearKeys |
| - (void) clearMouse |
Definition at line 50 of file MyOpenGLView.m.
| - (void) clearMouse |
| - (float) colorSaturation |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteSetProperty().
Here is the caller graph for this function:| - (void) createWindowWithSize: | (NSSize) | size |
Definition at line 50 of file MyOpenGLView.m.
| - (NSDictionary *) currentScreenMode |
Definition at line 50 of file MyOpenGLView.m.
| - (NSSize) currentScreenSize |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) display |
Definition at line 50 of file MyOpenGLView.m.
| - (GLfloat) display_z |
| - (GLfloat) display_z |
| - (void) drawRect: | (NSRect) | rect |
Definition at line 50 of file MyOpenGLView.m.
| - (void) drawRect: | (NSRect) | rect |
| - (void) dumpGrayAlphaToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OODumpPixMap().
Here is the caller graph for this function:| - (void) dumpGrayAlphaToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
| - (void) dumpGrayToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OODumpPixMap().
Here is the caller graph for this function:| - (void) dumpGrayToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
| - (void) dumpRGBAToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
Definition at line 50 of file MyOpenGLView.m.
| - (void) dumpRGBAToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
| - (void) dumpRGBAToRGBFileNamed: | (NSString *) | rgbName | |
| andGrayFileNamed: | (NSString *) | grayName | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OODumpPixMap().
Here is the caller graph for this function:| - (void) dumpRGBAToRGBFileNamed: | (NSString *) | rgbName | |
| andGrayFileNamed: | (NSString *) | grayName | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
| - (void) dumpRGBToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
Definition at line 50 of file MyOpenGLView.m.
| - (void) dumpRGBToFileNamed: | (NSString *) | name | |
| bytes: | (uint8_t *) | bytes | |
| width: | (NSUInteger) | width | |
| height: | (NSUInteger) | height | |
| rowBytes: | (NSUInteger) | rowBytes | |
| - (void) endSplashScreen |
Definition at line 50 of file MyOpenGLView.m.
| - (int) findDisplayModeForWidth: | (unsigned int) | d_width | |
| Height: | (unsigned int) | d_height | |
| Refresh: | (unsigned int) | d_refresh | |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (float) fov: | (BOOL) | inFraction |
Definition at line 1350 of file MyOpenGLView.m.
References GetDesiredCursorState().
Referenced by HeadUpDisplay::drawScannerGrid.
Here is the call graph for this function:
Here is the caller graph for this function:| - (float) fov: | (BOOL) | inFraction |
| - (GameController *) gameController |
| - (GameController *) gameController |
| - (float) gammaValue |
Definition at line 1350 of file MyOpenGLView.m.
|
implementation |
Definition at line 1332 of file MyOpenGLView.m.
References MOUSE_MODE_FLIGHT_NO_MOUSE_CONTROL, and MOUSE_MODE_FLIGHT_WITH_MOUSE_CONTROL.
| - (SDL_DisplayID) getDisplayId |
Definition at line 50 of file MyOpenGLView.m.
| - (NSMutableDictionary *) getNativeSize |
Definition at line 50 of file MyOpenGLView.m.
| - (OOOpenGLMatrixManager *) getOpenGLMatrixManager |
Definition at line 50 of file MyOpenGLView.m.
| - (OOOpenGLMatrixManager *) getOpenGLMatrixManager |
| - (NSMutableArray *) getScreenSizeArray |
| - (NSString *) getWindowCaption |
Definition at line 50 of file MyOpenGLView.m.
| - (void) grabMouseInsideGameWindow: | (BOOL) | value |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Provided by category MyOpenGLView(OOPrivate).
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) hdrOutput |
Definition at line 50 of file MyOpenGLView.m.
| - (int) indexOfCurrentSize |
| - (BOOL) inFullScreenMode |
Definition at line 50 of file MyOpenGLView.m.
| - (void) initialiseGLWithSize: | (NSSize) | v_size |
Definition at line 50 of file MyOpenGLView.m.
| - (void) initialiseGLWithSize: | (NSSize) | v_size |
| - (void) initialiseGLWithSize: | (NSSize) | v_size | |
| useVideoMode: | (BOOL) | v_mode | |
Definition at line 50 of file MyOpenGLView.m.
| - (void) initKeyMappingData |
Definition at line 50 of file MyOpenGLView.m.
| - (void) initKeyMappingData |
| - (void) initSplashScreen |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isAlphabetKeyDown |
| - (BOOL) isAlphabetKeyDown |
| - (BOOL) isCapsLockOn |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isCapsLockOn |
| - (BOOL) isCommandDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isCommandDown |
| - (BOOL) isCommandFDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isCommandFDown |
|
implementation |
Provided by category MyOpenGLView(OOLoadSaveExtensions).
Definition at line 1011 of file PlayerEntityLoadSave.m.
| - (BOOL) isCommandQDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isCommandQDown |
| - (BOOL) isCtrlDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isCtrlDown |
| - (BOOL) isDown: | (int) | key |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isDown: | (int) | key |
| - (BOOL) isOptDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isOptDown |
| - (BOOL) isOutputDisplayHDREnabled |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isRunningOnPrimaryDisplayDevice |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isShiftDown |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) isShiftDown |
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteApp::sendEvent:.
Here is the caller graph for this function:
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteApp::sendEvent:.
Here is the caller graph for this function:| - (BOOL) lastKeyWasShifted |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) lastKeyWasShifted |
| - (int) loadFullscreenSettings |
Definition at line 50 of file MyOpenGLView.m.
| - (NSSize) loadWindowSize |
Definition at line 50 of file MyOpenGLView.m.
| - (NSSize) modeAsSize: | (int) | sizeIndex |
| - (void) mouseDown: | (NSEvent *) | theEvent |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) mouseUp: | (NSEvent *) | theEvent |
Definition at line 50 of file MyOpenGLView.m.
| - (float) mouseWheelDelta |
Definition at line 50 of file MyOpenGLView.m.
| - (float) mouseWheelDelta |
| - (int) mouseWheelState |
Definition at line 50 of file MyOpenGLView.m.
| - (int) mouseWheelState |
| - (BOOL) msaa |
Definition at line 50 of file MyOpenGLView.m.
| - (void) noteMouseInteractionModeChangedFrom: | (OOMouseInteractionMode) | oldMode | |
| to: | (OOMouseInteractionMode) | newMode | |
Definition at line 50 of file MyOpenGLView.m.
| - (void) noteMouseInteractionModeChangedFrom: | (OOMouseInteractionMode) | oldMode | |
| to: | (OOMouseInteractionMode) | newMode | |
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (int) numKeys |
Definition at line 50 of file MyOpenGLView.m.
| - (int) numKeys |
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (NSData *) pixelFormatAttributes |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) pollControls |
Definition at line 50 of file MyOpenGLView.m.
| - (void) pollControls |
| + (BOOL) pollShiftKey |
Definition at line 50 of file MyOpenGLView.m.
| + (BOOL) pollShiftKey |
| - (void) populateFullScreenModelist |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Provided by category MyOpenGLView(Internal).
Definition at line 50 of file MyOpenGLView.m.
| - (void) resetMouse |
Definition at line 50 of file MyOpenGLView.m.
| - (void) resetMouse |
|
implementation |
Provided by category MyOpenGLView(OOPrivate).
Definition at line 50 of file MyOpenGLView.m.
| - (void) resetTypedString |
Definition at line 50 of file MyOpenGLView.m.
| - (void) resetTypedString |
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) saveWindowSize: | (NSSize) | windowSize |
Definition at line 50 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (OOSDRToneMapper) sdrToneMapper |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setDisplayMode: | (int) | mode | |
| fullScreen: | (BOOL) | fsm | |
| - (void) setFov: | (float) | value | |
| fromFraction: | (BOOL) | fromFraction | |
Definition at line 1350 of file MyOpenGLView.m.
| - (void) setFov: | (float) | value | |
| fromFraction: | (BOOL) | fromFraction | |
| - (void) setFullScreenMode: | (BOOL) | fsm |
| - (void) setGameController: | (GameController *) | controller |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setGameController: | (GameController *) | controller |
| - (void) setGammaValue: | (float) | value |
Definition at line 1350 of file MyOpenGLView.m.
| - (void) setMouseInDeltaMode: | (BOOL) | inDelta |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setMouseWheelDelta: | (float) | newWheelDelta |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setMouseWheelDelta: | (float) | newWheelDelta |
| - (void) setMsaa: | (BOOL) | newMsaa |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setScreenSize: | (int) | sizeIndex |
| - (void) setSDRToneMapper: | (OOSDRToneMapper) | newToneMapper |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteSetProperty().
Here is the caller graph for this function:| - (void) setStringInput: | (enum StringInput) | value |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setStringInput: | (enum StringInput) | value |
| - (void) setTypedString: | (NSString*) | value |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setTypedString: | (NSString *) | value |
| - (void) setVirtualJoystick: | (double) | ||
| vmx: | (double) | vmy | |
Definition at line 50 of file MyOpenGLView.m.
| - (void) setVirtualJoystick: | (double) | ||
| vmx: | (double) | vmy | |
|
implementation |
Provided by category MyOpenGLView(OOPrivate).
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) snapShot: | (NSString *) | filename |
Definition at line 50 of file MyOpenGLView.m.
| - (BOOL) snapShot: | (NSString *) | filename |
| - (void) stringToClipboard: | (NSString *) | stringToCopy |
Definition at line 50 of file MyOpenGLView.m.
| - (void) stringToClipboard: | (NSString *) | stringToCopy |
| - (void) suppressKeysUntilKeyUp |
Definition at line 50 of file MyOpenGLView.m.
| - (void) suppressKeysUntilKeyUp |
| - (void) toggleScreenMode |
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
Provided by category MyOpenGLView(Internal).
Definition at line 50 of file MyOpenGLView.m.
| - (NSString *) typedString |
| - (NSString *) typedString |
|
implementation |
Definition at line 1350 of file MyOpenGLView.m.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
| - (void) updateScreen |
Definition at line 50 of file MyOpenGLView.m.
| - (void) updateScreen |
| - (void) updateScreenWithVideoMode: | (BOOL) | v_mode |
Definition at line 50 of file MyOpenGLView.m.
| - (NSSize) viewSize |
| - (NSSize) viewSize |
| - (NSPoint) virtualJoystickPosition |
| - (NSPoint) virtualJoystickPosition |
| - (GLfloat) x_offset |
| - (GLfloat) x_offset |
| - (GLfloat) y_offset |
| - (GLfloat) y_offset |
|
protected |
Definition at line 245 of file MyOpenGLView.h.
|
private |
Definition at line 160 of file MyOpenGLView.h.
|
protected |
Definition at line 247 of file MyOpenGLView.h.
|
protected |
Definition at line 200 of file MyOpenGLView.h.
|
private |
Definition at line 153 of file MyOpenGLView.h.
|
protected |
Definition at line 210 of file MyOpenGLView.h.
|
private |
Definition at line 163 of file MyOpenGLView.h.
|
protected |
Definition at line 243 of file MyOpenGLView.h.
|
private |
Definition at line 162 of file MyOpenGLView.h.
|
private |
Definition at line 136 of file MyOpenGLView.h.
|
protected |
Definition at line 182 of file MyOpenGLView.h.
|
private |
Definition at line 156 of file MyOpenGLView.h.
|
protected |
Definition at line 224 of file MyOpenGLView.h.
|
protected |
Definition at line 207 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
private |
Definition at line 139 of file MyOpenGLView.h.
|
private |
Definition at line 138 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
protected |
Definition at line 214 of file MyOpenGLView.h.
|
protected |
Definition at line 218 of file MyOpenGLView.h.
|
private |
Definition at line 157 of file MyOpenGLView.h.
|
private |
Definition at line 148 of file MyOpenGLView.h.
|
private |
Definition at line 140 of file MyOpenGLView.h.
|
protected |
Definition at line 251 of file MyOpenGLView.h.
|
protected |
Definition at line 215 of file MyOpenGLView.h.
|
private |
Definition at line 126 of file MyOpenGLView.h.
|
protected |
Definition at line 223 of file MyOpenGLView.h.
|
protected |
Definition at line 249 of file MyOpenGLView.h.
|
private |
Definition at line 137 of file MyOpenGLView.h.
|
private |
Definition at line 142 of file MyOpenGLView.h.
|
private |
Definition at line 130 of file MyOpenGLView.h.
|
private |
Definition at line 131 of file MyOpenGLView.h.
|
private |
Definition at line 128 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
private |
Definition at line 144 of file MyOpenGLView.h.
|
private |
Definition at line 165 of file MyOpenGLView.h.
|
protected |
Definition at line 188 of file MyOpenGLView.h.
|
protected |
Definition at line 256 of file MyOpenGLView.h.
|
protected |
Definition at line 190 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
private |
Definition at line 129 of file MyOpenGLView.h.
|
protected |
Definition at line 213 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
protected |
Definition at line 220 of file MyOpenGLView.h.
|
protected |
Definition at line 221 of file MyOpenGLView.h.
|
protected |
Definition at line 206 of file MyOpenGLView.h.
|
protected |
Definition at line 206 of file MyOpenGLView.h.
|
private |
Definition at line 133 of file MyOpenGLView.h.
|
private |
Definition at line 146 of file MyOpenGLView.h.
|
private |
Definition at line 147 of file MyOpenGLView.h.
|
protected |
Definition at line 193 of file MyOpenGLView.h.
|
private |
Definition at line 150 of file MyOpenGLView.h.
|
private |
Definition at line 155 of file MyOpenGLView.h.
Referenced by HeadUpDisplay::drawScannerGrid.
|
private |
Definition at line 152 of file MyOpenGLView.h.
|
protected |
Definition at line 225 of file MyOpenGLView.h.
|
protected |
Definition at line 222 of file MyOpenGLView.h.
|
private |
Definition at line 158 of file MyOpenGLView.h.
|
private |
Definition at line 158 of file MyOpenGLView.h.