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

The painted line geometry of one widget. More...

#include <selectable_text.hpp>

Public Attributes

bool measured = false
std::vector< SelectableLine > lines

Detailed Description

The painted line geometry of one widget.

measured == false means UNKNOWN, not empty — the widget has not painted yet, or it paints through a path this capability does not model. A caller must never read it as "this widget has no text": that is the failure mode Label::PaintedTextExtents::measured exists to prevent, and it is the same mistake here.

Member Data Documentation

◆ lines

std::vector<SelectableLine> pulp::view::SelectableLayout::lines

◆ measured

bool pulp::view::SelectableLayout::measured = false

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