struct

CryTUI::Widgets::FluxSpinner

Inherits Struct < Value < Object

A glyph cycling through a frame sequence.

At 1x1 this is a single animated character -- the compact status-bar spinner. Widen or heighten it and each cell is offset from its neighbour by phase_step frames, which turns the sequence into a wave travelling in the spin direction.

Constructors

new(tick : UInt64, width : Int32 = 1, height : Int32 = 1, spin : Spin = Spin::Clockwise, color : Color = Color::CYAN, ticks_per_step : UInt64 = 1_u64, phase_step : Int32 = 1, frames : Array(String) = FluxFrames::BRAILLE, block : Block | Nil = nil, style : Style = Style.new, alignment : Alignment = Alignment::Left)
Source

Instance methods

alignment
Source
block
Source
char_size
Source
color
Source
frames
Source
glyph

The glyph a single-cell spinner is showing, for callers that only want to splice one character into a line of their own.

Source
height
Source
lines
Source
phase_step
Source
render(area : Rect, buffer : Buffer) : Nil
Source
spin
Source
style
Source
tick
Source
ticks_per_step
Source
width
Source