Type Definition libnotcurses_sys::NcFadeCtx[][src]

type NcFadeCtx = ncfadectx;
Expand description

Context for a palette fade operation

Implementations

NcFadeCtx constructor.

Rather than the simple ncplane_fade{in/out}(), ncfadectx_setup() can be paired with a loop over ncplane_fade{in/out}_iteration() + ncfadectx_free().

Releases the resources associated.

Returns the number of iterations through which will fade.