mruby-sdl2 wrapped 'SDL2.0'.
- edit your 'build_config.rb'.
- run 'make' command.
build_config.rb:
conf.gem :github => 'kabies/mruby-sdl2', :branch => 'master'
MIT License
- delay
- init
- init?
- init_subsystem
- log
- platform
- quit
- quit_subsystem
- close
- current_driver
- devices
- drivers
- init
- lock
- mix_audio
- open
- open_device
- pause
- quit
- status
- unlock
- convert
- buffer
- destroy
- length
- spec
- close
- lock
- pause
- spec
- status
- unlock
- callback
- callback=
- channels
- channels=
- format=
- freq
- freq=
- samples
- samples=
- silence
- size
- userdata
- userdata=
- to_i
- a
- a=
- to_i
- address
- cptr
- size
- []
- []=
- cache_line_size
- get_cpu_count
- get_ram
- has_3DNow?
- has_AltiVec?
- has_RDTSC?
- has_SSE2?
- has_SSE3?
- has_SSE41?
- has_SSE42?
- has_SSE?
- has_mmx?
- has_text?
- text
- text=
- broadcast
- destroy
- signal
- wait
- wait_timeout
- []
- []=
- size
- add_mapping
- get_axis_from_string
- get_button_from_string
- get_mapping_from_guid
- get_name_from_index
- get_string_from_axis
- get_string_from_button
- is_gamecontroller_supported?
- update
- destroy
- free
- get_axis
- get_button_state
- get_event_state
- get_joystick
- get_mapping
- get_name
- is_attached?
- load_dollar_template
- record_gesture
- save_all_dollar_templates
- save_dollar_template
- device_open?
- get_name
- num
- destroy
- destroy_effect
- free
- get_index
- init_rumble
- is_effect_playing?
- is_rumble_supported?
- num_axes
- num_effects
- num_effects_playing
- pause
- play_rumble
- query
- run_effect
- set_autocenter
- set_gain
- stop_all
- stop_effect
- stop_rumble
- unpause
- clear
- get
- set
- set_with_priority
- event_state
- flush
- has_events?
- poll
- push
- quit_requested?
- register
- wait
- wait_timeout
- axis
- timestamp
- value
- which
- button
- state
- timestamp
- which
- type
- key_from_name
- key_from_scancode
- key_name
- keyboard_focus
- mod_state
- mod_state=
- scancode_from_key
- scancode_from_name
- scancode_name
- text_input_rect
- text_input_start
- text_input_stop
- modifier
- scancode
- symbol
- keysym
- repeat
- state
- timestamp
- window_id
- cursor
- cursor=
- cursor_hide
- cursor_show
- is_haptic?
- location
- mouse_focus
- mouse_state
- open_haptic
- relative=
- relative?
- warp
- x
- y
- destroy
- free
- button
- state
- timestamp
- which
- window_id
- x
- y
- state
- timestamp
- which
- window_id
- x
- xrel
- y
- yrel
- timestamp
- which
- window_id
- x
- y
- timestamp
- code
- code=
- data1
- data1=
- data2
- data2=
- timestamp
- timestamp=
- type=
- window_id
- window_id=
- data1
- data2
- event
- timestamp
- window_id
- get_guid_as_string
- get_guid_from_index
- get_guid_from_string
- name_from_index
- num
- destroy
- event_state
- free
- get_axis
- get_axis_x
- get_axis_y
- get_ball
- get_button
- get_general_num_axes
- get_general_num_balls
- get_general_num_buttons
- get_general_num_hats
- get_guid
- get_guid_as_string
- get_hat
- get_id
- get_name
- is_attached?
- is_haptic?
- open_haptic
- update
- destroy
- set_buttons
- set_color_scheme
- set_flags
- set_message
- set_title
- set_window
- show
- destroy
- lock
- try_lock
- unlock
- calculate_gamma_ramp
- format_to_masks
- get_format_name
- masks_to_format
- destroy
- free
- set_color
- Aloss
- Amask
- Ashift
- BitsPerPixel
- Bloss
- Bmask
- Bshift
- BytesPerPixel
- Gloss
- Gmask
- Gshift
- Rloss
- Rmask
- Rshift
- depth
- destroy
- free
- get_rgb
- get_rgba
- mapRGB
- mapRGBA
- next
- padding
- palette
- refcount
- set_palette
- get_platform
- x
- x=
- y
- y=
- get_info
- b
- b=
- g
- g=
- r
- r=
- to_i
- a
- a=
- to_i
- close
- destroy
- file_exists?
- free
- read
- seek
- size
- tell
- write
- empty?
- h
- h=
- has_intersection?
- intersection
- intersection_line
- position
- position=
- union
- w
- w=
- x
- x=
- y
- y=
- destroy
- post
- try_wait
- value
- wait
- wait_timeout
- id
- join
- wait
- add
- clock
- delay
- perf_counter
- perf_freq
- remove
- ticks
- get_num_touch_fingers
- get_touch_device
- get_touch_finger
- num_touch_devices
- major
- minor
- patch
- revision
- revision_str
- current_driver
- display_modes
- displays
- init
- quit
- screen_saver=
- screen_saver?
- video_drivers
- attribute_get
- attribute_set
- extension_supported?
- swap_interval
- swap_interval=
- swap_window
- create
- delete
- destroy
- pitch
- rect
- clear
- clip_rect
- clip_rect=
- copy
- copy_ex
- destroy
- draw_blend_mode
- draw_blend_mode=
- draw_line
- draw_lines
- draw_point
- draw_points
- draw_rect
- draw_rects
- fill_rect
- fill_rects
- get_draw_color
- info
- present
- read_pixels
- save_bmp
- set_draw_color
- target=
- view_port
- view_port=
- flags
- max_texture_height
- max_texture_width
- texture_formats
- alpha_mod
- alpha_mod=
- blend_mode
- blend_mode=
- blit_scaled
- blit_surface
- color_key_get
- color_key_set
- color_mod
- color_mod=
- convert
- convert_format
- destroy
- fill_rect
- fill_rects
- free
- get_clip_rect
- get_pixel
- gradient_fill_rect
- height
- lock
- locked_num
- must_lock?
- palette
- pitch
- rle
- set_clip_rect
- set_pixel
- unlock
- width
- access
- alpha_mod
- alpha_mod=
- blend_mode
- blend_mode=
- destroy
- free
- get_color_mod
- height
- lock
- set_color_mod
- unlock
- update
- update_locked
- width
- brightness
- brightness=
- create
- create_with_renderer
- destroy
- diplay_index
- display_mode
- display_mode=
- flags
- gamma_ramp
- gamma_ramp=
- grab
- grab=
- height
- hide
- icon=
- id
- make_current
- maximize
- maximum_size
- maximum_size=
- minimize
- minimum_size
- minimum_size=
- position
- position=
- renderer
- restore
- set_opacity
- set_size
- show
- show_simple_message_box
- surface
- swap
- title
- title=
- update_surface
- update_surface_rects
- width