class Lemonade::Renderer

Overview

TODO multiple renderers:

TODO explain how it works (?) and why it's important to render asynchronously, and not on every draw request

Defined in:

lemonade/renderer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String = "renderer") #

[View source]

Class Method Detail

def self.start(content, io) #

[View source]

Instance Method Detail

def controller : Channel(Lemonade::Renderer::Event) #

[View source]
def enable_debug? : Bool #

[View source]
def name : String #

[View source]
def notify_draw #

[View source]
def redraw_minimal_interval : Time::Span #

[View source]
def redraw_minimal_interval=(redraw_minimal_interval : Time::Span) #

[View source]
def redraw_scheduled? : Bool #

[View source]
def rendering_loop(frame_block, io) #

[View source]
def running? : Bool #

[View source]
def start(content : Block::BaseBlock, io) #

[View source]
def stop #

[View source]