The Open Toolkit library  1.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Typedefs | Enumerations
Package OpenTK.Platform.SDL2

Typedefs

using Code = Scancode
 

Enumerations

enum  Button : byte {
  Left = 1, Middle, Right, X1,
  X2
}
 
enum  ButtonFlags {
  Left = 1 << (Button.Left - 1), Middle = 1 << (Button.Middle - 1), Right = 1 << (Button.Right - 1), X1 = 1 << (Button.X1 - 1),
  X2 = 1 << (Button.X2 - 1)
}
 
enum  ContextAttribute {
  RED_SIZE, GREEN_SIZE, BLUE_SIZE, ALPHA_SIZE,
  BUFFER_SIZE, DOUBLEBUFFER, DEPTH_SIZE, STENCIL_SIZE,
  ACCUM_RED_SIZE, ACCUM_GREEN_SIZE, ACCUM_BLUE_SIZE, ACCUM_ALPHA_SIZE,
  STEREO, MULTISAMPLEBUFFERS, MULTISAMPLESAMPLES, ACCELERATED_VISUAL,
  RETAINED_BACKING, CONTEXT_MAJOR_VERSION, CONTEXT_MINOR_VERSION, CONTEXT_EGL,
  CONTEXT_FLAGS, CONTEXT_PROFILE_MASK, SHARE_WITH_CURRENT_CONTEXT
}
 
enum  ContextFlags { DEBUG = 0x0001, FORWARD_COMPATIBLE = 0x0002, ROBUST_ACCESS = 0x0004, RESET_ISOLATION = 0x0008 }
 
enum  ContextProfileFlags { CORE = 0x0001, COMPATIBILITY = 0x0002, ES = 0x0004 }
 
enum  EventState { Query = -1, Ignore = 0, Enable = 1 }
 
enum  EventType {
  FIRSTEVENT = 0, QUIT = 0x100, WINDOWEVENT = 0x200, SYSWMEVENT,
  KEYDOWN = 0x300, KEYUP, TEXTEDITING, TEXTINPUT,
  MOUSEMOTION = 0x400, MOUSEBUTTONDOWN, MOUSEBUTTONUP, MOUSEWHEEL,
  JOYAXISMOTION = 0x600, JOYBALLMOTION, JOYHATMOTION, JOYBUTTONDOWN,
  JOYBUTTONUP, JOYDEVICEADDED, JOYDEVICEREMOVED, CONTROLLERAXISMOTION = 0x650,
  CONTROLLERBUTTONDOWN, CONTROLLERBUTTONUP, CONTROLLERDEVICEADDED, CONTROLLERDEVICEREMOVED,
  CONTROLLERDEVICEREMAPPED, FINGERDOWN = 0x700, FINGERUP, FINGERMOTION,
  DOLLARGESTURE = 0x800, DOLLARRECORD, MULTIGESTURE, CLIPBOARDUPDATE = 0x900,
  DROPFILE = 0x1000, USEREVENT = 0x8000, LASTEVENT = 0xFFFF
}
 
enum  GameControllerAxis : byte {
  Invalid = 0xff, LeftX = 0, LeftY, RightX,
  RightY, TriggerLeft, TriggerRight, Max
}
 
enum  GameControllerButton : byte {
  INVALID = 0xff, A = 0, B, X,
  Y, BACK, GUIDE, START,
  LEFTSTICK, RIGHTSTICK, LEFTSHOULDER, RIGHTSHOULDER,
  DPAD_UP, DPAD_DOWN, DPAD_LEFT, DPAD_RIGHT,
  Max
}
 
enum  GameControllerBindType : byte { None = 0, Button, Axis, Hat }
 
enum  HatPosition : byte {
  Centered = 0x00, Up = 0x01, Right = 0x02, Down = 0x03,
  Left = 0x04, RightUp = Right | Up, RightDown = Right | Down, LeftUp = Left | Up,
  LeftDown = Left | Down
}
 
