Packages

object SDL

Annotations
@extern() @link("SDL2")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SDL
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type SDL_AudioCallback = CFuncPtr3[Ptr[Byte], Ptr[UByte], CInt, Unit]
  2. type SDL_AudioDeviceID = UInt

    ************************************ *********** SDL_audio.h ************ ************************************

  3. type SDL_AudioFormat = UShort
  4. type SDL_AudioSpec = CStruct9[CInt, SDL_AudioFormat, UByte, UByte, UShort, UShort, UInt, SDL_AudioCallback, Ptr[Byte]]
  5. type SDL_BlendMode = UInt

    ************************************ ********* SDL_blendmode.h *********** ************************************

  6. type SDL_BlitMap = CStruct0

    ************************************ ********** SDL_surface.h ************ ************************************

  7. type SDL_Color = UInt

    ************************************* *********** SDL_pixels.h ************* *************************************

  8. type SDL_CommonEvent = CStruct2[UInt, UInt]

    ************************************ *********** SDL_events.h ************ ************************************

  9. type SDL_Cursor = CStruct0

    ************************************ *********** SDL_mouse.h ************* ************************************

  10. type SDL_DisplayMode = CStruct5[UInt, CInt, CInt, CInt, Ptr[Byte]]

    ************************************ *********** SDL_video.h ************* ************************************

  11. type SDL_Event = CStruct2[UInt, CArray[Byte, _52]]
  12. type SDL_GLContext = Ptr[Byte]
  13. type SDL_GLattr = UInt
  14. type SDL_GLcontextFlag = UShort
  15. type SDL_GLcontextReleaseFlag = UShort
  16. type SDL_GLprofile = UShort
  17. type SDL_HitTestResult = UInt
  18. type SDL_KeyboardEvent = CStruct8[UInt, UInt, UInt, UByte, UByte, UByte, UByte, SDL_Keysym]
  19. type SDL_Keycode = Int

    ************************************* ********** SDL_keycode.h ************* *************************************

  20. type SDL_Keymod = UInt
  21. type SDL_Keysym = CStruct4[SDL_Scancode, SDL_Keycode, UShort, UInt]

    ************************************* ********** SDL_keyboard.h ************ *************************************

  22. type SDL_MouseButtonEvent = CStruct10[UInt, UInt, UInt, UInt, UByte, UByte, UByte, UByte, Int, Int]
  23. type SDL_MouseMotionEvent = CStruct9[UInt, UInt, UInt, UInt, UInt, Int, Int, Int, Int]
  24. type SDL_MouseWheelDirection = Int
  25. type SDL_OSEvent = CStruct2[UInt, UInt]
  26. type SDL_Palette = CStruct4[CInt, Ptr[SDL_Color], UInt, CInt]
  27. type SDL_PixelFormat = CStruct19[UInt, Ptr[SDL_Palette], UByte, UByte, CArray[UByte, _2], UInt, UInt, UInt, UInt, UByte, UByte, UByte, UByte, UByte, UByte, UByte, UByte, CInt, Ptr[Byte]]
  28. type SDL_Point = CStruct2[CInt, CInt]

    ************************************ ************ SDL_rect.h ************* ************************************

  29. type SDL_QuitEvent = CStruct2[UInt, UInt]
  30. type SDL_RWops = CStruct0

    ************************************ *********** SDL_rwops.h ************* ************************************

  31. type SDL_Rect = CStruct4[CInt, CInt, CInt, CInt]
  32. type SDL_Renderer = CStruct0
  33. type SDL_RendererFlags = UInt

    ************************************ *********** SDL_render.h ************* ************************************

  34. type SDL_RendererFlip = UInt
  35. type SDL_RendererInfo = CStruct6[CString, UInt, UInt, CArray[UInt, _16], CInt, CInt]
  36. type SDL_Scancode = Int

    ************************************ ********** SDL_scancode.h *********** ************************************

  37. type SDL_SpinLock = Int

    ************************************ ********** SDL_atomic.h ************* ************************************

  38. type SDL_Surface = CStruct12[UInt, Ptr[SDL_PixelFormat], CInt, CInt, CInt, Ptr[Byte], Ptr[Byte], CInt, Ptr[Byte], SDL_Rect, Ptr[SDL_BlitMap], CInt]
  39. type SDL_SysWMEvent = CStruct3[UInt, UInt, Ptr[SDL_SysWMmsg]]
  40. type SDL_SysWMmsg = CStruct0
  41. type SDL_SystemCursor = Int
  42. type SDL_TLSID = UInt
  43. type SDL_TextEditingEvent = CStruct6[UInt, UInt, UInt, CArray[CChar, _32], Int, Int]
  44. type SDL_TextInputEvent = CStruct4[UInt, UInt, UInt, CArray[CChar, _32]]
  45. type SDL_Texture = CStruct0
  46. type SDL_TextureAccess = UInt
  47. type SDL_TextureModulate = UInt
  48. type SDL_Thread = CStruct0

    ************************************ ********** SDL_thread.h ************* ************************************

  49. type SDL_ThreadFunction = CFuncPtr1[Ptr[Byte], CInt]
  50. type SDL_ThreadPriority = Int
  51. type SDL_UserEvent = CStruct6[UInt, UInt, UInt, Int, Ptr[Byte], Ptr[Byte]]
  52. type SDL_Window = CStruct0
  53. type SDL_WindowEvent = CStruct9[UInt, UInt, UInt, UByte, UByte, UByte, UByte, Int, Int]
  54. type SDL_atomic_t = CStruct1[CInt]
  55. type SDL_bool = UInt

    ************************************* *********** SDL_stdinc.h ************* *************************************

  56. type SDL_cond = CStruct0
  57. type SDL_errorcode = UInt
  58. type SDL_mutex = CStruct0

    ************************************ *********** SDL_mutex.h ************* ************************************

  59. type SDL_sem = CStruct0
  60. type SDL_semaphore = CStruct0
  61. type SDL_threadID = ULong
  62. type SDL_version = CStruct3[UByte, UByte, UByte]

    ************************************ ********** SDL_version.h ************ ************************************

  63. type _16 = Digit2[_1, _6]
  64. type _2 = scala.scalanative.unsafe.Nat._2
  65. type _32 = Digit2[_3, scala.scalanative.unsafe.Nat._2]
  66. type _52 = Digit2[_5, scala.scalanative.unsafe.Nat._2]
  67. type _56 = Digit2[_5, _6]
  68. type _64 = Digit2[_6, _4]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def SDL_AllocFormat(pixel_format: UInt): Ptr[SDL_PixelFormat]
  5. def SDL_AllocPalette(ncolors: CInt): Ptr[SDL_Palette]
  6. def SDL_AllocRW(): Ptr[SDL_RWops]
  7. def SDL_AtomicAdd(a: Ptr[SDL_atomic_t], v: CInt): CInt
  8. def SDL_AtomicCAS(a: Ptr[SDL_atomic_t], oldval: CInt, newval: CInt): SDL_bool
  9. def SDL_AtomicCASPtr(a: Ptr[Ptr[Byte]], oldval: Ptr[Byte], newval: Ptr[Byte]): SDL_bool
  10. def SDL_AtomicGet(a: Ptr[SDL_atomic_t]): CInt
  11. def SDL_AtomicGetPtr(a: Ptr[Ptr[Byte]]): Ptr[Byte]
  12. def SDL_AtomicLock(lock: Ptr[SDL_SpinLock]): Unit
  13. def SDL_AtomicSet(a: Ptr[SDL_atomic_t], v: CInt): CInt
  14. def SDL_AtomicSetPtr(a: Ptr[Ptr[Byte]], v: Ptr[Byte]): Ptr[Byte]
  15. def SDL_AtomicTryLock(lock: Ptr[SDL_SpinLock]): SDL_bool
  16. def SDL_AtomicUnlock(lock: Ptr[SDL_SpinLock]): Unit
  17. def SDL_CalculateGammaRamp(gamma: CFloat, ramp: Ptr[UShort]): Unit
  18. def SDL_CaptureMouse(enabled: SDL_bool): CInt
  19. def SDL_ClearError(): Unit
  20. def SDL_ClearQueuedAudio(dev: SDL_AudioDeviceID): Unit
  21. def SDL_CloseAudioDevice(dev: SDL_AudioDeviceID): Unit
  22. def SDL_CondBroadcast(cond: Ptr[SDL_cond]): CInt
  23. def SDL_CondSignal(cond: Ptr[SDL_cond]): CInt
  24. def SDL_CondWait(cond: Ptr[SDL_cond], mutex: Ptr[SDL_mutex]): CInt
  25. def SDL_CondWaitTimeout(cond: Ptr[SDL_cond], mutex: Ptr[SDL_mutex], ms: UInt): CInt
  26. def SDL_CreateColorCursor(surface: Ptr[SDL_Surface], hot_x: CInt, hot_y: CInt): Ptr[SDL_Cursor]
  27. def SDL_CreateCond(): Ptr[SDL_cond]
  28. def SDL_CreateCursor(data: Ptr[UByte], mask: Ptr[UByte], w: CInt, h: CInt, hot_x: CInt, hot_y: CInt): Ptr[SDL_Cursor]
  29. def SDL_CreateMutex(): Ptr[SDL_mutex]
  30. def SDL_CreateRGBSurface(flags: UInt, width: CInt, height: CInt, depth: CInt, Rmask: UInt, Gmask: UInt, Bmask: UInt, Amask: UInt): Ptr[SDL_Surface]
  31. def SDL_CreateRenderer(window: Ptr[SDL_Window], index: CInt, flags: UInt): Ptr[SDL_Renderer]
  32. def SDL_CreateSemaphore(initial_value: UInt): Ptr[SDL_sem]
  33. def SDL_CreateSoftwareRenderer(surface: Ptr[SDL_Surface]): Ptr[SDL_Renderer]
  34. def SDL_CreateSystemCursor(id: SDL_SystemCursor): Ptr[SDL_Cursor]
  35. def SDL_CreateTexture(renderer: Ptr[SDL_Renderer], format: UInt, access: CInt, w: Int, h: Int): Ptr[SDL_Texture]
  36. def SDL_CreateTextureFromSurface(renderer: Ptr[SDL_Renderer], surface: Ptr[SDL_Surface]): Ptr[SDL_Texture]
  37. def SDL_CreateThread(fn: SDL_ThreadFunction, name: CString, data: Ptr[Byte]): Ptr[SDL_Thread]
  38. def SDL_CreateWindow(title: CString, x: CInt, y: CInt, w: CInt, h: CInt, flags: UInt): Ptr[SDL_Window]
  39. def SDL_CreateWindowAndRenderer(width: CInt, height: CInt, flags: UInt, window: Ptr[Ptr[SDL_Window]], renderer: Ptr[Ptr[SDL_Renderer]]): CInt
  40. def SDL_CreateWindowFrom(data: Ptr[Byte]): Ptr[SDL_Window]
  41. def SDL_Delay(ms: UInt): Unit
  42. def SDL_DestroyCond(cond: Ptr[SDL_cond]): Unit
  43. def SDL_DestroyMutex(mutex: Ptr[SDL_mutex]): Unit
  44. def SDL_DestroyRenderer(renderer: Ptr[SDL_Renderer]): Unit
  45. def SDL_DestroySemaphore(sem: Ptr[SDL_sem]): Unit
  46. def SDL_DestroyTexture(texture: Ptr[SDL_Texture]): Unit
  47. def SDL_DestroyWindow(window: Ptr[SDL_Window]): Unit
  48. def SDL_DetachThread(thread: Ptr[SDL_Thread]): Unit
  49. def SDL_DisableScreenSaver(): Unit
  50. def SDL_EnableScreenSaver(): Unit
  51. def SDL_EnclosePoints(points: Ptr[SDL_Point], count: CInt, clip: Ptr[SDL_Rect], result: Ptr[SDL_Rect]): SDL_bool
  52. def SDL_Error(code: SDL_errorcode): CInt
  53. def SDL_EventState(type_: UInt, state: CInt): UByte
  54. def SDL_FlushEvent(type_: UInt): Unit
  55. def SDL_FlushEvents(minType: UInt, maxType: UInt): Unit
  56. def SDL_FreeCursor(cursor: Ptr[SDL_Cursor]): Unit
  57. def SDL_FreeFormat(format: Ptr[SDL_PixelFormat]): Unit
  58. def SDL_FreePalette(palette: Ptr[SDL_Palette]): Unit
  59. def SDL_FreeRW(area: Ptr[SDL_RWops]): Unit
  60. def SDL_FreeSurface(surface: Ptr[SDL_Surface]): Unit
  61. def SDL_GL_BindTexture(texture: Ptr[SDL_Texture], texw: Ptr[CFloat], texh: Ptr[CFloat]): CInt
  62. def SDL_GL_CreateContext(window: Ptr[SDL_Window]): SDL_GLContext
  63. def SDL_GL_DeleteContext(context: SDL_GLContext): Unit
  64. def SDL_GL_ExtensionSupported(extension: CString): SDL_bool
  65. def SDL_GL_GetAttribute(attr: SDL_GLattr, value: Ptr[CInt]): CInt
  66. def SDL_GL_GetCurrentContext(): SDL_GLContext
  67. def SDL_GL_GetCurrentWindow(): Ptr[SDL_Window]
  68. def SDL_GL_GetDrawableSize(window: Ptr[SDL_Window], w: Ptr[CInt], h: Ptr[CInt]): Unit
  69. def SDL_GL_GetProcAddress(proc: CString): Ptr[Byte]
  70. def SDL_GL_GetSwapInterval(): CInt
  71. def SDL_GL_LoadLibrary(path: CString): CInt
  72. def SDL_GL_MakeCurrent(window: Ptr[SDL_Window], context: SDL_GLContext): CInt
  73. def SDL_GL_ResetAttributes(): Unit
  74. def SDL_GL_SetAttribute(attr: SDL_GLattr, value: CInt): CInt
  75. def SDL_GL_SetSwapInterval(interval: CInt): CInt
  76. def SDL_GL_SwapWindow(window: Ptr[SDL_Window]): Unit
  77. def SDL_GL_UnbindTexture(texture: Ptr[SDL_Texture]): CInt
  78. def SDL_GL_UnloadLibrary(): Unit
  79. def SDL_GetClosestDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode], closest: Ptr[SDL_DisplayMode]): CInt
  80. def SDL_GetCurrentDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  81. def SDL_GetCurrentVideoDriver(): CString
  82. def SDL_GetCursor(): Ptr[SDL_Cursor]
  83. def SDL_GetDefaultCursor(): Ptr[SDL_Cursor]
  84. def SDL_GetDesktopDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  85. def SDL_GetDisplayBounds(displayIndex: CInt, rect: Ptr[SDL_Rect]): CInt
  86. def SDL_GetDisplayDPI(displayIndex: CInt, ddpi: Ptr[CFloat], hdpi: Ptr[CFloat], vdpi: Ptr[CFloat]): CInt
  87. def SDL_GetDisplayMode(displayIndex: CInt, modeIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  88. def SDL_GetDisplayName(displayIndex: CInt): CString
  89. def SDL_GetError(): CString

    ************************************ *********** SDL_error.h ************ ************************************

  90. def SDL_GetGlobalMouseState(x: Ptr[CInt], y: Ptr[CInt]): UInt
  91. def SDL_GetGrabbedWindow(): Ptr[SDL_Window]
  92. def SDL_GetKeyFromName(name: CString): SDL_Keycode
  93. def SDL_GetKeyFromScancode(scancode: SDL_Scancode): SDL_Keycode
  94. def SDL_GetKeyName(key: SDL_Keycode): CString
  95. def SDL_GetKeyboardFocus(): Ptr[SDL_Window]
  96. def SDL_GetKeyboardState(numkeys: Ptr[CInt]): UByte
  97. def SDL_GetModState(): SDL_Keymod
  98. def SDL_GetMouseFocus(): Ptr[SDL_Window]
  99. def SDL_GetMouseState(x: Ptr[CInt], y: Ptr[CInt]): UInt
  100. def SDL_GetNumDisplayModes(displayIndex: CInt): CInt
  101. def SDL_GetNumRenderDriver(): CInt
  102. def SDL_GetNumVideoDisplays(): CInt
  103. def SDL_GetNumVideoDrivers(): CInt
  104. def SDL_GetPixelFormatName(format: UInt): CString
  105. def SDL_GetQueuedAudioSize(dev: SDL_AudioDeviceID): UInt
  106. def SDL_GetRGB(pixel: UInt, format: Ptr[SDL_PixelFormat], r: Ptr[UByte], g: Ptr[UByte], b: Ptr[UByte]): Unit
  107. def SDL_GetRGBA(pixel: UInt, format: Ptr[SDL_PixelFormat], r: Ptr[UByte], g: Ptr[UByte], b: Ptr[UByte], a: Ptr[UByte]): Unit
  108. def SDL_GetRelativeMouseMode(): SDL_bool
  109. def SDL_GetRelativeMouseState(x: Ptr[CInt], y: Ptr[CInt]): UInt
  110. def SDL_GetRenderDrawBlendMode(renderer: Ptr[SDL_Renderer], blendMode: Ptr[SDL_BlendMode]): CInt
  111. def SDL_GetRenderDrawColor(renderer: Ptr[SDL_Renderer], r: Ptr[UByte], g: Ptr[UByte], b: Ptr[UByte], a: Ptr[UByte]): CInt
  112. def SDL_GetRenderDriverInfo(index: CInt, info: Ptr[SDL_RendererInfo]): CInt
  113. def SDL_GetRenderTarget(renderer: Ptr[SDL_Renderer]): Ptr[SDL_Texture]
  114. def SDL_GetRenderer(window: Ptr[SDL_Window]): Ptr[SDL_Renderer]
  115. def SDL_GetRendererInfo(renderer: Ptr[SDL_Renderer], info: Ptr[SDL_RendererInfo]): CInt
  116. def SDL_GetRendererOutputSize(renderer: Ptr[SDL_Renderer], w: Ptr[CInt], h: Ptr[CInt]): CInt
  117. def SDL_GetRevision(): CString
  118. def SDL_GetRevisionNumber(): CInt
  119. def SDL_GetScancodeFromKey(key: SDL_Keycode): SDL_Scancode
  120. def SDL_GetScancodeFromName(name: CString): SDL_Scancode
  121. def SDL_GetScancodeName(scancode: SDL_Scancode): CString
  122. def SDL_GetTextureAlphaMod(texture: Ptr[SDL_Texture], alpha: Ptr[UByte]): CInt
  123. def SDL_GetTextureBlendMod(texture: Ptr[SDL_Texture], blendMode: Ptr[SDL_BlendMode]): CInt
  124. def SDL_GetTextureColorMod(texture: Ptr[SDL_Texture], r: Ptr[UByte], g: Ptr[UByte], b: Ptr[UByte]): CInt
  125. def SDL_GetThreadID(thread: Ptr[SDL_Thread]): SDL_threadID
  126. def SDL_GetThreadName(thread: Ptr[SDL_Thread]): CString
  127. def SDL_GetTicks(): UInt
  128. def SDL_GetVersion(ver: Ptr[SDL_version]): Unit
  129. def SDL_GetVideoDriver(index: CInt): CString
  130. def SDL_GetWindowBrightness(window: Ptr[SDL_Window]): CFloat
  131. def SDL_GetWindowData(window: Ptr[SDL_Window], name: CString): Ptr[Byte]
  132. def SDL_GetWindowDisplayIndex(window: Ptr[SDL_Window]): CInt
  133. def SDL_GetWindowDisplayMode(window: Ptr[SDL_Window], mode: Ptr[SDL_DisplayMode]): CInt
  134. def SDL_GetWindowFlags(window: Ptr[SDL_Window]): UInt
  135. def SDL_GetWindowFromID(id: UInt): Ptr[SDL_Window]
  136. def SDL_GetWindowGammaRamp(window: Ptr[SDL_Window], red: Ptr[UShort], green: Ptr[UShort], blue: Ptr[UShort]): CInt
  137. def SDL_GetWindowGrab(window: Ptr[SDL_Window]): SDL_bool
  138. def SDL_GetWindowID(window: Ptr[SDL_Window]): UInt
  139. def SDL_GetWindowMaximumSize(window: Ptr[SDL_Window], w: Ptr[CInt], h: Ptr[CInt]): Unit
  140. def SDL_GetWindowMinimumSize(window: Ptr[SDL_Window], w: Ptr[CInt], h: Ptr[CInt]): Unit
  141. def SDL_GetWindowPixelFormat(window: Ptr[SDL_Window]): UInt
  142. def SDL_GetWindowPosition(window: Ptr[SDL_Window], x: Ptr[CInt], y: Ptr[CInt]): Unit
  143. def SDL_GetWindowSize(window: Ptr[SDL_Window], w: Ptr[CInt], h: Ptr[CInt]): Unit
  144. def SDL_GetWindowSurface(window: Ptr[SDL_Window]): Ptr[SDL_Surface]
  145. def SDL_GetWindowTitle(window: Ptr[SDL_Window]): CString
  146. def SDL_HasEvent(type_: UInt): SDL_bool
  147. def SDL_HasEvents(minType: UInt, maxType: UInt): SDL_bool
  148. def SDL_HasIntersection(A: Ptr[SDL_Rect], B: Ptr[SDL_Rect]): SDL_bool
  149. def SDL_HasScreenKeyboardSupport(): SDL_bool
  150. def SDL_HideWIndow(window: Ptr[SDL_Window]): Unit
  151. def SDL_Init(flags: UInt): CInt

    ************************************ ************** SDL.h **************** ************************************

  152. def SDL_InitSubSystem(flags: UInt): CInt
  153. def SDL_IntersectRect(A: Ptr[SDL_Rect], B: Ptr[SDL_Rect], result: Ptr[SDL_Rect]): SDL_bool
  154. def SDL_IntersectRectAndLine(rect: Ptr[SDL_Point], x1: Ptr[CInt], y1: Ptr[CInt], x2: Ptr[CInt], y2: Ptr[CInt]): SDL_bool
  155. def SDL_IsScreenKeyboardShown(window: Ptr[SDL_Window]): SDL_bool
  156. def SDL_IsScreenSaverEnabled(): SDL_bool
  157. def SDL_IsTextInputActive(): SDL_bool
  158. def SDL_LoadBMP_RW(src: Ptr[SDL_RWops], freesrc: CInt): Ptr[SDL_Surface]
  159. def SDL_LockAudioDevice(dev: SDL_AudioDeviceID): Unit
  160. def SDL_LockMutex(mutex: Ptr[SDL_mutex]): CInt
  161. def SDL_LockTexture(texture: Ptr[SDL_Texture], rect: Ptr[SDL_Rect], pixels: Ptr[Ptr[Byte]], pitch: Ptr[CInt]): CInt
  162. def SDL_MapRGB(format: Ptr[SDL_PixelFormat], r: UByte, g: UByte, b: UByte): UInt
  163. def SDL_MapRGBA(format: Ptr[SDL_PixelFormat], r: UByte, g: UByte, b: UByte, a: UByte): UInt
  164. def SDL_MasksToPixelFormatEnum(bpp: CInt, Rmask: UInt, Gmask: UInt, Bmask: UInt, Amask: UInt): UInt
  165. def SDL_MaximizeWIndow(window: Ptr[SDL_Window]): Unit
  166. def SDL_MemoryBarrierAcquire(): Unit
  167. def SDL_MemoryBarrierRelease(): Unit
  168. def SDL_MinimizeWIndow(window: Ptr[SDL_Window]): Unit
  169. def SDL_OpenAudioDevice(device: CString, iscapture: CInt, desired: Ptr[SDL_AudioSpec], obtained: Ptr[SDL_AudioSpec], allowedChanges: CInt): SDL_AudioDeviceID
  170. def SDL_PauseAudioDevice(dev: SDL_AudioDeviceID, pause_on: CInt): Unit
  171. def SDL_PeepEvents(events: Ptr[SDL_Event], numevents: CInt, action: UInt, minType: UInt, maxType: UInt): Unit
  172. def SDL_PixelFormatEnumToMasks(format: UInt, bpp: Ptr[CInt], Rmask: Ptr[UInt], Gmask: Ptr[UInt], Bmask: Ptr[UInt], Amask: Ptr[UInt]): SDL_bool
  173. def SDL_PollEvent(event: Ptr[SDL_Event]): CInt
  174. def SDL_PumpEvents(): Unit
  175. def SDL_PushEvent(event: Ptr[SDL_Event]): CInt
  176. def SDL_QueryTexture(texture: Ptr[SDL_Texture], format: Ptr[UInt], access: Ptr[CInt], w: Ptr[CInt], h: Ptr[CInt]): CInt
  177. def SDL_QueueAudio(dev: SDL_AudioDeviceID, data: Ptr[Byte], len: UInt): CInt
  178. def SDL_Quit(): Unit
  179. def SDL_QuitSubSystem(flags: UInt): Unit
  180. def SDL_RWFromConstMem(mem: Ptr[Byte], size: CInt): Ptr[SDL_RWops]
  181. def SDL_RWFromFP(fp: Ptr[Byte], autoclose: SDL_bool): Ptr[SDL_RWops]
  182. def SDL_RWFromFile(file: CString, mode: CString): Ptr[SDL_RWops]
  183. def SDL_RWFromMem(mem: Ptr[Byte], size: CInt): Ptr[SDL_RWops]
  184. def SDL_RaiseWIndow(window: Ptr[SDL_Window]): Unit
  185. def SDL_ReadBE16(src: Ptr[SDL_RWops]): UShort
  186. def SDL_ReadBE32(src: Ptr[SDL_RWops]): UInt
  187. def SDL_ReadBE64(src: Ptr[SDL_RWops]): ULong
  188. def SDL_ReadLE16(src: Ptr[SDL_RWops]): UShort
  189. def SDL_ReadLE32(src: Ptr[SDL_RWops]): UInt
  190. def SDL_ReadLE64(src: Ptr[SDL_RWops]): ULong
  191. def SDL_ReadU8(src: Ptr[SDL_RWops]): UByte
  192. def SDL_RegisterEvents(numevents: CInt): UInt
  193. def SDL_RenderClear(renderer: Ptr[SDL_Renderer]): CInt
  194. def SDL_RenderCopy(renderer: Ptr[SDL_Renderer], texture: Ptr[SDL_Texture], srcrect: Ptr[SDL_Rect], destrect: Ptr[SDL_Rect]): CInt
  195. def SDL_RenderCopyEx(renderer: Ptr[SDL_Renderer], texture: Ptr[SDL_Texture], srcrect: Ptr[SDL_Rect], destrect: Ptr[SDL_Rect], angle: CDouble, center: Ptr[SDL_Point], flip: SDL_RendererFlip): CInt
  196. def SDL_RenderDrawLine(renderer: Ptr[SDL_Renderer], x1: CInt, y1: CInt, x2: CInt, y2: CInt): CInt
  197. def SDL_RenderDrawLines(renderer: Ptr[SDL_Renderer], points: Ptr[SDL_Point], count: CInt): CInt
  198. def SDL_RenderDrawPoint(renderer: Ptr[SDL_Renderer], x: CInt, y: CInt): CInt
  199. def SDL_RenderDrawPoints(renderer: Ptr[SDL_Renderer], points: Ptr[SDL_Point], count: CInt): CInt
  200. def SDL_RenderDrawRect(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): CInt
  201. def SDL_RenderDrawRects(renderer: Ptr[SDL_Renderer], rects: Ptr[SDL_Rect], count: CInt): CInt
  202. def SDL_RenderFillRect(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): CInt
  203. def SDL_RenderFillRects(renderer: Ptr[SDL_Renderer], rects: Ptr[SDL_Rect], count: CInt): CInt
  204. def SDL_RenderGetClipRect(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): Unit
  205. def SDL_RenderGetLogicalSize(renderer: Ptr[SDL_Renderer], w: Ptr[CInt], h: Ptr[CInt]): Unit
  206. def SDL_RenderGetScale(renderer: Ptr[SDL_Renderer], scaleX: Ptr[CFloat], scaleY: Ptr[CFloat]): CInt
  207. def SDL_RenderGetViewport(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): Unit
  208. def SDL_RenderPresent(renderer: Ptr[SDL_Renderer]): Unit
  209. def SDL_RenderReadPixels(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect], format: UInt, pixels: Ptr[Byte], pitch: CInt): CInt
  210. def SDL_RenderSetClipRect(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): CInt
  211. def SDL_RenderSetLogicalSize(renderer: Ptr[SDL_Renderer], w: CInt, h: CInt): CInt
  212. def SDL_RenderSetScale(renderer: Ptr[SDL_Renderer], scaleX: CFloat, scaleY: CFloat): CInt
  213. def SDL_RenderSetViewport(renderer: Ptr[SDL_Renderer], rect: Ptr[SDL_Rect]): CInt
  214. def SDL_RenderTargetSupported(renderer: Ptr[SDL_Renderer]): SDL_bool
  215. def SDL_RestoreWIndow(window: Ptr[SDL_Window]): Unit
  216. def SDL_SemPost(sem: Ptr[SDL_sem]): CInt
  217. def SDL_SemTryWait(sem: Ptr[SDL_sem]): CInt
  218. def SDL_SemValue(sem: Ptr[SDL_sem]): UInt
  219. def SDL_SemWait(sem: Ptr[SDL_sem]): CInt
  220. def SDL_SemWaitTimeout(sem: Ptr[SDL_sem], ms: UInt): CInt
  221. def SDL_SetClipRect(surface: Ptr[SDL_Surface], rect: Ptr[SDL_Rect]): Int
  222. def SDL_SetCursor(cursor: Ptr[SDL_Cursor]): Unit
  223. def SDL_SetModState(modstate: SDL_Keymod): Unit
  224. def SDL_SetPaletteColors(palette: Ptr[SDL_Palette], colors: Ptr[SDL_Color], firstcolor: CInt, ncolors: CInt): CInt
  225. def SDL_SetPixelFormatPalette(format: Ptr[SDL_PixelFormat], palette: Ptr[SDL_Palette]): CInt
  226. def SDL_SetRelativeMouseMode(enabled: SDL_bool): CInt
  227. def SDL_SetRenderDrawBlendMode(renderer: Ptr[SDL_Renderer], blendMode: SDL_BlendMode): CInt
  228. def SDL_SetRenderDrawColor(renderer: Ptr[SDL_Renderer], r: UByte, g: UByte, b: UByte, a: UByte): CInt
  229. def SDL_SetRenderTarget(renderer: Ptr[SDL_Renderer], texture: Ptr[SDL_Texture]): CInt
  230. def SDL_SetTextInputRect(rect: Ptr[SDL_Rect]): Unit
  231. def SDL_SetTextureAlphaMod(texture: Ptr[SDL_Texture], alpha: UByte): CInt
  232. def SDL_SetTextureBlendMod(texture: Ptr[SDL_Texture], blendMode: SDL_BlendMode): CInt
  233. def SDL_SetTextureColorMod(texture: Ptr[SDL_Texture], r: UByte, g: UByte, b: UByte): CInt
  234. def SDL_SetThreadPriority(priority: SDL_ThreadPriority): CInt
  235. def SDL_SetWindowBordered(window: Ptr[SDL_Window], bordered: SDL_bool): Unit
  236. def SDL_SetWindowBrightness(window: Ptr[SDL_Window], brightness: CFloat): CInt
  237. def SDL_SetWindowData(window: Ptr[SDL_Window], name: CString, userdata: Ptr[Byte]): Ptr[Byte]
  238. def SDL_SetWindowDisplayMode(window: Ptr[SDL_Window], mode: Ptr[SDL_DisplayMode]): CInt
  239. def SDL_SetWindowFullscreen(window: Ptr[SDL_Window], flags: UInt): CInt
  240. def SDL_SetWindowGammaRamp(window: Ptr[SDL_Window], red: Ptr[UShort], green: Ptr[UShort], blue: Ptr[UShort]): CInt
  241. def SDL_SetWindowGrab(window: Ptr[SDL_Window], grabbed: SDL_bool): Unit
  242. def SDL_SetWindowIcon(window: Ptr[SDL_Window], icon: Ptr[SDL_Surface]): Unit
  243. def SDL_SetWindowMaximumSize(window: Ptr[SDL_Window], max_w: CInt, max_h: CInt): Unit
  244. def SDL_SetWindowMinimumSize(window: Ptr[SDL_Window], min_w: CInt, min_h: CInt): Unit
  245. def SDL_SetWindowPosition(window: Ptr[SDL_Window], x: CInt, y: CInt): Unit
  246. def SDL_SetWindowSize(window: Ptr[SDL_Window], w: CInt, h: CInt): Unit
  247. def SDL_SetWindowTitle(window: Ptr[SDL_Window], title: CString): Unit
  248. def SDL_ShowCursor(toggle: CInt): CInt
  249. def SDL_ShowWIndow(window: Ptr[SDL_Window]): Unit
  250. def SDL_StartTextInput(): Unit
  251. def SDL_StopTextInput(): Unit
  252. def SDL_TLSCreate(): SDL_TLSID
  253. def SDL_TLSGet(id: SDL_TLSID): Ptr[Byte]
  254. def SDL_TLSSet(id: SDL_TLSID, value: Ptr[Byte], destructor: CFuncPtr0[Unit]): CInt
  255. def SDL_ThreadID(): SDL_threadID
  256. def SDL_TryLockMutex(mutex: Ptr[SDL_mutex]): CInt
  257. def SDL_UnionRect(A: Ptr[SDL_Rect], B: Ptr[SDL_Rect], result: Ptr[SDL_Rect]): SDL_bool
  258. def SDL_UnlockAudioDevice(dev: SDL_AudioDeviceID): Unit
  259. def SDL_UnlockMutex(mutex: Ptr[SDL_mutex]): CInt
  260. def SDL_UnlockTexture(texture: Ptr[SDL_Texture]): Unit
  261. def SDL_UpdateTexture(texture: Ptr[SDL_Texture], rect: Ptr[SDL_Rect], pixels: Ptr[Byte], pictch: CInt): CInt
  262. def SDL_UpdateWindowSurface(window: Ptr[SDL_Window]): Ptr[SDL_Surface]
  263. def SDL_UpdateWindowSurfaceRects(window: Ptr[SDL_Window], rects: Ptr[SDL_Rect], numrects: CInt): CInt
  264. def SDL_UpdateYUVTexture(texture: Ptr[SDL_Texture], rect: Ptr[SDL_Rect], Yplane: Ptr[UByte], Ypitch: Ptr[UByte], Uplane: Ptr[UByte], Upitch: Ptr[UByte], Vplane: Ptr[UByte], Vpitch: Ptr[UByte]): CInt
  265. def SDL_UpperBlit(src: Ptr[SDL_Surface], srcrect: Ptr[SDL_Rect], dst: Ptr[SDL_Surface], dstrect: Ptr[SDL_Rect]): Int
  266. def SDL_UpperBlitScaled(src: Ptr[SDL_Surface], srcrect: Ptr[SDL_Rect], dst: Ptr[SDL_Surface], dstrect: Ptr[SDL_Rect]): Int
  267. def SDL_VideoInit(driver_name: CString): CInt
  268. def SDL_VideoQuit(): Unit
  269. def SDL_WaitEvent(event: Ptr[SDL_Event]): CInt
  270. def SDL_WaitEventTimeout(event: Ptr[SDL_Event], timeout: CInt): CInt
  271. def SDL_WaitThread(thread: Ptr[SDL_Thread], status: Ptr[CInt]): Unit
  272. def SDL_WarpMouseGlobal(x: CInt, y: CInt): Unit
  273. def SDL_WarpMouseInWindow(window: Ptr[SDL_Window], x: CInt, y: CInt): Unit
  274. def SDL_WasInit(flags: UInt): UInt
  275. def SDL_WriteBE16(dst: Ptr[SDL_RWops], value: UShort): CSize
  276. def SDL_WriteBE32(dst: Ptr[SDL_RWops], value: UInt): CSize
  277. def SDL_WriteBE64(dst: Ptr[SDL_RWops], value: ULong): CSize
  278. def SDL_WriteLE16(dst: Ptr[SDL_RWops], value: UShort): CSize
  279. def SDL_WriteLE32(dst: Ptr[SDL_RWops], value: UInt): CSize
  280. def SDL_WriteLE64(dst: Ptr[SDL_RWops], value: ULong): CSize
  281. def SDL_WriteU8(dst: Ptr[SDL_RWops], value: UByte): CSize
  282. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  283. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  284. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  285. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  286. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  287. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  288. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  289. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  290. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  291. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  292. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  293. def toString(): String
    Definition Classes
    AnyRef → Any
  294. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  295. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  296. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped