The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Package OpenTK.Platform.MacOS.Carbon

Typedefs

using CFRunLoop = System.IntPtr
 
using CGDirectDisplayID = System.IntPtr
 

Enumerations

enum  EventAttributes : uint { kEventAttributeNone = 0, kEventAttributeUserEvent = (1 << 0), kEventAttributeMonitored = 1 << 3 }
 
enum  AppleEventKind : int { AppleEvent = 1 }
 
enum  ProcessApplicationTransformState : int { kProcessTransformToForegroundApplication = 1 }
 
enum  HICoordinateSpace { _72DPIGlobal = 1, ScreenPixel = 2, Window = 3, View = 4 }
 
enum  MacOSKeyCode {
  A = 0, B = 11, C = 8, D = 2,
  E = 14, F = 3, G = 5, H = 4,
  I = 34, J = 38, K = 40, L = 37,
  M = 46, N = 45, O = 31, P = 35,
  Q = 12, R = 15, S = 1, T = 17,
  U = 32, V = 9, W = 13, X = 7,
  Y = 16, Z = 6, Key_1 = 18, Key_2 = 19,
  Key_3 = 20, Key_4 = 21, Key_5 = 23, Key_6 = 22,
  Key_7 = 26, Key_8 = 28, Key_9 = 25, Key_0 = 29,
  Space = 49, Tilde = 50, Minus = 27, Equals = 24,
  BracketLeft = 33, BracketRight = 30, Backslash = 42, Semicolon = 41,
  Quote = 39, Comma = 43, Period = 47, Slash = 44,
  Enter = 36, Tab = 48, Backspace = 51, Return = 52,
  Esc = 53, Command = 55, Shift = 56, CapsLock = 57,
  OptionAlt = 58, Control = 59, KeyPad_Decimal = 65, KeyPad_Multiply = 67,
  KeyPad_Add = 69, KeyPad_Divide = 75, KeyPad_Enter = 76, KeyPad_Subtract = 78,
  KeyPad_Equal = 81, KeyPad_0 = 82, KeyPad_1 = 83, KeyPad_2 = 84,
  KeyPad_3 = 85, KeyPad_4 = 86, KeyPad_5 = 87, KeyPad_6 = 88,
  KeyPad_7 = 89, KeyPad_8 = 91, KeyPad_9 = 92, F1 = 122,
  F2 = 120, F3 = 99, F4 = 118, F5 = 96,
  F6 = 97, F7 = 98, F8 = 100, F9 = 101,
  F10 = 109, F11 = 103, F12 = 111, F13 = 105,
  F14 = 107, F15 = 113, Menu = 110, Insert = 114,
  Home = 115, Pageup = 116, Del = 117, End = 119,
  Pagedown = 121, Up = 126, Down = 125, Left = 123,
  Right = 124
}
 
enum  MacOSKeyModifiers {
  None = 0, Shift = 0x0200, CapsLock = 0x0400, Control = 0x1000,
  Command = 0x0100, Option = 0x0800
}
 
enum  CGDisplayErr
 
enum  CGError {
  Success = 0, Failure = 1000, IllegalArgument = 1001, InvalidConnection = 1002,
  InvalidContext = 1003, CannotComplete = 1004, NotImplemented = 1006, RangeCheck = 1007,
  TypeCheck = 1008, InvalidOperation = 1010, NoneAvailable = 1011
}