enum  Keycode {
  UNKNOWN = 0, RETURN = '\r', ESCAPE = 27, BACKSPACE = '\b',
  TAB = '\t', SPACE = ' ', EXCLAIM = '!', QUOTEDBL = '"',
  HASH = '#', PERCENT = '', DOLLAR = '$', AMPERSAND = '&',
  QUOTE = '\'', LEFTPAREN = '(', RIGHTPAREN = ')', ASTERISK = '*',
  PLUS = '+', COMMA = ',', MINUS = '-', PERIOD = '.',
  SLASH = '/', Num0 = '0', Num1 = '1', Num2 = '2',
  Num3 = '3', Num4 = '4', Num5 = '5', Num6 = '6',
  Num7 = '7', Num8 = '8', Num9 = '9', COLON = ':',
  SEMICOLON = ';', LESS = '<', EQUALS = '=', GREATER = '>',
  QUESTION = '?', AT = '@', LEFTBRACKET = '[', BACKSLASH = '\\',
  RIGHTBRACKET = ']', CARET = '^', UNDERSCORE = '_', BACKQUOTE = '`',
  a = 'a', b = 'b', c = 'c', d = 'd',
  e = 'e', f = 'f', g = 'g', h = 'h',
  i = 'i', j = 'j', k = 'k', l = 'l',
  m = 'm', n = 'n', o = 'o', p = 'p',
  q = 'q', r = 'r', s = 's', t = 't',
  u = 'u', v = 'v', w = 'w', x = 'x',
  y = 'y', z = 'z', CAPSLOCK = (1 << 30) | (int)Scancode.CAPSLOCK, F1 = (1 << 30) | (int)Scancode.F1,
  F2 = (1 << 30) | (int)Scancode.F2, F3 = (1 << 30) | (int)Scancode.F3, F4 = (1 << 30) | (int)Scancode.F4, F5 = (1 << 30) | (int)Scancode.F5,
  F6 = (1 << 30) | (int)Scancode.F6, F7 = (1 << 30) | (int)Scancode.F7, F8 = (1 << 30) | (int)Scancode.F8, F9 = (1 << 30) | (int)Scancode.F9,
  F10 = (1 << 30) | (int)Scancode.F10, F11 = (1 << 30) | (int)Scancode.F11, F12 = (1 << 30) | (int)Scancode.F12, PRINTSCREEN = (1 << 30) | (int)Scancode.PRINTSCREEN,
  SCROLLLOCK = (1 << 30) | (int)Scancode.SCROLLLOCK, PAUSE = (1 << 30) | (int)Scancode.PAUSE, INSERT = (1 << 30) | (int)Scancode.INSERT, HOME = (1 << 30) | (int)Scancode.HOME,
  PAGEUP = (1 << 30) | (int)Scancode.PAGEUP, DELETE = 127, END = (1 << 30) | (int)Scancode.END, PAGEDOWN = (1 << 30) | (int)Scancode.PAGEDOWN,
  RIGHT = (1 << 30) | (int)Scancode.RIGHT, LEFT = (1 << 30) | (int)Scancode.LEFT, DOWN = (1 << 30) | (int)Scancode.DOWN, UP = (1 << 30) | (int)Scancode.UP,
  NUMLOCKCLEAR = (1 << 30) | (int)Scancode.NUMLOCKCLEAR, KP_DIVIDE = (1 << 30) | (int)Scancode.KP_DIVIDE, KP_MULTIPLY = (1 << 30) | (int)Scancode.KP_MULTIPLY, KP_MINUS = (1 << 30) | (int)Scancode.KP_MINUS,
  KP_PLUS = (1 << 30) | (int)Scancode.KP_PLUS, KP_ENTER = (1 << 30) | (int)Scancode.KP_ENTER, KP_1 = (1 << 30) | (int)Scancode.KP_1, KP_2 = (1 << 30) | (int)Scancode.KP_2,
  KP_3 = (1 << 30) | (int)Scancode.KP_3, KP_4 = (1 << 30) | (int)Scancode.KP_4, KP_5 = (1 << 30) | (int)Scancode.KP_5, KP_6 = (1 << 30) | (int)Scancode.KP_6,
  KP_7 = (1 << 30) | (int)Scancode.KP_7, KP_8 = (1 << 30) | (int)Scancode.KP_8, KP_9 = (1 << 30) | (int)Scancode.KP_9, KP_0 = (1 << 30) | (int)Scancode.KP_0,
  KP_PERIOD = (1 << 30) | (int)Scancode.KP_PERIOD, APPLICATION = (1 << 30) | (int)Scancode.APPLICATION, POWER = (1 << 30) | (int)Scancode.POWER, KP_EQUALS = (1 << 30) | (int)Scancode.KP_EQUALS,
  F13 = (1 << 30) | (int)Scancode.F13, F14 = (1 << 30) | (int)Scancode.F14, F15 = (1 << 30) | (int)Scancode.F15, F16 = (1 << 30) | (int)Scancode.F16,
  F17 = (1 << 30) | (int)Scancode.F17, F18 = (1 << 30) | (int)Scancode.F18, F19 = (1 << 30) | (int)Scancode.F19, F20 = (1 << 30) | (int)Scancode.F20,
  F21 = (1 << 30) | (int)Scancode.F21, F22 = (1 << 30) | (int)Scancode.F22, F23 = (1 << 30) | (int)Scancode.F23, F24 = (1 << 30) | (int)Scancode.F24,
  EXECUTE = (1 << 30) | (int)Scancode.EXECUTE, HELP = (1 << 30) | (int)Scancode.HELP, MENU = (1 << 30) | (int)Scancode.MENU, SELECT = (1 << 30) | (int)Scancode.SELECT,
  STOP = (1 << 30) | (int)Scancode.STOP, AGAIN = (1 << 30) | (int)Scancode.AGAIN, UNDO = (1 << 30) | (int)Scancode.UNDO, CUT = (1 << 30) | (int)Scancode.CUT,
  COPY = (1 << 30) | (int)Scancode.COPY, PASTE = (1 << 30) | (int)Scancode.PASTE, FIND = (1 << 30) | (int)Scancode.FIND, MUTE = (1 << 30) | (int)Scancode.MUTE,
  VOLUMEUP = (1 << 30) | (int)Scancode.VOLUMEUP, VOLUMEDOWN = (1 << 30) | (int)Scancode.VOLUMEDOWN, KP_COMMA = (1 << 30) | (int)Scancode.KP_COMMA, KP_EQUALSAS400 = (1 << 30) | (int)Scancode.KP_EQUALSAS400,
  ALTERASE = (1 << 30) | (int)Scancode.ALTERASE, SYSREQ = (1 << 30) | (int)Scancode.SYSREQ, CANCEL = (1 << 30) | (int)Scancode.CANCEL, CLEAR = (1 << 30) | (int)Scancode.CLEAR,
  PRIOR = (1 << 30) | (int)Scancode.PRIOR, RETURN2 = (1 << 30) | (int)Scancode.RETURN2, SEPARATOR = (1 << 30) | (int)Scancode.SEPARATOR, OUT = (1 << 30) | (int)Scancode.OUT,
  OPER = (1 << 30) | (int)Scancode.OPER, CLEARAGAIN = (1 << 30) | (int)Scancode.CLEARAGAIN, CRSEL = (1 << 30) | (int)Scancode.CRSEL, EXSEL = (1 << 30) | (int)Scancode.EXSEL,
  KP_00 = (1 << 30) | (int)Scancode.KP_00, KP_000 = (1 << 30) | (int)Scancode.KP_000, THOUSANDSSEPARATOR = (1 << 30) | (int)Scancode.THOUSANDSSEPARATOR, DECIMALSEPARATOR = (1 << 30) | (int)Scancode.DECIMALSEPARATOR,
  CURRENCYUNIT = (1 << 30) | (int)Scancode.CURRENCYUNIT, CURRENCYSUBUNIT = (1 << 30) | (int)Scancode.CURRENCYSUBUNIT, KP_LEFTPAREN = (1 << 30) | (int)Scancode.KP_LEFTPAREN, KP_RIGHTPAREN = (1 << 30) | (int)Scancode.KP_RIGHTPAREN,
  KP_LEFTBRACE = (1 << 30) | (int)Scancode.KP_LEFTBRACE, KP_RIGHTBRACE = (1 << 30) | (int)Scancode.KP_RIGHTBRACE, KP_TAB = (1 << 30) | (int)Scancode.KP_TAB, KP_BACKSPACE = (1 << 30) | (int)Scancode.KP_BACKSPACE,
  KP_A = (1 << 30) | (int)Scancode.KP_A, KP_B = (1 << 30) | (int)Scancode.KP_B, KP_C = (1 << 30) | (int)Scancode.KP_C, KP_D = (1 << 30) | (int)Scancode.KP_D,
  KP_E = (1 << 30) | (int)Scancode.KP_E, KP_F = (1 << 30) | (int)Scancode.KP_F, KP_XOR = (1 << 30) | (int)Scancode.KP_XOR, KP_POWER = (1 << 30) | (int)Scancode.KP_POWER,
  KP_PERCENT = (1 << 30) | (int)Scancode.KP_PERCENT, KP_LESS = (1 << 30) | (int)Scancode.KP_LESS, KP_GREATER = (1 << 30) | (int)Scancode.KP_GREATER, KP_AMPERSAND = (1 << 30) | (int)Scancode.KP_AMPERSAND,
  KP_DBLAMPERSAND = (1 << 30) | (int)Scancode.KP_DBLAMPERSAND, KP_VERTICALBAR = (1 << 30) | (int)Scancode.KP_VERTICALBAR, KP_DBLVERTICALBAR = (1 << 30) | (int)Scancode.KP_DBLVERTICALBAR, KP_COLON = (1 << 30) | (int)Scancode.KP_COLON,
  KP_HASH = (1 << 30) | (int)Scancode.KP_HASH, KP_SPACE = (1 << 30) | (int)Scancode.KP_SPACE, KP_AT = (1 << 30) | (int)Scancode.KP_AT, KP_EXCLAM = (1 << 30) | (int)Scancode.KP_EXCLAM,
  KP_MEMSTORE = (1 << 30) | (int)Scancode.KP_MEMSTORE, KP_MEMRECALL = (1 << 30) | (int)Scancode.KP_MEMRECALL, KP_MEMCLEAR = (1 << 30) | (int)Scancode.KP_MEMCLEAR, KP_MEMADD = (1 << 30) | (int)Scancode.KP_MEMADD,
  KP_MEMSUBTRACT = (1 << 30) | (int)Scancode.KP_MEMSUBTRACT, KP_MEMMULTIPLY = (1 << 30) | (int)Scancode.KP_MEMMULTIPLY, KP_MEMDIVIDE = (1 << 30) | (int)Scancode.KP_MEMDIVIDE, KP_PLUSMINUS = (1 << 30) | (int)Scancode.KP_PLUSMINUS,
  KP_CLEAR = (1 << 30) | (int)Scancode.KP_CLEAR, KP_CLEARENTRY = (1 << 30) | (int)Scancode.KP_CLEARENTRY, KP_BINARY = (1 << 30) | (int)Scancode.KP_BINARY, KP_OCTAL = (1 << 30) | (int)Scancode.KP_OCTAL,
  KP_DECIMAL = (1 << 30) | (int)Scancode.KP_DECIMAL, KP_HEXADECIMAL = (1 << 30) | (int)Scancode.KP_HEXADECIMAL, LCTRL = (1 << 30) | (int)Scancode.LCTRL, LSHIFT = (1 << 30) | (int)Scancode.LSHIFT,
  LALT = (1 << 30) | (int)Scancode.LALT, LGUI = (1 << 30) | (int)Scancode.LGUI, RCTRL = (1 << 30) | (int)Scancode.RCTRL, RSHIFT = (1 << 30) | (int)Scancode.RSHIFT,
  RALT = (1 << 30) | (int)Scancode.RALT, RGUI = (1 << 30) | (int)Scancode.RGUI, MODE = (1 << 30) | (int)Scancode.MODE, AUDIONEXT = (1 << 30) | (int)Scancode.AUDIONEXT,
  AUDIOPREV = (1 << 30) | (int)Scancode.AUDIOPREV, AUDIOSTOP = (1 << 30) | (int)Scancode.AUDIOSTOP, AUDIOPLAY = (1 << 30) | (int)Scancode.AUDIOPLAY, AUDIOMUTE = (1 << 30) | (int)Scancode.AUDIOMUTE,
  MEDIASELECT = (1 << 30) | (int)Scancode.MEDIASELECT, WWW = (1 << 30) | (int)Scancode.WWW, MAIL = (1 << 30) | (int)Scancode.MAIL, CALCULATOR = (1 << 30) | (int)Scancode.CALCULATOR,
  COMPUTER = (1 << 30) | (int)Scancode.COMPUTER, AC_SEARCH = (1 << 30) | (int)Scancode.AC_SEARCH, AC_HOME = (1 << 30) | (int)Scancode.AC_HOME, AC_BACK = (1 << 30) | (int)Scancode.AC_BACK,
  AC_FORWARD = (1 << 30) | (int)Scancode.AC_FORWARD, AC_STOP = (1 << 30) | (int)Scancode.AC_STOP, AC_REFRESH = (1 << 30) | (int)Scancode.AC_REFRESH, AC_BOOKMARKS = (1 << 30) | (int)Scancode.AC_BOOKMARKS,
  BRIGHTNESSDOWN = (1 << 30) | (int)Scancode.BRIGHTNESSDOWN, BRIGHTNESSUP = (1 << 30) | (int)Scancode.BRIGHTNESSUP, DISPLAYSWITCH = (1 << 30) | (int)Scancode.DISPLAYSWITCH, KBDILLUMTOGGLE = (1 << 30) | (int)Scancode.KBDILLUMTOGGLE,
  KBDILLUMDOWN = (1 << 30) | (int)Scancode.KBDILLUMDOWN, KBDILLUMUP = (1 << 30) | (int)Scancode.KBDILLUMUP, EJECT = (1 << 30) | (int)Scancode.EJECT, SLEEP = (1 << 30) | (int)Scancode.SLEEP
}
 
