Oolite 1.91.0.7699-250829-cea269d
Loading...
Searching...
No Matches
MyOpenGLView.m File Reference
import "MyOpenGLView.h"
import "GameController.h"
import "Universe.h"
import "Entity.h"
import "OOPlanetEntity.h"
import "ResourceManager.h"
import "GuiDisplayGen.h"
import <Carbon/Carbon.h>
import "NSFileManagerOOExtensions.h"
import "OOGraphicsResetManager.h"
import "PlayerEntity.h"
import <Foundation/NSDebug.h>
Include dependency graph for MyOpenGLView.m:

Go to the source code of this file.

Classes

category  MyOpenGLView(Internal)
category  NSView(Lion)

Macros

#define KEYMAP_GET(m, index)

Functions

static void GetDesiredCursorState (OOMouseInteractionMode mode, BOOL *outHidden, BOOL *outObscured)
static void ApplyCursorState (OOMouseInteractionMode mode)
static void UnapplyCursorState (OOMouseInteractionMode mode)

Variables

static NSString * kOOLogKeyCodeOutOfRange = @"input.keyMapping.codeOutOfRange"
static NSString * kOOLogKeyUp = @"input.keyMapping.keyPress.keyUp"
static NSString * kOOLogKeyDown = @"input.keyMapping.keyPress.keyDown"

Macro Definition Documentation

◆ KEYMAP_GET

#define KEYMAP_GET ( m,
index )
Value:
((((uint8_t*)(m))[(index) >> 3] & (1L << ((index) & 7))) ? 1 : 0)

Function Documentation

◆ ApplyCursorState()

void ApplyCursorState ( OOMouseInteractionMode mode)
static

◆ GetDesiredCursorState()

void GetDesiredCursorState ( OOMouseInteractionMode mode,
BOOL * outHidden,
BOOL * outObscured )
static

Referenced by MyOpenGLView::ApplyCursorState, and MyOpenGLView::UnapplyCursorState.

Here is the caller graph for this function:

◆ UnapplyCursorState()

void UnapplyCursorState ( OOMouseInteractionMode mode)
static

Variable Documentation

◆ kOOLogKeyCodeOutOfRange

NSString* kOOLogKeyCodeOutOfRange = @"input.keyMapping.codeOutOfRange"
static

Definition at line 43 of file MyOpenGLView.m.

Referenced by MyOpenGLView::keyDown:, and MyOpenGLView::keyUp:.

◆ kOOLogKeyDown

NSString* kOOLogKeyDown = @"input.keyMapping.keyPress.keyDown"
static

Definition at line 45 of file MyOpenGLView.m.

Referenced by MyOpenGLView::keyDown:, and MyOpenGLView::pollControls.

◆ kOOLogKeyUp

NSString* kOOLogKeyUp = @"input.keyMapping.keyPress.keyUp"
static

Definition at line 44 of file MyOpenGLView.m.

Referenced by MyOpenGLView::keyUp:, and MyOpenGLView::pollControls.