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

One control that advertises a press target but cannot be reached by a press at the rect it paints. More...

#include <press_reach.hpp>

Public Attributes

View * view = nullptr
std::string id
 The view's id(), which for a materialized or imported design is the authored element id — the name a reader can search for.
Rect painted {}
 The rect the control paints, in root coordinates.
PressChannel channel = PressChannel::click
Point probe {}
 The point that was pressed — the painted rect's centre.
View * reached = nullptr
 What the press resolved to instead, or nullptr for nothing at all.
std::string reached_id
std::string reason
 Why this is a finding, in one sentence.

Detailed Description

One control that advertises a press target but cannot be reached by a press at the rect it paints.

Member Data Documentation

◆ channel

PressChannel pulp::view::UnreachablePressTarget::channel = PressChannel::click

◆ id

std::string pulp::view::UnreachablePressTarget::id

The view's id(), which for a materialized or imported design is the authored element id — the name a reader can search for.

◆ painted

Rect pulp::view::UnreachablePressTarget::painted {}

The rect the control paints, in root coordinates.

◆ probe

Point pulp::view::UnreachablePressTarget::probe {}

The point that was pressed — the painted rect's centre.

◆ reached

View* pulp::view::UnreachablePressTarget::reached = nullptr

What the press resolved to instead, or nullptr for nothing at all.

◆ reached_id

std::string pulp::view::UnreachablePressTarget::reached_id

◆ reason

std::string pulp::view::UnreachablePressTarget::reason

Why this is a finding, in one sentence.

◆ view

View* pulp::view::UnreachablePressTarget::view = nullptr

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