enum  Keymod : ushort {
  NONE = 0x0000, LSHIFT = 0x0001, RSHIFT = 0x0002, LCTRL = 0x0040,
  RCTRL = 0x0080, LALT = 0x0100, RALT = 0x0200, LGUI = 0x0400,
  RGUI = 0x0800, NUM = 0x1000, CAPS = 0x2000, MODE = 0x4000,
  RESERVED = 0x8000, CTRL = (LCTRL | RCTRL), SHIFT = (LSHIFT | RSHIFT), ALT = (LALT | RALT),
  GUI = (LGUI | RGUI)
}
 
enum  Scancode {
  UNKNOWN = 0, A = 4, B = 5, C = 6,
  D = 7, E = 8, F = 9, G = 10,
  H = 11, I = 12, J = 13, K = 14,
  L = 15, M = 16, N = 17, O = 18,
  P = 19, Q = 20, R = 21, S = 22,
  T = 23, U = 24, V = 25, W = 26,
  X = 27, Y = 28, Z = 29, Num1 = 30,
  Num2 = 31, Num3 = 32, Num4 = 33, Num5 = 34,
  Num6 = 35, Num7 = 36, Num8 = 37, Num9 = 38,
  Num0 = 39, RETURN = 40, ESCAPE = 41, BACKSPACE = 42,
  TAB = 43, SPACE = 44, MINUS = 45, EQUALS = 46,
  LEFTBRACKET = 47, RIGHTBRACKET = 48, BACKSLASH = 49, NONUSHASH = 50,
  SEMICOLON = 51, APOSTROPHE = 52, GRAVE = 53, COMMA = 54,
  PERIOD = 55, SLASH = 56, CAPSLOCK = 57, F1 = 58,
  F2 = 59, F3 = 60, F4 = 61, F5 = 62,
  F6 = 63, F7 = 64, F8 = 65, F9 = 66,
  F10 = 67, F11 = 68, F12 = 69, PRINTSCREEN = 70,
  SCROLLLOCK = 71, PAUSE = 72, INSERT = 73, HOME = 74,
  PAGEUP = 75, DELETE = 76, END = 77, PAGEDOWN = 78,
  RIGHT = 79, LEFT = 80, DOWN = 81, UP = 82,
  NUMLOCKCLEAR = 83, KP_DIVIDE = 84, KP_MULTIPLY = 85, KP_MINUS = 86,
  KP_PLUS = 87, KP_ENTER = 88, KP_1 = 89, KP_2 = 90,
  KP_3 = 91, KP_4 = 92, KP_5 = 93, KP_6 = 94,
  KP_7 = 95, KP_8 = 96, KP_9 = 97, KP_0 = 98,
  KP_PERIOD = 99, NONUSBACKSLASH = 100, APPLICATION = 101, POWER = 102,
  KP_EQUALS = 103, F13 = 104, F14 = 105, F15 = 106,
  F16 = 107, F17 = 108, F18 = 109, F19 = 110,
  F20 = 111, F21 = 112, F22 = 113, F23 = 114,
  F24 = 115, EXECUTE = 116, HELP = 117, MENU = 118,
  SELECT = 119, STOP = 120, AGAIN = 121, UNDO = 122,
  CUT = 123, COPY = 124, PASTE = 125, FIND = 126,
  MUTE = 127, VOLUMEUP = 128, VOLUMEDOWN = 129, KP_COMMA = 133,
  KP_EQUALSAS400 = 134, INTERNATIONAL1 = 135, INTERNATIONAL2 = 136, INTERNATIONAL3 = 137,
  INTERNATIONAL4 = 138, INTERNATIONAL5 = 139, INTERNATIONAL6 = 140, INTERNATIONAL7 = 141,
  INTERNATIONAL8 = 142, INTERNATIONAL9 = 143, LANG1 = 144, LANG2 = 145,
  LANG3 = 146, LANG4 = 147, LANG5 = 148, LANG6 = 149,
  LANG7 = 150, LANG8 = 151, LANG9 = 152, ALTERASE = 153,
  SYSREQ = 154, CANCEL = 155, CLEAR = 156, PRIOR = 157,
  RETURN2 = 158, SEPARATOR = 159, OUT = 160, OPER = 161,
  CLEARAGAIN = 162, CRSEL = 163, EXSEL = 164, KP_00 = 176,
  KP_000 = 177, THOUSANDSSEPARATOR = 178, DECIMALSEPARATOR = 179, CURRENCYUNIT = 180,
  CURRENCYSUBUNIT = 181, KP_LEFTPAREN = 182, KP_RIGHTPAREN = 183, KP_LEFTBRACE = 184,
  KP_RIGHTBRACE = 185, KP_TAB = 186, KP_BACKSPACE = 187, KP_A = 188,
  KP_B = 189, KP_C = 190, KP_D = 191, KP_E = 192,
  KP_F = 193, KP_XOR = 194, KP_POWER = 195, KP_PERCENT = 196,
  KP_LESS = 197, KP_GREATER = 198, KP_AMPERSAND = 199, KP_DBLAMPERSAND = 200,
  KP_VERTICALBAR = 201, KP_DBLVERTICALBAR = 202, KP_COLON = 203, KP_HASH = 204,
  KP_SPACE = 205, KP_AT = 206, KP_EXCLAM = 207, KP_MEMSTORE = 208,
  KP_MEMRECALL = 209, KP_MEMCLEAR = 210, KP_MEMADD = 211, KP_MEMSUBTRACT = 212,
  KP_MEMMULTIPLY = 213, KP_MEMDIVIDE = 214, KP_PLUSMINUS = 215, KP_CLEAR = 216,
  KP_CLEARENTRY = 217, KP_BINARY = 218, KP_OCTAL = 219, KP_DECIMAL = 220,
  KP_HEXADECIMAL = 221, LCTRL = 224, LSHIFT = 225, LALT = 226,
  LGUI = 227, RCTRL = 228, RSHIFT = 229, RALT = 230,
  RGUI = 231, MODE = 257, AUDIONEXT = 258, AUDIOPREV = 259,
  AUDIOSTOP = 260, AUDIOPLAY = 261, AUDIOMUTE = 262, MEDIASELECT = 263,
  WWW = 264, MAIL = 265, CALCULATOR = 266, COMPUTER = 267,
  AC_SEARCH = 268, AC_HOME = 269, AC_BACK = 270, AC_FORWARD = 271,
  AC_STOP = 272, AC_REFRESH = 273, AC_BOOKMARKS = 274, BRIGHTNESSDOWN = 275,
  BRIGHTNESSUP = 276, DISPLAYSWITCH = 277, KBDILLUMTOGGLE = 278, KBDILLUMDOWN = 279,
  KBDILLUMUP = 280, EJECT = 281, SLEEP = 282, APP1 = 283,
  APP2 = 284, SDL_NUM_SCANCODES = 512
}
 
