class documentation
Draw 48px bear frames from SD at 5 fps, keeping only one frame in RAM.
| Method | __del__ |
Release animation state held at application exit. |
| Method | __init__ |
Initialize the receive-status bear animation state. |
| Method | begin |
Start a receive-state bear animation from its SD asset. |
| Method | draw |
Draw the current bear frame plus status title, lines, and footer. |
| Class Variable | __slots__ |
Undocumented |
| Method | _draw |
Draw the desktop animation fallback if the bear assets are unavailable. |
| Method | _read |
Read one 288-byte bear frame from SD, caching only the current frame. |
| Instance Variable | _asset |
Undocumented |
| Instance Variable | _fallback |
Undocumented |
| Instance Variable | _frame |
Undocumented |
| Instance Variable | _frame |
Undocumented |
| Instance Variable | _frame |
Undocumented |
| Instance Variable | _last |
Undocumented |
| Instance Variable | _loop |
Undocumented |
| Instance Variable | _path |
Undocumented |
| Instance Variable | _pixels |
Undocumented |
| Instance Variable | _started |
Undocumented |
Start a receive-state bear animation from its SD asset.
| Parameters | |
state:str | Animation name: "listening", "saved", or "no_signal". |
now:int | Current ticks_ms() used to time the 5 fps frames. |
Draw the current bear frame plus status title, lines, and footer.
| Parameters | |
viewViewManager | The view manager providing draw, colors, and storage. |
now:int | Current ticks_ms() used for the 5 fps tick. |
title:str | The main status title line. |
lines:list[str] | Up to three detail lines shown below the title. |
footer:int | Unused parameter kept for the shared status-draw signature. |
Draw the desktop animation fallback if the bear assets are unavailable.
| Parameters | |
draw:Draw | The drawing context. |
left:int | Left edge of the 48px artwork area. |
top:int | Top edge of the 48px artwork area. |
foreground:int | Foreground color of the status view. |
Read one 288-byte bear frame from SD, caching only the current frame.
| Parameters | |
viewViewManager | The view manager providing storage. |
index:int | The animation frame to read. |
| Returns | |
bool | True if the frame is available, False if loading failed. |