Class: RbSDL2::Cursor::SystemCursor

Inherits:
CursorClass show all
Defined in:
lib/rb_sdl2/cursor/system_cursor.rb

Class Method Summary collapse

Methods inherited from CursorClass

#current!, #current?, #hide, #initialize, #show, #shown?, #to_ptr

Constructor Details

This class inherits a constructor from RbSDL2::Cursor::CursorClass

Class Method Details

.arrow_cursorObject



19
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 19

def arrow_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_ARROW)

.crosshair_cursorObject



21
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 21

def crosshair_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_CROSSHAIR)

.hand_cursorObject



23
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 23

def hand_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_HAND)

.i_beam_cursorObject



25
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 25

def i_beam_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_IBEAM)

.no_cursorObject



27
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 27

def no_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_NO)

.size_all_cursorObject



29
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 29

def size_all_cursor = new(SDL_SYSTEM_CURSOR_SIZEALL)

.size_ne_sw_cursorObject



31
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 31

def size_ne_sw_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_SIZENESW)

.size_ns_cursorObject



33
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 33

def size_ns_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_SIZENS)

.size_nw_se_cursorObject



35
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 35

def size_nw_se_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_SIZENWSE)

.size_we_cursorObject



37
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 37

def size_we_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_SIZEWE)

.wait_arrow_cursorObject



41
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 41

def wait_arrow_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_WAITARROW)

.wait_cursorObject



39
# File 'lib/rb_sdl2/cursor/system_cursor.rb', line 39

def wait_cursor = new(::SDL2::SDL_SYSTEM_CURSOR_WAIT)