class Display

Defined in:

cryboy/display.cr

Constant Summary

HEIGHT = 144
PIXELFORMAT_RGB24 = (((((1 << 28) | (7 << 24)) | (1 << 20)) | (0 << 16)) | (24 << 8)) | (3 << 0)
TEXTUREACCESS_STREAMING = 1
WIDTH = 160

Constructors

Instance Method Summary

Constructor Detail

def self.new(gb : Motherboard, headless : Bool) #

[View source]

Instance Method Detail

def draw(framebuffer : Array(RGB)) : Nil #

[View source]
def window_title : String #

[View source]
def write_png(framebuffer : Array(RGB)) : Nil #

[View source]