struct

Cresium::ScrollArrows

Inherits Struct < Value < Object

Vertical position of the gap directly above/below the active slot (where [↑↓] scroll indicators go, to the right of the active display), or nil when there's nothing to scroll to in that direction. active_rect is the active display's own rect, used to vertically center each arrow's cell on the gap.

Constructors

new(up_y : Int32 | Nil, down_y : Int32 | Nil, active_rect : Tui::Rect)
Source

Instance methods

active_rect
clone
Source
copy_with(up_y _up_y = @up_y, down_y _down_y = @down_y, active_rect _active_rect = @active_rect)
Source
down_y
up_y