CryTUI::Widgets::BarEngine
The motion of a bar, independent of which axis it is drawn on.
length is columns for a horizontal bar and rows for a vertical one; the
anchor walk and the arc test are identical either way, which is why one
engine serves both orientations.
Constants
Braille bytes for a quarter, half, three-quarter and full-height dot column: the gradient that softens an arc's leading and trailing edge.
Constructors
Class methods
Instance methods
Replays steps walks. The engine's whole state is the anchor and its
direction, so a tick of any age folds into one period.
Bounce and squeeze spend one extra step at each end flipping direction
rather than moving, which is where the + 1 comes from.
Whether index is inside the lit arc, and how far it is from the
nearer end of it -- the distance the fade gradient is drawn from.