bool board_view_poll_click(board_view_t *view, uint16_t *x, uint16_t *y)
Report the most recent unprocessed left mouse-down, once.
struct board_view board_view_t
Opaque desktop-window handle (defined in board_view.m).
bool board_view_poll_drag(board_view_t *view, uint16_t *x, uint16_t *y)
Report the current position of a held-button drag, once.
bool board_view_pump(board_view_t *view)
Drain pending UI events; report whether the window was closed.
void board_view_present(board_view_t *view, emu_presentation_workspace_t *presentation)
Snapshot an RGB565 fd surface and request a redraw.
board_view_t * board_view_open(board_view_storage_t *storage, uint16_t width_px, uint16_t height_px, const char *title)
Open a desktop window of the given pixel size.
bool board_view_poll_release(board_view_t *view)
Report whether the primary mouse button was released since the last poll.
int32_t board_view_poll_scroll(board_view_t *view)
Drain the accumulated console scroll-wheel notches since the last poll.
void board_view_close(board_view_t *view)
Close the window and release its resources.
size_t board_view_read_rgb888_fd(int fd, off_t position, void *buffer, size_t count)
Expand an arbitrary byte range from a sealed RGB565 descriptor.
Bounded raw-descriptor presentation surface and scratch workspace.
Annotation-attribute framework macros for ra8-firmware.
Caller-owned pointer-aligned storage for one platform view handle.
uintptr_t words[4]
Opaque backend state; 32 bytes on 64-bit hosts.
One independent owned surface plus non-owning bounded scratch.