class

Cresium::Screen

Inherits Tui::Widget < Tui::Reactive < Reference < Object

Stacks multiple widgets (stopwatch, timer) where only one is visible at a time; renders only visible children, sorted by z_index.

Constructors

new(id : String | Nil = nil)

Plain Tui::Widget constructor; no extra state to set up.

Source

Instance methods

render(buffer : Tui::Buffer, clip : Tui::Rect) : Nil

Draws only the visible children, back to front by z_index.

Source