SDLRuby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +31 -0
  5. data/Rakefile +12 -0
  6. data/lib/SDLRuby/audio.rb +65 -0
  7. data/lib/SDLRuby/cursor.rb +46 -0
  8. data/lib/SDLRuby/display.rb +79 -0
  9. data/lib/SDLRuby/event/accessor.rb +127 -0
  10. data/lib/SDLRuby/event/type.rb +75 -0
  11. data/lib/SDLRuby/event.rb +80 -0
  12. data/lib/SDLRuby/font.rb +227 -0
  13. data/lib/SDLRuby/hint.rb +36 -0
  14. data/lib/SDLRuby/image/image.rb +23 -0
  15. data/lib/SDLRuby/image/include/SDL_image.h.rb +61 -0
  16. data/lib/SDLRuby/image.rb +69 -0
  17. data/lib/SDLRuby/keyboard.rb +58 -0
  18. data/lib/SDLRuby/mixer/channel.rb +43 -0
  19. data/lib/SDLRuby/mixer/chunk.rb +49 -0
  20. data/lib/SDLRuby/mixer/controller.rb +44 -0
  21. data/lib/SDLRuby/mixer/include/SDL_mixer.h.rb +95 -0
  22. data/lib/SDLRuby/mixer/sdl_mixer.rb +60 -0
  23. data/lib/SDLRuby/mixer.rb +87 -0
  24. data/lib/SDLRuby/mouse.rb +52 -0
  25. data/lib/SDLRuby/music.rb +158 -0
  26. data/lib/SDLRuby/palette.rb +49 -0
  27. data/lib/SDLRuby/pixel_formatter.rb +67 -0
  28. data/lib/SDLRuby/rect.rb +11 -0
  29. data/lib/SDLRuby/renderer/accessor.rb +70 -0
  30. data/lib/SDLRuby/renderer/drawer.rb +107 -0
  31. data/lib/SDLRuby/renderer/renderer_info.rb +27 -0
  32. data/lib/SDLRuby/renderer.rb +101 -0
  33. data/lib/SDLRuby/rw_ops/rw_object.rb +128 -0
  34. data/lib/SDLRuby/rw_ops.rb +216 -0
  35. data/lib/SDLRuby/sdl/include/SDL.h.rb +33 -0
  36. data/lib/SDLRuby/sdl/include/SDL_audio.h.rb +49 -0
  37. data/lib/SDLRuby/sdl/include/SDL_blendmode.h.rb +6 -0
  38. data/lib/SDLRuby/sdl/include/SDL_clipboard.h.rb +10 -0
  39. data/lib/SDLRuby/sdl/include/SDL_config.h.rb +13 -0
  40. data/lib/SDLRuby/sdl/include/SDL_cpuinfo.h.rb +27 -0
  41. data/lib/SDLRuby/sdl/include/SDL_endian.h.rb +3 -0
  42. data/lib/SDLRuby/sdl/include/SDL_error.h.rb +9 -0
  43. data/lib/SDLRuby/sdl/include/SDL_events.h.rb +32 -0
  44. data/lib/SDLRuby/sdl/include/SDL_filesystem.h.rb +6 -0
  45. data/lib/SDLRuby/sdl/include/SDL_gamecontroller.h.rb +66 -0
  46. data/lib/SDLRuby/sdl/include/SDL_gesture.h.rb +12 -0
  47. data/lib/SDLRuby/sdl/include/SDL_guid.h.rb +7 -0
  48. data/lib/SDLRuby/sdl/include/SDL_hints.h.rb +14 -0
  49. data/lib/SDLRuby/sdl/include/SDL_joystick.h.rb +69 -0
  50. data/lib/SDLRuby/sdl/include/SDL_keyboard.h.rb +26 -0
  51. data/lib/SDLRuby/sdl/include/SDL_keycode.h.rb +7 -0
  52. data/lib/SDLRuby/sdl/include/SDL_locale.h.rb +6 -0
  53. data/lib/SDLRuby/sdl/include/SDL_main.h.rb +3 -0
  54. data/lib/SDLRuby/sdl/include/SDL_messagebox.h.rb +10 -0
  55. data/lib/SDLRuby/sdl/include/SDL_misc.h.rb +5 -0
  56. data/lib/SDLRuby/sdl/include/SDL_mouse.h.rb +26 -0
  57. data/lib/SDLRuby/sdl/include/SDL_pixels.h.rb +25 -0
  58. data/lib/SDLRuby/sdl/include/SDL_platform.h.rb +3 -0
  59. data/lib/SDLRuby/sdl/include/SDL_power.h.rb +6 -0
  60. data/lib/SDLRuby/sdl/include/SDL_rect.h.rb +17 -0
  61. data/lib/SDLRuby/sdl/include/SDL_render.h.rb +94 -0
  62. data/lib/SDLRuby/sdl/include/SDL_revision.h.rb +2 -0
  63. data/lib/SDLRuby/sdl/include/SDL_rwops.h.rb +34 -0
  64. data/lib/SDLRuby/sdl/include/SDL_scancode.h.rb +5 -0
  65. data/lib/SDLRuby/sdl/include/SDL_sensor.h.rb +25 -0
  66. data/lib/SDLRuby/sdl/include/SDL_shape.h.rb +13 -0
  67. data/lib/SDLRuby/sdl/include/SDL_stdinc.h.rb +24 -0
  68. data/lib/SDLRuby/sdl/include/SDL_surface.h.rb +37 -0
  69. data/lib/SDLRuby/sdl/include/SDL_system.h.rb +6 -0
  70. data/lib/SDLRuby/sdl/include/SDL_syswm.h.rb +16 -0
  71. data/lib/SDLRuby/sdl/include/SDL_timer.h.rb +13 -0
  72. data/lib/SDLRuby/sdl/include/SDL_touch.h.rb +15 -0
  73. data/lib/SDLRuby/sdl/include/SDL_types.h.rb +3 -0
  74. data/lib/SDLRuby/sdl/include/SDL_version.h.rb +6 -0
  75. data/lib/SDLRuby/sdl/include/SDL_video.h.rb +117 -0
  76. data/lib/SDLRuby/sdl/sdl.rb +55 -0
  77. data/lib/SDLRuby/sdl/sdl_audio.rb +75 -0
  78. data/lib/SDLRuby/sdl/sdl_blendmode.rb +10 -0
  79. data/lib/SDLRuby/sdl/sdl_error.rb +5 -0
  80. data/lib/SDLRuby/sdl/sdl_events.rb +470 -0
  81. data/lib/SDLRuby/sdl/sdl_hints.rb +9 -0
  82. data/lib/SDLRuby/sdl/sdl_keyboard.rb +12 -0
  83. data/lib/SDLRuby/sdl/sdl_locale.rb +8 -0
  84. data/lib/SDLRuby/sdl/sdl_message_box.rb +7 -0
  85. data/lib/SDLRuby/sdl/sdl_mouse.rb +32 -0
  86. data/lib/SDLRuby/sdl/sdl_palette.rb +12 -0
  87. data/lib/SDLRuby/sdl/sdl_pixels.rb +138 -0
  88. data/lib/SDLRuby/sdl/sdl_rect.rb +11 -0
  89. data/lib/SDLRuby/sdl/sdl_render.rb +35 -0
  90. data/lib/SDLRuby/sdl/sdl_rw_ops.rb +29 -0
  91. data/lib/SDLRuby/sdl/sdl_scancode.rb +255 -0
  92. data/lib/SDLRuby/sdl/sdl_surface.rb +27 -0
  93. data/lib/SDLRuby/sdl/sdl_version.rb +5 -0
  94. data/lib/SDLRuby/sdl/sdl_video.rb +104 -0
  95. data/lib/SDLRuby/sdl.rb +192 -0
  96. data/lib/SDLRuby/sdl_error.rb +8 -0
  97. data/lib/SDLRuby/surface/pixel_format.rb +51 -0
  98. data/lib/SDLRuby/surface/surface_renderer.rb +26 -0
  99. data/lib/SDLRuby/surface.rb +179 -0
  100. data/lib/SDLRuby/text_input.rb +38 -0
  101. data/lib/SDLRuby/texture.rb +93 -0
  102. data/lib/SDLRuby/ttf/include/SDL_ttf.h.rb +54 -0
  103. data/lib/SDLRuby/ttf/ttf.rb +41 -0
  104. data/lib/SDLRuby/ttf.rb +54 -0
  105. data/lib/SDLRuby/version.rb +5 -0
  106. data/lib/SDLRuby/window/accessor.rb +125 -0
  107. data/lib/SDLRuby/window/controller.rb +53 -0
  108. data/lib/SDLRuby/window/display_info.rb +48 -0
  109. data/lib/SDLRuby/window/flag.rb +42 -0
  110. data/lib/SDLRuby/window/hit_tester.rb +61 -0
  111. data/lib/SDLRuby/window/input.rb +68 -0
  112. data/lib/SDLRuby/window/shaper.rb +68 -0
  113. data/lib/SDLRuby/window/surfacer.rb +37 -0
  114. data/lib/SDLRuby/window/window_renderer.rb +31 -0
  115. data/lib/SDLRuby/window.rb +90 -0
  116. data/lib/SDLRuby.rb +16 -0
  117. data/sig/SDLRuby/event.rbs +104 -0
  118. data/sig/SDLRuby/pixel_formmater.rbs +24 -0
  119. data/sig/SDLRuby/rect.rbs +5 -0
  120. data/sig/SDLRuby/sdl.rbs +606 -0
  121. data/sig/SDLRuby.rbs +4 -0
  122. metadata +168 -0
