class

Commander::UI::Widget

Inherits Reference < Object

Constructors

new(id : String, bounds : Rect = Rect.new(0, 0, 0, 0), children : Array(Widget) = [] of Widget)
Source

Instance methods

bounds
Source
bounds=(bounds : Rect)
Source
children
Source
layout(bounds : Rect) : self
Source
render(context : RenderContext, commands : Array(DrawCommand)) : Nil
Source
render_frame(bounds : Rect, theme : Theme = Theme.new) : DrawFrame
Source