A view widget that plays a Lottie / After-Effects (Bodymovin JSON) animation. More...
Go to the source code of this file.
Classes | |
| class | pulp::view::LottieView |
Namespaces | |
| namespace | pulp |
| namespace | pulp::canvas |
| namespace | pulp::view |
| Hover-cursor tracking for platform window hosts. | |
A view widget that plays a Lottie / After-Effects (Bodymovin JSON) animation.
Thin time-driver over canvas::LottieAnimation: it advances a playhead from the view system's FrameClock, honors the reduced-motion preference, and paints the current frame onto the canvas. All rendering lives in canvas::LottieAnimation, so this header carries no rendering-backend dependency.
Lottie playback is opt-in (CMake PULP_LOTTIE). When it is not compiled in, the widget still constructs and lays out, but load_* return false and paint draws nothing — calling code is unaffected.