@@ -0,0 +1,606 @@
1
+ # TypeProf 0.21.3
2
+
3
+ # Classes
4
+ module SDLRuby
5
+ module SDL
6
+ SDL_DESTROY_RENDERER: Integer
7
+ SDL_DESTROY_TEXTURE: Integer
8
+ SDL_FREE: Integer
9
+ SDL_FREE_CURSOR: Integer
10
+ SDL_FREE_FORMAT: Integer
11
+ SDL_FREE_PALETTE: Integer
12
+ SDL_FREE_RW: Integer
13
+ SDL_FREE_SURFACE: Integer
14
+ AUDIO_U8: Integer
15
+ AUDIO_S8: Integer
16
+ AUDIO_U16LSB: Integer
17
+ AUDIO_S16LSB: Integer
18
+ AUDIO_U16MSB: Integer
19
+ AUDIO_S16MSB: Integer
20
+ AUDIO_U16: Integer
21
+ AUDIO_S16: Integer
22
+ AUDIO_S32LSB: Integer
23
+ AUDIO_S32MSB: Integer
24
+ AUDIO_S32: Integer
25
+ AUDIO_F32LSB: Integer
26
+ AUDIO_F32MSB: Integer
27
+ AUDIO_F32: Integer
28
+ AUDIO_U16SYS: Integer
29
+ AUDIO_S16SYS: Integer
30
+ AUDIO_S32SYS: Integer
31
+ AUDIO_F32SYS: Integer
32
+ SDL_AUDIO_ALLOW_FREQUENCY_CHANGE: Integer
33
+ SDL_AUDIO_ALLOW_FORMAT_CHANGE: Integer
34
+ SDL_AUDIO_ALLOW_CHANNELS_CHANGE: Integer
35
+ SDL_AUDIO_ALLOW_SAMPLES_CHANGE: Integer
36
+ SDL_AUDIO_ALLOW_ANY_CHANGE: Integer
37
+ SDL_AudioSpec: Class
38
+ SDL_AUDIO_STOPPED: Integer
39
+ SDL_AUDIO_PLAYING: Integer
40
+ SDL_AUDIO_PAUSED: Integer
41
+ SDL_MIX_MAXVOLUME: Integer
42
+ SDL_BLENDMODE_NONE: Integer
43
+ SDL_BLENDMODE_BLEND: Integer
44
+ SDL_BLENDMODE_ADD: Integer
45
+ SDL_BLENDMODE_MOD: Integer
46
+ SDL_BLENDMODE_MUL: Integer
47
+ SDL_BLENDMODE_INVALID: Integer
48
+ SDL_Keysym: Class
49
+ SDL_RELEASED: Integer
50
+ SDL_PRESSED: Integer
51
+ SDL_FIRSTEVENT: Integer
52
+ SDL_QUIT: Integer
53
+ SDL_APP_TERMINATING: Integer
54
+ SDL_APP_LOWMEMORY: Integer
55
+ SDL_APP_WILLENTERBACKGROUND: Integer
56
+ SDL_APP_DIDENTERBACKGROUND: Integer
57
+ SDL_APP_WILLENTERFOREGROUND: Integer
58
+ SDL_APP_DIDENTERFOREGROUND: Integer
59
+ SDL_LOCALECHANGED: Integer
60
+ SDL_DISPLAYEVENT: Integer
61
+ SDL_WINDOWEVENT: Integer
62
+ SDL_SYSWMEVENT: Integer
63
+ SDL_KEYDOWN: Integer
64
+ SDL_KEYUP: Integer
65
+ SDL_TEXTEDITING: Integer
66
+ SDL_TEXTINPUT: Integer
67
+ SDL_KEYMAPCHANGED: Integer
68
+ SDL_TEXTEDITING_EXT: Integer
69
+ SDL_MOUSEMOTION: Integer
70
+ SDL_MOUSEBUTTONDOWN: Integer
71
+ SDL_MOUSEBUTTONUP: Integer
72
+ SDL_MOUSEWHEEL: Integer
73
+ SDL_JOYAXISMOTION: Integer
74
+ SDL_JOYBALLMOTION: Integer
75
+ SDL_JOYHATMOTION: Integer
76
+ SDL_JOYBUTTONDOWN: Integer
77
+ SDL_JOYBUTTONUP: Integer
78
+ SDL_JOYDEVICEADDED: Integer
79
+ SDL_JOYDEVICEREMOVED: Integer
80
+ SDL_JOYBATTERYUPDATED: Integer
81
+ SDL_CONTROLLERAXISMOTION: Integer
82
+ SDL_CONTROLLERBUTTONDOWN: Integer
83
+ SDL_CONTROLLERBUTTONUP: Integer
84
+ SDL_CONTROLLERDEVICEADDED: Integer
85
+ SDL_CONTROLLERDEVICEREMOVED: Integer
86
+ SDL_CONTROLLERDEVICEREMAPPED: Integer
87
+ SDL_CONTROLLERTOUCHPADDOWN: Integer
88
+ SDL_CONTROLLERTOUCHPADMOTION: Integer
89
+ SDL_CONTROLLERTOUCHPADUP: Integer
90
+ SDL_CONTROLLERSENSORUPDATE: Integer
91
+ SDL_FINGERDOWN: Integer
92
+ SDL_FINGERUP: Integer
93
+ SDL_FINGERMOTION: Integer
94
+ SDL_DOLLARGESTURE: Integer
95
+ SDL_DOLLARRECORD: Integer
96
+ SDL_MULTIGESTURE: Integer
97
+ SDL_CLIPBOARDUPDATE: Integer
98
+ SDL_DROPFILE: Integer
99
+ SDL_DROPTEXT: Integer
100
+ SDL_DROPBEGIN: Integer
101
+ SDL_DROPCOMPLETE: Integer
102
+ SDL_AUDIODEVICEADDED: Integer
103
+ SDL_AUDIODEVICEREMOVED: Integer
104
+ SDL_SENSORUPDATE: Integer
105
+ SDL_RENDER_TARGETS_RESET: Integer
106
+ SDL_RENDER_DEVICE_RESET: Integer
107
+ SDL_POLLSENTINEL: Integer
108
+ SDL_USEREVENT: Integer
109
+ SDL_LASTEVENT: Integer
110
+ SDL_CommonEvent: Class
111
+ SDL_DisplayEvent: Class
112
+ SDL_WindowEvent: Class
113
+ SDL_KeyboardEvent: Class
114
+ SDL_TEXTEDITINGEVENT_TEXT_SIZE: Integer
115
+ SDL_TextEditingEvent: Class
116
+ SDL_TextEditingExtEvent: Class
117
+ SDL_TEXTINPUTEVENT_TEXT_SIZE: Integer
118
+ SDL_TextInputEvent: Class
119
+ SDL_MouseMotionEvent: Class
120
+ SDL_MouseButtonEvent: Class
121
+ SDL_MouseWheelEvent: Class
122
+ SDL_JoyAxisEvent: Class
123
+ SDL_JoyBallEvent: Class
124
+ SDL_JoyHatEvent: Class
125
+ SDL_JoyButtonEvent: Class
126
+ SDL_JoyDeviceEvent: Class
127
+ SDL_JoyBatteryEvent: Class
128
+ SDL_ControllerAxisEvent: Class
129
+ SDL_ControllerButtonEvent: Class
130
+ SDL_ControllerDeviceEvent: Class
131
+ SDL_ControllerTouchpadEvent: Class
132
+ SDL_ControllerSensorEvent: Class
133
+ SDL_AudioDeviceEvent: Class
134
+ SDL_TouchFingerEvent: Class
135
+ SDL_MultiGestureEvent: Class
136
+ SDL_DollarGestureEvent: Class
137
+ SDL_DropEvent: Class
138
+ SDL_SensorEvent: Class
139
+ SDL_QuitEvent: Class
140
+ SDL_OSEvent: Class
141
+ SDL_UserEvent: Class
142
+ SDL_SysWMEvent: Class
143
+ SDL_Event: Class
144
+ SDL_ADDEVENT: Integer
145
+ SDL_PEEKEVENT: Integer
146
+ SDL_GETEVENT: Integer
147
+ SDL_HINT_DEFAULT: Integer
148
+ SDL_HINT_NORMAL: Integer
149
+ SDL_HINT_OVERRIDE: Integer
150
+ SDL_Locale: Class
151
+ SDL_MESSAGEBOX_ERROR: Integer
152
+ SDL_MESSAGEBOX_WARNING: Integer
153
+ SDL_MESSAGEBOX_INFORMATION: Integer
154
+ SDL_SYSTEM_CURSOR_ARROW: Integer
155
+ SDL_SYSTEM_CURSOR_IBEAM: Integer
156
+ SDL_SYSTEM_CURSOR_WAIT: Integer
157
+ SDL_SYSTEM_CURSOR_CROSSHAIR: Integer
158
+ SDL_SYSTEM_CURSOR_WAITARROW: Integer
159
+ SDL_SYSTEM_CURSOR_SIZENWSE: Integer
160
+ SDL_SYSTEM_CURSOR_SIZENESW: Integer
161
+ SDL_SYSTEM_CURSOR_SIZEWE: Integer
162
+ SDL_SYSTEM_CURSOR_SIZENS: Integer
163
+ SDL_SYSTEM_CURSOR_SIZEALL: Integer
164
+ SDL_SYSTEM_CURSOR_NO: Integer
165
+ SDL_SYSTEM_CURSOR_HAND: Integer
166
+ SDL_NUM_SYSTEM_CURSORS: Integer
167
+ SDL_MOUSEWHEEL_NORMAL: Integer
168
+ SDL_MOUSEWHEEL_FLIPPED: Integer
169
+ SDL_BUTTON: ^(Integer) -> Integer
170
+ SDL_BUTTON_LEFT: Integer
171
+ SDL_BUTTON_MIDDLE: Integer
172
+ SDL_BUTTON_RIGHT: Integer
173
+ SDL_BUTTON_X1: Integer
174
+ SDL_BUTTON_X2: Integer
175
+ SDL_BUTTON_LMASK: Integer
176
+ SDL_BUTTON_MMASK: Integer
177
+ SDL_BUTTON_RMASK: Integer
178
+ SDL_BUTTON_X1MASK: Integer
179
+ SDL_BUTTON_X2MASK: Integer
180
+ SDL_Palette: Class
181
+ SDL_ALPHA_OPAQUE: Integer
182
+ SDL_ALPHA_TRANSPARENT: Integer
183
+ SDL_Color: Class
184
+ SDL_PIXELFORMAT_UNKNOWN: Integer
185
+ SDL_PIXELFORMAT_INDEX1LSB: Integer
186
+ SDL_PIXELFORMAT_INDEX1MSB: Integer
187
+ SDL_PIXELFORMAT_INDEX4LSB: Integer
188
+ SDL_PIXELFORMAT_INDEX4MSB: Integer
189
+ SDL_PIXELFORMAT_INDEX8: Integer
190
+ SDL_PIXELFORMAT_RGB332: Integer
191
+ SDL_PIXELFORMAT_XRGB4444: Integer
192
+ SDL_PIXELFORMAT_RGB444: Integer
193
+ SDL_PIXELFORMAT_XBGR4444: Integer
194
+ SDL_PIXELFORMAT_BGR444: Integer
195
+ SDL_PIXELFORMAT_XRGB1555: Integer
196
+ SDL_PIXELFORMAT_RGB555: Integer
197
+ SDL_PIXELFORMAT_XBGR1555: Integer
198
+ SDL_PIXELFORMAT_BGR555: Integer
199
+ SDL_PIXELFORMAT_ARGB4444: Integer
200
+ SDL_PIXELFORMAT_RGBA4444: Integer
201
+ SDL_PIXELFORMAT_ABGR4444: Integer
202
+ SDL_PIXELFORMAT_BGRA4444: Integer
203
+ SDL_PIXELFORMAT_ARGB1555: Integer
204
+ SDL_PIXELFORMAT_RGBA5551: Integer
205
+ SDL_PIXELFORMAT_ABGR1555: Integer
206
+ SDL_PIXELFORMAT_BGRA5551: Integer
207
+ SDL_PIXELFORMAT_RGB565: Integer
208
+ SDL_PIXELFORMAT_BGR565: Integer
209
+ SDL_PIXELFORMAT_RGB24: Integer
210
+ SDL_PIXELFORMAT_BGR24: Integer
211
+ SDL_PIXELFORMAT_XRGB8888: Integer
212
+ SDL_PIXELFORMAT_RGB888: Integer
213
+ SDL_PIXELFORMAT_RGBX8888: Integer
214
+ SDL_PIXELFORMAT_XBGR8888: Integer
215
+ SDL_PIXELFORMAT_BGR888: Integer
216
+ SDL_PIXELFORMAT_BGRX8888: Integer
217
+ SDL_PIXELFORMAT_ARGB8888: Integer
218
+ SDL_PIXELFORMAT_RGBA8888: Integer
219
+ SDL_PIXELFORMAT_ABGR8888: Integer
220
+ SDL_PIXELFORMAT_BGRA8888: Integer
221
+ SDL_PIXELFORMAT_ARGB2101010: Integer
222
+ SDL_PIXELFORMAT_RGBA32: Integer
223
+ SDL_PIXELFORMAT_ARGB32: Integer
224
+ SDL_PIXELFORMAT_BGRA32: Integer
225
+ SDL_PIXELFORMAT_ABGR32: Integer
226
+ SDL_PIXELFORMAT_YV12: Integer
227
+ SDL_PIXELFORMAT_IYUV: Integer
228
+ SDL_PIXELFORMAT_YUY2: Integer
229
+ SDL_PIXELFORMAT_UYVY: Integer
230
+ SDL_PIXELFORMAT_YVYU: Integer
231
+ SDL_PIXELFORMAT_NV12: Integer
232
+ SDL_PIXELFORMAT_NV21: Integer
233
+ SDL_PIXELFORMAT_EXTERNAL_OES: Integer
234
+ SDL_PixelFormat: Class
235
+ SDL_Point: Class
236
+ SDL_FPoint: Class
237
+ SDL_Rect: Class
238
+ SDL_FRect: Class
239
+ SDL_RENDERER_SOFTWARE: Integer
240
+ SDL_RENDERER_ACCELERATED: Integer
241
+ SDL_RENDERER_PRESENTVSYNC: Integer
242
+ SDL_RENDERER_TARGETTEXTURE: Integer
243
+ SDL_RendererInfo: Class
244
+ SDL_FLIP_NONE: Integer
245
+ SDL_FLIP_HORIZONTAL: Integer
246
+ SDL_FLIP_VERTICAL: Integer
247
+ SDL_SCALEMODE_NEAREST: Integer
248
+ SDL_SCALEMODE_LINEAR: Integer
249
+ SDL_SCALEMODE_BEST: Integer
250
+ SDL_TEXTUREACCESS_STATIC: Integer
251
+ SDL_TEXTUREACCESS_STREAMING: Integer
252
+ SDL_TEXTUREACCESS_TARGET: Integer
253
+ SDL_RWOPS_UNKNOWN: Integer
254
+ SDL_RWOPS_WINFILE: Integer
255
+ SDL_RWOPS_STDFILE: Integer
256
+ SDL_RWOPS_JNIFILE: Integer
257
+ SDL_RWOPS_MEMORY: Integer
258
+ SDL_RWOPS_MEMORY_RO: Integer
259
+ SDL_SCANCODE_UNKNOWN: Integer
260
+ SDL_SCANCODE_A: Integer
261
+ SDL_SCANCODE_B: Integer
262
+ SDL_SCANCODE_C: Integer
263
+ SDL_SCANCODE_D: Integer
264
+ SDL_SCANCODE_E: Integer
265
+ SDL_SCANCODE_F: Integer
266
+ SDL_SCANCODE_G: Integer
267
+ SDL_SCANCODE_H: Integer
268
+ SDL_SCANCODE_I: Integer
269
+ SDL_SCANCODE_J: Integer
270
+ SDL_SCANCODE_K: Integer
271
+ SDL_SCANCODE_L: Integer
272
+ SDL_SCANCODE_M: Integer
273
+ SDL_SCANCODE_N: Integer
274
+ SDL_SCANCODE_O: Integer
275
+ SDL_SCANCODE_P: Integer
276
+ SDL_SCANCODE_Q: Integer
277
+ SDL_SCANCODE_R: Integer
278
+ SDL_SCANCODE_S: Integer
279
+ SDL_SCANCODE_T: Integer
280
+ SDL_SCANCODE_U: Integer
281
+ SDL_SCANCODE_V: Integer
282
+ SDL_SCANCODE_W: Integer
283
+ SDL_SCANCODE_X: Integer
284
+ SDL_SCANCODE_Y: Integer
285
+ SDL_SCANCODE_Z: Integer
286
+ SDL_SCANCODE_1: Integer
287
+ SDL_SCANCODE_2: Integer
288
+ SDL_SCANCODE_3: Integer
289
+ SDL_SCANCODE_4: Integer
290
+ SDL_SCANCODE_5: Integer
291
+ SDL_SCANCODE_6: Integer
292
+ SDL_SCANCODE_7: Integer
293
+ SDL_SCANCODE_8: Integer
294
+ SDL_SCANCODE_9: Integer
295
+ SDL_SCANCODE_0: Integer
296
+ SDL_SCANCODE_RETURN: Integer
297
+ SDL_SCANCODE_ESCAPE: Integer
298
+ SDL_SCANCODE_BACKSPACE: Integer
299
+ SDL_SCANCODE_TAB: Integer
300
+ SDL_SCANCODE_SPACE: Integer
301
+ SDL_SCANCODE_MINUS: Integer
302
+ SDL_SCANCODE_EQUALS: Integer
303
+ SDL_SCANCODE_LEFTBRACKET: Integer
304
+ SDL_SCANCODE_RIGHTBRACKET: Integer
305
+ SDL_SCANCODE_BACKSLASH: Integer
306
+ SDL_SCANCODE_NONUSHASH: Integer
307
+ SDL_SCANCODE_SEMICOLON: Integer
308
+ SDL_SCANCODE_APOSTROPHE: Integer
309
+ SDL_SCANCODE_GRAVE: Integer
310
+ SDL_SCANCODE_COMMA: Integer
311
+ SDL_SCANCODE_PERIOD: Integer
312
+ SDL_SCANCODE_SLASH: Integer
313
+ SDL_SCANCODE_CAPSLOCK: Integer
314
+ SDL_SCANCODE_F1: Integer
315
+ SDL_SCANCODE_F2: Integer
316
+ SDL_SCANCODE_F3: Integer
317
+ SDL_SCANCODE_F4: Integer
318
+ SDL_SCANCODE_F5: Integer
319
+ SDL_SCANCODE_F6: Integer
320
+ SDL_SCANCODE_F7: Integer
321
+ SDL_SCANCODE_F8: Integer
322
+ SDL_SCANCODE_F9: Integer
323
+ SDL_SCANCODE_F10: Integer
324
+ SDL_SCANCODE_F11: Integer
325
+ SDL_SCANCODE_F12: Integer
326
+ SDL_SCANCODE_PRINTSCREEN: Integer
327
+ SDL_SCANCODE_SCROLLLOCK: Integer
328
+ SDL_SCANCODE_PAUSE: Integer
329
+ SDL_SCANCODE_INSERT: Integer
330
+ SDL_SCANCODE_HOME: Integer
331
+ SDL_SCANCODE_PAGEUP: Integer
332
+ SDL_SCANCODE_DELETE: Integer
333
+ SDL_SCANCODE_END: Integer
334
+ SDL_SCANCODE_PAGEDOWN: Integer
335
+ SDL_SCANCODE_RIGHT: Integer
336
+ SDL_SCANCODE_LEFT: Integer
337
+ SDL_SCANCODE_DOWN: Integer
338
+ SDL_SCANCODE_UP: Integer
339
+ SDL_SCANCODE_NUMLOCKCLEAR: Integer
340
+ SDL_SCANCODE_KP_DIVIDE: Integer
341
+ SDL_SCANCODE_KP_MULTIPLY: Integer
342
+ SDL_SCANCODE_KP_MINUS: Integer
343
+ SDL_SCANCODE_KP_PLUS: Integer
344
+ SDL_SCANCODE_KP_ENTER: Integer
345
+ SDL_SCANCODE_KP_1: Integer
346
+ SDL_SCANCODE_KP_2: Integer
347
+ SDL_SCANCODE_KP_3: Integer
348
+ SDL_SCANCODE_KP_4: Integer
349
+ SDL_SCANCODE_KP_5: Integer
350
+ SDL_SCANCODE_KP_6: Integer
351
+ SDL_SCANCODE_KP_7: Integer
352
+ SDL_SCANCODE_KP_8: Integer
353
+ SDL_SCANCODE_KP_9: Integer
354
+ SDL_SCANCODE_KP_0: Integer
355
+ SDL_SCANCODE_KP_PERIOD: Integer
356
+ SDL_SCANCODE_NONUSBACKSLASH: Integer
357
+ SDL_SCANCODE_APPLICATION: Integer
358
+ SDL_SCANCODE_POWER: Integer
359
+ SDL_SCANCODE_KP_EQUALS: Integer
360
+ SDL_SCANCODE_F13: Integer
361
+ SDL_SCANCODE_F14: Integer
362
+ SDL_SCANCODE_F15: Integer
363
+ SDL_SCANCODE_F16: Integer
364
+ SDL_SCANCODE_F17: Integer
365
+ SDL_SCANCODE_F18: Integer
366
+ SDL_SCANCODE_F19: Integer
367
+ SDL_SCANCODE_F20: Integer
368
+ SDL_SCANCODE_F21: Integer
369
+ SDL_SCANCODE_F22: Integer
370
+ SDL_SCANCODE_F23: Integer
371
+ SDL_SCANCODE_F24: Integer
372
+ SDL_SCANCODE_EXECUTE: Integer
373
+ SDL_SCANCODE_HELP: Integer
374
+ SDL_SCANCODE_MENU: Integer
375
+ SDL_SCANCODE_SELECT: Integer
376
+ SDL_SCANCODE_STOP: Integer
377
+ SDL_SCANCODE_AGAIN: Integer
378
+ SDL_SCANCODE_UNDO: Integer
379
+ SDL_SCANCODE_CUT: Integer
380
+ SDL_SCANCODE_COPY: Integer
381
+ SDL_SCANCODE_PASTE: Integer
382
+ SDL_SCANCODE_FIND: Integer
383
+ SDL_SCANCODE_MUTE: Integer
384
+ SDL_SCANCODE_VOLUMEUP: Integer
385
+ SDL_SCANCODE_VOLUMEDOWN: Integer
386
+ SDL_SCANCODE_LOCKINGCAPSLOCK: Integer
387
+ SDL_SCANCODE_LOCKINGNUMLOCK: Integer
388
+ SDL_SCANCODE_LOCKINGSCROLLLOCK: Integer
389
+ SDL_SCANCODE_KP_COMMA: Integer
390
+ SDL_SCANCODE_KP_EQUALSAS400: Integer
391
+ SDL_SCANCODE_INTERNATIONAL1: Integer
392
+ SDL_SCANCODE_INTERNATIONAL2: Integer
393
+ SDL_SCANCODE_INTERNATIONAL3: Integer
394
+ SDL_SCANCODE_INTERNATIONAL4: Integer
395
+ SDL_SCANCODE_INTERNATIONAL5: Integer
396
+ SDL_SCANCODE_INTERNATIONAL6: Integer
397
+ SDL_SCANCODE_INTERNATIONAL7: Integer
398
+ SDL_SCANCODE_INTERNATIONAL8: Integer
399
+ SDL_SCANCODE_INTERNATIONAL9: Integer
400
+ SDL_SCANCODE_LANG1: Integer
401
+ SDL_SCANCODE_LANG2: Integer
402
+ SDL_SCANCODE_LANG3: Integer
403
+ SDL_SCANCODE_LANG4: Integer
404
+ SDL_SCANCODE_LANG5: Integer
405
+ SDL_SCANCODE_LANG6: Integer
406
+ SDL_SCANCODE_LANG7: Integer
407
+ SDL_SCANCODE_LANG8: Integer
408
+ SDL_SCANCODE_LANG9: Integer
409
+ SDL_SCANCODE_ALTERASE: Integer
410
+ SDL_SCANCODE_SYSREQ: Integer
411
+ SDL_SCANCODE_CANCEL: Integer
412
+ SDL_SCANCODE_CLEAR: Integer
413
+ SDL_SCANCODE_PRIOR: Integer
414
+ SDL_SCANCODE_RETURN2: Integer
415
+ SDL_SCANCODE_SEPARATOR: Integer
416
+ SDL_SCANCODE_OUT: Integer
417
+ SDL_SCANCODE_OPER: Integer
418
+ SDL_SCANCODE_CLEARAGAIN: Integer
419
+ SDL_SCANCODE_CRSEL: Integer
420
+ SDL_SCANCODE_EXSEL: Integer
421
+ SDL_SCANCODE_KP_00: Integer
422
+ SDL_SCANCODE_KP_000: Integer
423
+ SDL_SCANCODE_THOUSANDSSEPARATOR: Integer
424
+ SDL_SCANCODE_DECIMALSEPARATOR: Integer
425
+ SDL_SCANCODE_CURRENCYUNIT: Integer
426
+ SDL_SCANCODE_CURRENCYSUBUNIT: Integer
427
+ SDL_SCANCODE_KP_LEFTPAREN: Integer
428
+ SDL_SCANCODE_KP_RIGHTPAREN: Integer
429
+ SDL_SCANCODE_KP_LEFTBRACE: Integer
430
+ SDL_SCANCODE_KP_RIGHTBRACE: Integer
431
+ SDL_SCANCODE_KP_TAB: Integer
432
+ SDL_SCANCODE_KP_BACKSPACE: Integer
433
+ SDL_SCANCODE_KP_A: Integer
434
+ SDL_SCANCODE_KP_B: Integer
435
+ SDL_SCANCODE_KP_C: Integer
436
+ SDL_SCANCODE_KP_D: Integer
437
+ SDL_SCANCODE_KP_E: Integer
438
+ SDL_SCANCODE_KP_F: Integer
439
+ SDL_SCANCODE_KP_XOR: Integer
440
+ SDL_SCANCODE_KP_POWER: Integer
441
+ SDL_SCANCODE_KP_PERCENT: Integer
442
+ SDL_SCANCODE_KP_LESS: Integer
443
+ SDL_SCANCODE_KP_GREATER: Integer
444
+ SDL_SCANCODE_KP_AMPERSAND: Integer
445
+ SDL_SCANCODE_KP_DBLAMPERSAND: Integer
446
+ SDL_SCANCODE_KP_VERTICALBAR: Integer
447
+ SDL_SCANCODE_KP_DBLVERTICALBAR: Integer
448
+ SDL_SCANCODE_KP_COLON: Integer
449
+ SDL_SCANCODE_KP_HASH: Integer
450
+ SDL_SCANCODE_KP_SPACE: Integer
451
+ SDL_SCANCODE_KP_AT: Integer
452
+ SDL_SCANCODE_KP_EXCLAM: Integer
453
+ SDL_SCANCODE_KP_MEMSTORE: Integer
454
+ SDL_SCANCODE_KP_MEMRECALL: Integer
455
+ SDL_SCANCODE_KP_MEMCLEAR: Integer
456
+ SDL_SCANCODE_KP_MEMADD: Integer
457
+ SDL_SCANCODE_KP_MEMSUBTRACT: Integer
458
+ SDL_SCANCODE_KP_MEMMULTIPLY: Integer
459
+ SDL_SCANCODE_KP_MEMDIVIDE: Integer
460
+ SDL_SCANCODE_KP_PLUSMINUS: Integer
461
+ SDL_SCANCODE_KP_CLEAR: Integer
462
+ SDL_SCANCODE_KP_CLEARENTRY: Integer
463
+ SDL_SCANCODE_KP_BINARY: Integer
464
+ SDL_SCANCODE_KP_OCTAL: Integer
465
+ SDL_SCANCODE_KP_DECIMAL: Integer
466
+ SDL_SCANCODE_KP_HEXADECIMAL: Integer
467
+ SDL_SCANCODE_LCTRL: Integer
468
+ SDL_SCANCODE_LSHIFT: Integer
469
+ SDL_SCANCODE_LALT: Integer
470
+ SDL_SCANCODE_LGUI: Integer
471
+ SDL_SCANCODE_RCTRL: Integer
472
+ SDL_SCANCODE_RSHIFT: Integer
473
+ SDL_SCANCODE_RALT: Integer
474
+ SDL_SCANCODE_RGUI: Integer
475
+ SDL_SCANCODE_MODE: Integer
476
+ SDL_SCANCODE_AUDIONEXT: Integer
477
+ SDL_SCANCODE_AUDIOPREV: Integer
478
+ SDL_SCANCODE_AUDIOSTOP: Integer
479
+ SDL_SCANCODE_AUDIOPLAY: Integer
480
+ SDL_SCANCODE_AUDIOMUTE: Integer
481
+ SDL_SCANCODE_MEDIASELECT: Integer
482
+ SDL_SCANCODE_WWW: Integer
483
+ SDL_SCANCODE_MAIL: Integer
484
+ SDL_SCANCODE_CALCULATOR: Integer
485
+ SDL_SCANCODE_COMPUTER: Integer
486
+ SDL_SCANCODE_AC_SEARCH: Integer
487
+ SDL_SCANCODE_AC_HOME: Integer
488
+ SDL_SCANCODE_AC_BACK: Integer
489
+ SDL_SCANCODE_AC_FORWARD: Integer
490
+ SDL_SCANCODE_AC_STOP: Integer
491
+ SDL_SCANCODE_AC_REFRESH: Integer
492
+ SDL_SCANCODE_AC_BOOKMARKS: Integer
493
+ SDL_SCANCODE_BRIGHTNESSDOWN: Integer
494
+ SDL_SCANCODE_BRIGHTNESSUP: Integer
495
+ SDL_SCANCODE_DISPLAYSWITCH: Integer
496
+ SDL_SCANCODE_KBDILLUMTOGGLE: Integer
497
+ SDL_SCANCODE_KBDILLUMDOWN: Integer
498
+ SDL_SCANCODE_KBDILLUMUP: Integer
499
+ SDL_SCANCODE_EJECT: Integer
500
+ SDL_SCANCODE_SLEEP: Integer
501
+ SDL_SCANCODE_APP1: Integer
502
+ SDL_SCANCODE_APP2: Integer
503
+ SDL_SCANCODE_AUDIOREWIND: Integer
504
+ SDL_SCANCODE_AUDIOFASTFORWARD: Integer
505
+ SDL_SCANCODE_SOFTLEFT: Integer
506
+ SDL_SCANCODE_SOFTRIGHT: Integer
507
+ SDL_SCANCODE_CALL: Integer
508
+ SDL_SCANCODE_ENDCALL: Integer
509
+ SDL_NUM_SCANCODES: Integer
510
+ SDL_DONTFREE: Integer
511
+ SDL_Surface: Class
512
+ SDL_version: Class
513
+ SDL_WINDOW_FULLSCREEN: Integer
514
+ SDL_WINDOW_OPENGL: Integer
515
+ SDL_WINDOW_SHOWN: Integer
516
+ SDL_WINDOW_HIDDEN: Integer
517
+ SDL_WINDOW_BORDERLESS: Integer
518
+ SDL_WINDOW_RESIZABLE: Integer
519
+ SDL_WINDOW_MINIMIZED: Integer
520
+ SDL_WINDOW_MAXIMIZED: Integer
521
+ SDL_WINDOW_MOUSE_GRABBED: Integer
522
+ SDL_WINDOW_INPUT_FOCUS: Integer
523
+ SDL_WINDOW_MOUSE_FOCUS: Integer
524
+ SDL_WINDOW_FULLSCREEN_DESKTOP: Integer
525
+ SDL_WINDOW_FOREIGN: Integer
526
+ SDL_WINDOW_ALLOW_HIGHDPI: Integer
527
+ SDL_WINDOW_MOUSE_CAPTURE: Integer
528
+ SDL_WINDOW_ALWAYS_ON_TOP: Integer
529
+ SDL_WINDOW_SKIP_TASKBAR: Integer
530
+ SDL_WINDOW_UTILITY: Integer
531
+ SDL_WINDOW_TOOLTIP: Integer
532
+ SDL_WINDOW_POPUP_MENU: Integer
533
+ SDL_WINDOW_KEYBOARD_GRABBED: Integer
534
+ SDL_WINDOW_VULKAN: Integer
535
+ SDL_WINDOW_METAL: Integer
536
+ SDL_WINDOW_INPUT_GRABBED: Integer
537
+ SDL_WINDOWPOS_UNDEFINED: Integer
538
+ SDL_WINDOWPOS_CENTERED: Integer
539
+ SDL_HITTEST_NORMAL: Integer
540
+ SDL_HITTEST_DRAGGABLE: Integer
541
+ SDL_HITTEST_RESIZE_TOPLEFT: Integer
542
+ SDL_HITTEST_RESIZE_TOP: Integer
543
+ SDL_HITTEST_RESIZE_TOPRIGHT: Integer
544
+ SDL_HITTEST_RESIZE_RIGHT: Integer
545
+ SDL_HITTEST_RESIZE_BOTTOMRIGHT: Integer
546
+ SDL_HITTEST_RESIZE_BOTTOM: Integer
547
+ SDL_HITTEST_RESIZE_BOTTOMLEFT: Integer
548
+ SDL_HITTEST_RESIZE_LEFT: Integer
549
+ SDL_ORIENTATION_UNKNOWN: Integer
550
+ SDL_ORIENTATION_LANDSCAPE: Integer
551
+ SDL_ORIENTATION_LANDSCAPE_FLIPPED: Integer
552
+ SDL_ORIENTATION_PORTRAIT: Integer
553
+ SDL_ORIENTATION_PORTRAIT_FLIPPED: Integer
554
+ SDL_FLASH_CANCEL: Integer
555
+ SDL_FLASH_BRIEFLY: Integer
556
+ SDL_FLASH_UNTIL_FOCUSED: Integer
557
+ SDL_DisplayMode: Class
558
+ SDL_NONSHAPEABLE_WINDOW: Integer
559
+ SDL_INVALID_SHAPE_ARGUMENT: Integer
560
+ SDL_WINDOW_LACKS_SHAPE: Integer
561
+ ShapeModeDefault: Integer
562
+ ShapeModeBinarizeAlpha: Integer
563
+ ShapeModeReverseBinarizeAlpha: Integer
564
+ ShapeModeColorKey: Integer
565
+ SDL_SHAPEMODEALPHA: ^(untyped) -> untyped
566
+ SDL_WindowShapeParams: Class
567
+ SDL_WindowShapeMode: Class
568
+ SDL_INIT_TIMER: Integer
569
+ SDL_INIT_AUDIO: Integer
570
+ SDL_INIT_VIDEO: Integer
571
+ SDL_INIT_JOYSTICK: Integer
572
+ SDL_INIT_HAPTIC: Integer
573
+ SDL_INIT_GAMEPAD: Integer
574
+ SDL_INIT_EVENTS: Integer
575
+ SDL_INIT_SENSOR: Integer
576
+ SDL_INIT_EVERYTHING: Integer
577
+
578
+ def self.tmp_value: (*String) -> Array[untyped]?
579
+ def self.init: (?nil) -> void
580
+ def self.init?: (untyped) -> boolish
581
+ def self.quit: -> void
582
+ def self.clipboard_text: -> String
583
+ def self.clipboard_text?: -> bool
584
+ def self.clipboard_text=: (String) -> void
585
+ def self.cpu_cache_line_size: -> Integer
586
+ def self.cpu_count: -> Integer
587
+ def self.system_ram: -> Integer
588
+ def self.last_error_message: -> String
589
+ def self.last_error_message=: (String) -> void
590
+ def self.base_path: -> String
591
+ def self.locales: -> Array[Array[String]]?
592
+ def self.alert: (String, ?String?, ?flags: Integer?, ?window: nil) -> void
593
+ def self.error_alert: (String, ?String) -> void
594
+ def self.warn_alert: (String, ?String) -> void
595
+ def self.info_alert: (String, ?String) -> void
596
+ def self.open_url: (String) -> void
597
+ def self.platform: -> String
598
+ def self.revision: -> String
599
+ def self.ticks: -> Integer
600
+ def self.version: -> String
601
+ def self.video_driver: -> String
602
+ def self.screen_saver=: (untyped) -> void
603
+ def self.screen_saver?: -> bool
604
+ def self.video_drivers: -> [String?]
605
+ end
606
+ end
data/sig/SDLRuby.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module SDLRuby
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end