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

What a press at a point resolves to, WITHOUT delivering it. More...

#include <press_reach.hpp>

Public Attributes

View * hit = nullptr
 Deepest hit-testable view at the point, or nullptr when the point resolves to nothing at all.
View * handler = nullptr
 The view whose handler would actually run for this channel, or nullptr when the channel is dead at this point.
Point local {}
 root_pt in handler's local coordinates.

Detailed Description

What a press at a point resolves to, WITHOUT delivering it.

Resolution only: no handler runs, no overlay is dismissed, no application state moves. That is what makes it usable as a gate — a gate that fires every control it inspects is an integration test, not a check.

Member Data Documentation

◆ handler

View* pulp::view::PressReach::handler = nullptr

The view whose handler would actually run for this channel, or nullptr when the channel is dead at this point.

◆ hit

View* pulp::view::PressReach::hit = nullptr

Deepest hit-testable view at the point, or nullptr when the point resolves to nothing at all.

nullptr here and "a handler-less view swallowed it" are different diagnoses; keep them apart.

◆ local

Point pulp::view::PressReach::local {}

root_pt in handler's local coordinates.

Meaningless when handler is null.


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