FluidScrollable

An interface to be implemented by nodes that accept scroll input.

Members

Functions

canScroll
bool canScroll(Vector2 value)

Returns true if the node can react to given scroll.

scroll
float scroll(float value)

Set scroll value.

scroll
float scroll()

Get current scroll value.

scrollImpl
void scrollImpl(Vector2 value)

React to scroll wheel input.

shallowScrollTo
Rectangle shallowScrollTo(Node child, Rectangle parentBox, Rectangle childBox)

Scroll to given child node.

Meta