Expand description
Pure scroll state management
This module provides:
- Smooth scroll animations with easing
- Event source classification for scroll events
- Scrollbar geometry and hit-testing
- ExternalScrollId mapping for WebRender integration
Structs§
- Animated
Scroll State - The complete scroll state for a single node (with animation support)
- Frame
Scroll Info - Summary of scroll-related events that occurred during a frame
- Scroll
Event - Scroll event to be processed with source tracking
- Scroll
Manager - Manages all scroll state and animations for a window
- Scroll
Tick Result - Result of a scroll tick, indicating what actions are needed
- Scrollbar
Hit - Result of a scrollbar hit-test
- Scrollbar
State - Scrollbar geometry state (calculated per frame, used for hit-testing and rendering)
Enums§
- Scrollbar
Component - Which component of a scrollbar was hit during hit-testing
Functions§
- apply_
easing - Apply an easing function to a normalized time value (0.0 to 1.0). Used by ScrollAnimation::tick() for smooth scroll animations.