enum  State : byte { Released = 0, Pressed = 1 }
 
enum  SystemFlags : uint {
  Default = 0, TIMER = 0x00000001, AUDIO = 0x00000010, VIDEO = 0x00000020,
  JOYSTICK = 0x00000200, HAPTIC = 0x00001000, GAMECONTROLLER = 0x00002000, NOPARACHUTE = 0x00100000,
  EVERYTHING
}
 
enum  SysWMType {
  Unknown = 0, Windows, X11, Wayland,
  DirectFB, Cocoa, UIKit
}
 
enum  WindowEventID : byte {
  NONE, SHOWN, HIDDEN, EXPOSED,
  MOVED, RESIZED, SIZE_CHANGED, MINIMIZED,
  MAXIMIZED, RESTORED, ENTER, LEAVE,
  FOCUS_GAINED, FOCUS_LOST, CLOSE
}
 
enum  WindowFlags {
  Default = 0, FULLSCREEN = 0x00000001, OPENGL = 0x00000002, SHOWN = 0x00000004,
  HIDDEN = 0x00000008, BORDERLESS = 0x00000010, RESIZABLE = 0x00000020, MINIMIZED = 0x00000040,
  MAXIMIZED = 0x00000080, INPUT_GRABBED = 0x00000100, INPUT_FOCUS = 0x00000200, MOUSE_FOCUS = 0x00000400,
  FULLSCREEN_DESKTOP = (FULLSCREEN | 0x00001000), FOREIGN = 0x00000800, ALLOW_HIGHDPI = 0x00002000
}