module RbSDL2::TextInput
Public Class Methods
active?(= ::SDL2.SDL_IsTextInputActive == ::SDL2::SDL_TRUE)
click to toggle source
# File lib/rb_sdl2/text_input.rb, line 4 def active? = ::SDL2.SDL_IsTextInputActive == ::SDL2::SDL_TRUE def bounds=(rect) ::SDL2.SDL_SetTextInputRect(Rect.new(*rect)) end def start = ::SDL2.SDL_StartTextInput def stop = ::SDL2.SDL_StopTextInput end end end
bounds=(rect)
click to toggle source
# File lib/rb_sdl2/text_input.rb, line 6 def bounds=(rect) ::SDL2.SDL_SetTextInputRect(Rect.new(*rect)) end
start(= ::SDL2.SDL_StartTextInput)
click to toggle source
# File lib/rb_sdl2/text_input.rb, line 10 def start = ::SDL2.SDL_StartTextInput def stop = ::SDL2.SDL_StopTextInput end end
stop(= ::SDL2.SDL_StopTextInput)
click to toggle source
# File lib/rb_sdl2/text_input.rb, line 12 def stop = ::SDL2.SDL_StopTextInput end