class Sprout::Input

Defined in:

sprout/input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(foreground : SDL::Color, background : SDL::Color) #

[View source]

Instance Method Detail

def <<(char : Char) #

[View source]
def backspace #

[View source]
def blink_visible : Bool #

[View source]
def contents : String #

[View source]
def contents=(contents : String) #

[View source]
def cursor_bounds #

[View source]
def cursor_position : Int32 #

[View source]
def cursor_position=(cursor_position : Int32) #

[View source]
def draw_cursor(renderer, rect) #

[View source]
def draw_to_surface #

[View source]
def height #

[View source]
def height=(height) #

[View source]
def jump_to(position : Int32) #

[View source]
def move_cursor(amount : Int32) #

[View source]
def toggle_blink #

[View source]