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

Tunables for the callout geometry. All lengths in the window coordinate space. More...

#include <callout_box.hpp>

Public Attributes

float arrow_length = 10.0f
 how far the tip extends past the body edge toward the anchor
float arrow_width = 18.0f
 base width of the triangle along the body edge
float margin = 8.0f
 minimum gap kept between the body and the window edges
float gap = 0.0f
 extra gap between the anchor and the arrow tip
float corner_radius = 8.0f
 body corner radius (arrow base stays clear of the corners)

Detailed Description

Tunables for the callout geometry. All lengths in the window coordinate space.

Member Data Documentation

◆ arrow_length

float pulp::view::CalloutStyle::arrow_length = 10.0f

how far the tip extends past the body edge toward the anchor

◆ arrow_width

float pulp::view::CalloutStyle::arrow_width = 18.0f

base width of the triangle along the body edge

◆ corner_radius

float pulp::view::CalloutStyle::corner_radius = 8.0f

body corner radius (arrow base stays clear of the corners)

◆ gap

float pulp::view::CalloutStyle::gap = 0.0f

extra gap between the anchor and the arrow tip

◆ margin

float pulp::view::CalloutStyle::margin = 8.0f

minimum gap kept between the body and the window edges


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