Packages

object SDL

Annotations
@extern() @link("SDL2")
Linear Supertypes
AnyRef, Any
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_BlendMode = UInt

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

  2. type SDL_BlitMap = CStruct0

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

  3. type SDL_Color = UInt

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

  4. type SDL_CommonEvent = CStruct2[UInt, UInt]

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

  5. type SDL_Cursor = CStruct0

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

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

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

  7. type SDL_Event = CStruct2[UInt, CArray[Byte, _52]]
  8. type SDL_GLContext = Ptr[Byte]
  9. type SDL_GLattr = UInt
  10. type SDL_GLcontextFlag = UShort
  11. type SDL_GLcontextReleaseFlag = UShort
  12. type SDL_GLprofile = UShort
  13. type SDL_HitTestResult = UInt
  14. type SDL_KeyboardEvent = CStruct8[UInt, UInt, UInt, UByte, UByte, UByte, UByte, SDL_Keysym]
  15. type SDL_Keycode = Int

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

  16. type SDL_Keymod = UInt
  17. type SDL_Keysym = CStruct4[SDL_Scancode, SDL_Keycode, UShort, UInt]

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

  18. type SDL_MouseButtonEvent = CStruct10[UInt, UInt, UInt, UInt, UByte, UByte, UByte, UByte, Int, Int]
  19. type SDL_MouseMotionEvent = CStruct9[UInt, UInt, UInt, UInt, UInt, Int, Int, Int, Int]
  20. type SDL_MouseWheelDirection = Int
  21. type SDL_OSEvent = CStruct2[UInt, UInt]
  22. type SDL_Palette = CStruct4[CInt, Ptr[SDL_Color], UInt, CInt]
  23. 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]]
  24. type SDL_Point = CStruct2[CInt, CInt]

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

  25. type SDL_QuitEvent = CStruct2[UInt, UInt]
  26. type SDL_RWops = CStruct0

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

  27. type SDL_Rect = CStruct4[CInt, CInt, CInt, CInt]
  28. type SDL_Renderer = CStruct0
  29. type SDL_RendererFlags = UInt

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

  30. type SDL_RendererFlip = UInt
  31. type SDL_RendererInfo = CStruct6[CString, UInt, UInt, CArray[UInt, _16], CInt, CInt]
  32. type SDL_Scancode = Int

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

  33. type SDL_SpinLock = Int

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

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

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

  45. type SDL_ThreadFunction = CFuncPtr1[Ptr[Byte], CInt]
  46. type SDL_ThreadPriority = Int
  47. type SDL_UserEvent = CStruct6[UInt, UInt, UInt, Int, Ptr[Byte], Ptr[Byte]]
  48. type SDL_Window = CStruct0
  49. type SDL_WindowEvent = CStruct9[UInt, UInt, UInt, UByte, UByte, UByte, UByte, Int, Int]
  50. type SDL_atomic_t = CStruct1[CInt]
  51. type SDL_bool = UInt

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

  52. type SDL_cond = CStruct0
  53. type SDL_error = CStruct2[CInt, CArray[CChar, Digit3[_1, scala.scalanative.unsafe.Nat._2, _8]]]

    ************************************ *********** SDL_error_c.h ************ ************************************

  54. type SDL_errorcode = UInt
  55. type SDL_mutex = CStruct0

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

  56. type SDL_sem = CStruct0
  57. type SDL_semaphore = CStruct0
  58. type SDL_threadID = ULong
  59. type SDL_version = CStruct3[UByte, UByte, UByte]

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

  60. type _16 = Digit2[_1, _6]
  61. type _2 = scala.scalanative.unsafe.Nat._2
  62. type _32 = Digit2[_3, scala.scalanative.unsafe.Nat._2]
  63. type _52 = Digit2[_5, scala.scalanative.unsafe.Nat._2]
  64. type _56 = Digit2[_5, _6]
  65. 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_CondBroadcast(cond: Ptr[SDL_cond]): CInt
  21. def SDL_CondSignal(cond: Ptr[SDL_cond]): CInt
  22. def SDL_CondWait(cond: Ptr[SDL_cond], mutex: Ptr[SDL_mutex]): CInt
  23. def SDL_CondWaitTimeout(cond: Ptr[SDL_cond], mutex: Ptr[SDL_mutex], ms: UInt): CInt
  24. def SDL_CreateColorCursor(surface: Ptr[SDL_Surface], hot_x: CInt, hot_y: CInt): Ptr[SDL_Cursor]
  25. def SDL_CreateCond(): Ptr[SDL_cond]
  26. def SDL_CreateCursor(data: Ptr[UByte], mask: Ptr[UByte], w: CInt, h: CInt, hot_x: CInt, hot_y: CInt): Ptr[SDL_Cursor]
  27. def SDL_CreateMutex(): Ptr[SDL_mutex]
  28. def SDL_CreateRenderer(window: Ptr[SDL_Window], index: CInt, flags: UInt): Ptr[SDL_Renderer]
  29. def SDL_CreateSemaphore(initial_value: UInt): Ptr[SDL_sem]
  30. def SDL_CreateSoftwareRenderer(surface: Ptr[SDL_Surface]): Ptr[SDL_Renderer]
  31. def SDL_CreateSystemCursor(id: SDL_SystemCursor): Ptr[SDL_Cursor]
  32. def SDL_CreateTexture(renderer: Ptr[SDL_Renderer], format: UInt, access: CInt, w: Int, h: Int): Ptr[SDL_Texture]
  33. def SDL_CreateTextureFromSurface(renderer: Ptr[SDL_Renderer], surface: Ptr[SDL_Surface]): Ptr[SDL_Texture]
  34. def SDL_CreateThread(fn: SDL_ThreadFunction, name: CString, data: Ptr[Byte]): Ptr[SDL_Thread]
  35. def SDL_CreateWindow(title: CString, x: CInt, y: CInt, w: CInt, h: CInt, flags: UInt): Ptr[SDL_Window]
  36. def SDL_CreateWindowAndRenderer(width: CInt, height: CInt, flags: UInt, window: Ptr[Ptr[SDL_Window]], renderer: Ptr[Ptr[SDL_Renderer]]): CInt
  37. def SDL_CreateWindowFrom(data: Ptr[Byte]): Ptr[SDL_Window]
  38. def SDL_Delay(ms: UInt): Unit
  39. def SDL_DestroyCond(cond: Ptr[SDL_cond]): Unit
  40. def SDL_DestroyMutex(mutex: Ptr[SDL_mutex]): Unit
  41. def SDL_DestroyRenderer(renderer: Ptr[SDL_Renderer]): Unit
  42. def SDL_DestroySemaphore(sem: Ptr[SDL_sem]): Unit
  43. def SDL_DestroyTexture(texture: Ptr[SDL_Texture]): Unit
  44. def SDL_DestroyWindow(window: Ptr[SDL_Window]): Unit
  45. def SDL_DetachThread(thread: Ptr[SDL_Thread]): Unit
  46. def SDL_DisableScreenSaver(): Unit
  47. def SDL_EnableScreenSaver(): Unit
  48. def SDL_EnclosePoints(points: Ptr[SDL_Point], count: CInt, clip: Ptr[SDL_Rect], result: Ptr[SDL_Rect]): SDL_bool
  49. def SDL_Error(code: SDL_errorcode): CInt
  50. def SDL_EventState(type_: UInt, state: CInt): UByte
  51. def SDL_FlushEvent(type_: UInt): Unit
  52. def SDL_FlushEvents(minType: UInt, maxType: UInt): Unit
  53. def SDL_FreeCursor(cursor: Ptr[SDL_Cursor]): Unit
  54. def SDL_FreeFormat(format: Ptr[SDL_PixelFormat]): Unit
  55. def SDL_FreePalette(palette: Ptr[SDL_Palette]): Unit
  56. def SDL_FreeRW(area: Ptr[SDL_RWops]): Unit
  57. def SDL_FreeSurface(surface: Ptr[SDL_Surface]): Unit
  58. def SDL_GL_BindTexture(texture: Ptr[SDL_Texture], texw: Ptr[CFloat], texh: Ptr[CFloat]): CInt
  59. def SDL_GL_CreateContext(window: Ptr[SDL_Window]): SDL_GLContext
  60. def SDL_GL_DeleteContext(context: SDL_GLContext): Unit
  61. def SDL_GL_ExtensionSupported(extension: CString): SDL_bool
  62. def SDL_GL_GetAttribute(attr: SDL_GLattr, value: Ptr[CInt]): CInt
  63. def SDL_GL_GetCurrentContext(): SDL_GLContext
  64. def SDL_GL_GetCurrentWindow(): Ptr[SDL_Window]
  65. def SDL_GL_GetDrawableSize(window: Ptr[SDL_Window], w: Ptr[CInt], h: Ptr[CInt]): Unit
  66. def SDL_GL_GetProcAddress(proc: CString): Ptr[Byte]
  67. def SDL_GL_GetSwapInterval(): CInt
  68. def SDL_GL_LoadLibrary(path: CString): CInt
  69. def SDL_GL_MakeCurrent(window: Ptr[SDL_Window], context: SDL_GLContext): CInt
  70. def SDL_GL_ResetAttributes(): Unit
  71. def SDL_GL_SetAttribute(attr: SDL_GLattr, value: CInt): CInt
  72. def SDL_GL_SetSwapInterval(interval: CInt): CInt
  73. def SDL_GL_SwapWindow(window: Ptr[SDL_Window]): Unit
  74. def SDL_GL_UnbindTexture(texture: Ptr[SDL_Texture]): CInt
  75. def SDL_GL_UnloadLibrary(): Unit
  76. def SDL_GetClosestDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode], closest: Ptr[SDL_DisplayMode]): CInt
  77. def SDL_GetCurrentDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  78. def SDL_GetCurrentVideoDriver(): CString
  79. def SDL_GetCursor(): Ptr[SDL_Cursor]
  80. def SDL_GetDefaultCursor(): Ptr[SDL_Cursor]
  81. def SDL_GetDesktopDisplayMode(displayIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  82. def SDL_GetDisplayBounds(displayIndex: CInt, rect: Ptr[SDL_Rect]): CInt
  83. def SDL_GetDisplayDPI(displayIndex: CInt, ddpi: Ptr[CFloat], hdpi: Ptr[CFloat], vdpi: Ptr[CFloat]): CInt
  84. def SDL_GetDisplayMode(displayIndex: CInt, modeIndex: CInt, mode: Ptr[SDL_DisplayMode]): CInt
  85. def SDL_GetDisplayName(displayIndex: CInt): CString
  86. def SDL_GetErrBuf(): Ptr[SDL_error]
  87. def SDL_GetError(): CString

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

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

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

  148. def SDL_InitSubSystem(flags: UInt): CInt
  149. def SDL_IntersectRect(A: Ptr[SDL_Rect], B: Ptr[SDL_Rect], result: Ptr[SDL_Rect]): SDL_bool
  150. def SDL_IntersectRectAndLine(rect: Ptr[SDL_Point], x1: Ptr[CInt], y1: Ptr[CInt], x2: Ptr[CInt], y2: Ptr[CInt]): SDL_bool
  151. def SDL_IsScreenKeyboardShown(window: Ptr[SDL_Window]): SDL_bool
  152. def SDL_IsScreenSaverEnabled(): SDL_bool
  153. def SDL_IsTextInputActive(): SDL_bool
  154. def SDL_LoadBMP_RW(src: Ptr[SDL_RWops], freesrc: CInt): Ptr[SDL_Surface]
  155. def SDL_LockMutex(mutex: Ptr[SDL_mutex]): CInt
  156. def SDL_LockTexture(texture: Ptr[SDL_Texture], rect: Ptr[SDL_Rect], pixels: Ptr[Ptr[Byte]], pitch: Ptr[CInt]): CInt
  157. def SDL_LogDebug(category: CInt, fmt: CString, value: CString): Unit

    ************************************ *********** SDL_log.h ************ ************************************

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

Inherited from AnyRef

Inherited from Any

Ungrouped