ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_widget_reflow_ops_t Struct Reference

Injected seam driving a reflow engine from the reflow-view widget. More...

#include <ra8_widget_reflow_view.h>

Detailed Description

Injected seam driving a reflow engine from the reflow-view widget.

A Dependency-Inversion seam (like ra8_widget_paint_t) that keeps ra8_widget free of any ra8_reflow / ra8_gfx dependency: the widget calls these callbacks, the app binds them to the real engine. render_page paints the given page inside the body rectangle; follow_link hit-tests a tap for a link and, if one is followed, reports the destination page. Either callback may be NULL (a view with no engine renders nothing / follows no links).

Invariant
follow_link, when it returns true, writes *out_page.
See also
ra8_widget_reflow_view_t
Since
0.1.0

The documentation for this struct was generated from the following file: