struct

CryTUI::Widgets::BarSpinner

Inherits Struct < Value < Object

A bar with a glow running along it.

Left to itself it fills whatever width it is given, which makes it the spinner to reach for when the indicator should span a panel rather than sit in a corner.

Constructors

ember(tick : UInt64) : BarSpinner
Source
minimal(tick : UInt64) : BarSpinner
Source
new(tick : UInt64, width : Int32 = 0, height : Int32 = 1, arc_width : Int32 = 0, spin : Spin = Spin::Clockwise, ticks_per_step : UInt64 = 1_u64, arc_color : Color = Color::CYAN, dim_color : Color = Color::DARK_GRAY, track : BarTrack = BarTrack::RAIL, fade_width : Int32 = 3, arc_byte : UInt8 = 255_u8, bar_style : BarStyle = BarStyle::Braille, motion : BarMotion = BarMotion::Bounce, orientation : Direction = Direction::Horizontal, thickness : Int32 = 0, block : Block | Nil = nil, style : Style = Style.new, alignment : Alignment = Alignment::Left)
Source
slim(tick : UInt64) : BarSpinner

The upstream presets, renamed to describe the look rather than the editor each was lifted from.

Source
solid(tick : UInt64) : BarSpinner
Source

Instance methods

alignment
Source
arc_byte
Source
arc_color
Source
arc_width
Source
bar_style
Source
block
Source
char_size

nil when the bar has no fixed width and takes the area it is given.

Source
dim_color
Source
fade_width
Source
height
Source
lines(width : Int32, height : Int32 = 1) : Array(Line)
Source
motion
Source
orientation
Source
render(area : Rect, buffer : Buffer) : Nil
Source
spin
Source
style
Source
thickness
Source
tick
Source
ticks_per_step
Source
track
Source
width
Source