Oolite 1.91.0.7646-241128-10e222e
|
#include <MyOpenGLView.h>
Class Methods | |
(BOOL) | + pollShiftKey |
(NSMutableDictionary *) | + getNativeSize |
(BOOL) | + pollShiftKey |
(static void) | + GetDesiredCursorState [implementation] |
(static void) | + ApplyCursorState [implementation] |
(static void) | + UnapplyCursorState [implementation] |
Protected Attributes | |
NSPoint | mouseDragStartPoint |
BOOL | mouseWarped |
NSTimeInterval | timeSinceLastMouseWheel |
float | _mouseVirtualStickSensitivityFactor |
double | squareX |
double | squareY |
NSRect | bounds |
float | _gamma |
BOOL | _msaa |
NSMutableArray * | screenSizes |
int | currentSize |
BOOL | fullScreen |
NSSize | currentWindowSize |
SDL_Surface * | surface |
BOOL | showSplashScreen |
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 GlobalSetColorSaturation().
- (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().
- (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 GlobalSetColorSaturation().
|
implementation |
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().
- (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().
- (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().
- (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.
- (float) fov: | (BOOL) | inFraction |
- (GameController *) gameController |
- (GameController *) gameController |
- (float) gammaValue |
Definition at line 1350 of file MyOpenGLView.m.
- (float) gammaValue |
|
implementation |
Definition at line 1332 of file MyOpenGLView.m.
References MOUSE_MODE_FLIGHT_NO_MOUSE_CONTROL, and MOUSE_MODE_FLIGHT_WITH_MOUSE_CONTROL.
+ (NSMutableDictionary *) getNativeSize |
Definition at line 50 of file MyOpenGLView.m.
- (OOOpenGLMatrixManager *) getOpenGLMatrixManager |
Definition at line 50 of file MyOpenGLView.m.
- (OOOpenGLMatrixManager *) getOpenGLMatrixManager |
- (NSMutableArray *) getScreenSizeArray |
- (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 1003 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:.
|
implementation |
Definition at line 50 of file MyOpenGLView.m.
Referenced by OoliteApp::sendEvent:.
- (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.
- (BOOL) pngSaveSurface: | (NSString *) | fileName | |
withSurface: | (SDL_Surface *) | surf |
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.
- (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) setGammaValue: | (float) | value |
- (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) 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 219 of file MyOpenGLView.h.
|
private |
Definition at line 160 of file MyOpenGLView.h.
|
protected |
Definition at line 189 of file MyOpenGLView.h.
|
protected |
Definition at line 221 of file MyOpenGLView.h.
|
protected |
Definition at line 180 of file MyOpenGLView.h.
|
private |
Definition at line 153 of file MyOpenGLView.h.
|
protected |
Definition at line 191 of file MyOpenGLView.h.
|
private |
Definition at line 163 of file MyOpenGLView.h.
|
private |
Definition at line 162 of file MyOpenGLView.h.
|
private |
Definition at line 136 of file MyOpenGLView.h.
|
private |
Definition at line 156 of file MyOpenGLView.h.
|
protected |
Definition at line 187 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 195 of file MyOpenGLView.h.
|
protected |
Definition at line 199 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 225 of file MyOpenGLView.h.
|
protected |
Definition at line 196 of file MyOpenGLView.h.
|
private |
Definition at line 126 of file MyOpenGLView.h.
|
protected |
Definition at line 223 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 168 of file MyOpenGLView.h.
|
protected |
Definition at line 230 of file MyOpenGLView.h.
|
protected |
Definition at line 170 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 194 of file MyOpenGLView.h.
|
private |
Definition at line 135 of file MyOpenGLView.h.
|
protected |
Definition at line 202 of file MyOpenGLView.h.
|
protected |
Definition at line 186 of file MyOpenGLView.h.
|
protected |
Definition at line 186 of file MyOpenGLView.h.
|
private |
Definition at line 133 of file MyOpenGLView.h.
|
protected |
Definition at line 200 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 173 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.
|
private |
Definition at line 158 of file MyOpenGLView.h.
|
private |
Definition at line 158 of file MyOpenGLView.h.