Module: RbSDL2::TextInput
- Defined in:
- lib/rb_sdl2/text_input.rb
Class Method Summary collapse
Class Method Details
.active? ⇒ Boolean
4 |
# File 'lib/rb_sdl2/text_input.rb', line 4 def active? = ::SDL2.SDL_IsTextInputActive == ::SDL2::SDL_TRUE |
.bounds=(rect) ⇒ Object
6 7 8 |
# File 'lib/rb_sdl2/text_input.rb', line 6 def bounds=(rect) ::SDL2.SDL_SetTextInputRect(Rect.new(*rect)) end |
.start ⇒ Object
10 |
# File 'lib/rb_sdl2/text_input.rb', line 10 def start = ::SDL2.SDL_StartTextInput |
.stop ⇒ Object
12 |
# File 'lib/rb_sdl2/text_input.rb', line 12 def stop = ::SDL2.SDL_StopTextInput |