module LibSDLMacro

Defined in:

sdl-crystal-bindings.cr
sdl-image-bindings.cr
sdl-mixer-bindings.cr
sdl-ttf-bindings.cr

Class Method Summary

Class Method Detail

def self.audio_bitsize(x) #

[View source]
def self.audio_is_float(x) #

[View source]
def self.bits_per_pixel(x) #

[View source]
def self.blit_scaled(*args) #

[View source]
def self.blit_surface(*args) #

[View source]
def self.button(x) #

[View source]
def self.bytes_per_pixel(x) #

[View source]
def self.define_pixel_format(type, order, layout, bits, bytes) #

[View source]
def self.define_pixel_fourcc(a, b, c, d) #

[View source]
def self.fourcc(a, b, c, d) #

[View source]
def self.game_controller_add_mappings_from_file(file) #

[View source]
def self.get_event_state(type) #

[View source]
def self.image_version(x) #

[View source]
def self.image_version_atleast #

[View source]
def self.img_get_error #

[View source]
def self.img_set_error(*args) #

[View source]
def self.invalid_param_error(param) #

[View source]
def self.is_big_endian(x) #

[View source]
def self.is_int(x) #

[View source]
def self.is_little_endian(x) #

[View source]
def self.is_pixel_format_alpha(format) #

[View source]
def self.is_pixel_format_array(format) #

[View source]
def self.is_pixel_format_fourcc(format) #

[View source]
def self.is_pixel_format_indexed(format) #

[View source]
def self.is_pixel_format_packed(format) #

[View source]
def self.is_signed(x) #

[View source]
def self.is_unsigned(x) #

[View source]
def self.load_bmp(file) #

[View source]
def self.load_wav(file, spec, audio_buf, audio_len) #

[View source]
def self.mix_clear_error #

[View source]
def self.mix_get_error #

[View source]
def self.mix_out_of_memory #

[View source]
def self.mix_set_error(*args) #

[View source]
def self.mix_version(x) #

[View source]
def self.mixer_version(x) #

[View source]
def self.mixer_version_atleast #

[View source]
def self.must_lock(s) #

[View source]
def self.out_of_memory #

[View source]
def self.pixel_flag(x) #

[View source]
def self.pixel_layout(x) #

[View source]
def self.pixel_order(x) #

[View source]
def self.pixel_type(x) #

[View source]
def self.save_bmp(surface, file) #

[View source]
def self.scancode_to_keycode(x) #

[View source]
def self.shape_mode_alpha(mode) #

[View source]
def self.ttf_get_error #

[View source]
def self.ttf_render_text(font, text, fg, bg) #

[View source]
def self.ttf_render_unicode(font, text, fg, bg) #

[View source]
def self.ttf_render_utf8(font, text, fg, bg) #

[View source]
def self.ttf_set_error(*args) #

[View source]
def self.ttf_version(x) #

[View source]
def self.ttf_version_atleast #

[View source]
def self.unsupported #

[View source]
def self.version(x) #

[View source]
def self.version_atleast(x, y, z) #

[View source]
def self.versionnum(x, y, z) #

[View source]
def self.window_pos_centered_display(x) #

[View source]
def self.window_pos_is_centered(x) #

[View source]
def self.window_pos_is_undefined(x) #

[View source]
def self.window_pos_undefined_display(x) #

[View source]