One control that advertises a press target but cannot be reached by a press at the rect it paints.
More...
#include <press_reach.hpp>
|
| 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.
|
One control that advertises a press target but cannot be reached by a press at the rect it paints.
◆ channel
◆ 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: