class Crt::Window

Defined in:

crt/window.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(row : Int32 = -1, col : Int32 = -1, y = 0, x = 0) #

[View source]

Instance Method Detail

def attribute_off(attr : ColorPair | Attribute) #

[View source]
def attribute_on(attr : ColorPair | Attribute) #

[View source]
def border(ls = '│', rs = '│', ts = '─', bs = '─', tl = '┌', tr = '┐', bl = '└', br = '┘') #

[View source]
def clear #

[View source]
def col : Int32 #

[View source]
def getch #

[View source]
def mouseinterval(v : Int32) #

[View source]
def move(y : Int32, x : Int32) #

[View source]
def mvhline(y : Int32, x : Int32, ch = '─', n = @col) #

[View source]
def mvvline(y : Int32, x : Int32, ch = '│', n = @row) #

[View source]
def mvwin(y : Int32, x : Int32) #

[View source]
def print(y : Int32, x : Int32, str : String) #

[View source]
def print(str : String) #

[View source]
def puts(str : String) #

[View source]
def refresh #

[View source]
def row : Int32 #

[View source]
def set_background(pair : ColorPair) #

[View source]
def start_color #

[View source]
def use_default_colors #

[View source]