class RbSDL2::Cursor::DefaultCursor

Public Class Methods

new() click to toggle source
Calls superclass method RbSDL2::Cursor::CursorClass::new
# File lib/rb_sdl2/cursor/default_cursor.rb, line 7
def new
  ptr = ::SDL2.SDL_GetDefaultCursor
  raise RbSDL2Error if ptr.null?
  super(ptr)
end