struct

CryTUI::Widgets::SquareSpinner

Inherits Struct < Value < Object

A braille arc rotating around a square ring.

The same engine as RectSpinner with a square-shaped preset and its own defaults; kept as a separate widget because a square ring is the shape most callers reach for.

Constructors

new(tick : UInt64, size : Int32 = 2, ticks_per_step : UInt64 = 1_u64, spin : Spin = Spin::Clockwise, centre : Centre = Centre::Filled, arc_color : Color = Color::WHITE, dim_color : Color = Color::DARK_GRAY, block : Block | Nil = nil, style : Style = Style.new, alignment : Alignment = Alignment::Left)
Source

Instance methods

alignment
Source
arc_color
Source
block
Source
centre
Source
char_size
Source
dim_color
Source
lines
Source
render(area : Rect, buffer : Buffer) : Nil
Source
size
Source
spin
Source
style
Source
tick
Source
ticks_per_step
Source