Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::WheelHost Struct Reference

Host hooks the portable wheel router calls back into. More...

#include <pointer_dispatch.hpp>

Public Attributes

std::function< void()> request_repaint
 Invoked after a wheel event mutates the tree (a scroll pane scrolled, a value widget stepped, a combo popup scrolled) so the host can schedule a repaint.

Detailed Description

Host hooks the portable wheel router calls back into.

Kept as a struct so a new hook can be threaded in without re-touching every call site.

Member Data Documentation

◆ request_repaint

std::function<void()> pulp::view::WheelHost::request_repaint

Invoked after a wheel event mutates the tree (a scroll pane scrolled, a value widget stepped, a combo popup scrolled) so the host can schedule a repaint.

The standalone window host wires this to -setNeedsDisplay:; the plugin host drives its own CVDisplayLink frame pump and passes an empty callback (no-op). Empty is always safe.


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