class GUI

Defined in:

gui.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cpu : CPU) #

[View source]

Instance Method Detail

def bus_connection(x : Int, y : Int, on : Bool, direction : Bool = true) #

[View source]
def clear #

[View source]
def clear_scroll #

[View source]
def disp(x : Int, y : Int, string : String | Colorize::Object(String | Char) | Char) #

Move cursor to line, column


[View source]
def draw_rect(x : Int, y : Int, w : Int, h : Int, color : Symbol = :dark_gray) #

[View source]
def hide_cursor #

[View source]
def register(value : Int, length = 8_u8, color = :red, symbol = '●') #

[View source]
def set_cursor(x : Int, y : Int) #

[View source]
def show #

[View source]
def show_cursor #

[View source]