Expand description
Loading indicators for splash and loading screens.
Pure functions operating on raw RGB565 byte buffers. All take explicit screen dimensions so they are reusable by any crate without global state.
paint_loading_bar- horizontal progress bar at the bottom of the screenpaint_spinner- rotating arc spinner centred near the bottom
Structs§
- Rect
- A screen rectangle (x, y, width, height) in pixels, for partial-refresh bounding regions.
Functions§
- loading_
bar_ rect - Bounding rectangle of the loading bar for partial-refresh updates, with a small margin so the refresh band covers the full bar including anti-aliasing edges.
- paint_
loading_ bar - Draw a horizontal progress bar at the bottom of the screen.
- paint_
spinner - Draw a rotating-arc spinner centred horizontally near the bottom.
- spinner_
rect - Bounding rectangle of the spinner.