CryTUI::Widgets::FluxSpinner
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)
SourceInstance methods
alignment
Sourceblock
Sourcechar_size
Sourcecolor
Sourceframes
Sourceglyph
The glyph a single-cell spinner is showing, for callers that only want to splice one character into a line of their own.
height
Sourcelines
Sourcephase_step
Sourcerender(area : Rect, buffer : Buffer) : Nil
Sourcespin
Sourcestyle
Sourcetick
Sourceticks_per_step
Sourcewidth
Source