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

Blink timing. The defaults are the values Pulp has always used. More...

#include <caret.hpp>

Public Attributes

float period_seconds = 1.06f
 Full on+off cycle, in seconds. Clamped to >= 0.05 s when applied.
float duty = 0.5f
 Fraction of the period the caret is visible. Clamped to [0, 1].
float solid_hold_seconds = 0.35f
 How long the caret stays solid after a movement or an edit.
bool enabled = true
 False → the caret never blinks and is always visible while focused.

Detailed Description

Blink timing. The defaults are the values Pulp has always used.

Member Data Documentation

◆ duty

float pulp::view::CaretBlinkConfig::duty = 0.5f

Fraction of the period the caret is visible. Clamped to [0, 1].

◆ enabled

bool pulp::view::CaretBlinkConfig::enabled = true

False → the caret never blinks and is always visible while focused.

◆ period_seconds

float pulp::view::CaretBlinkConfig::period_seconds = 1.06f

Full on+off cycle, in seconds. Clamped to >= 0.05 s when applied.

◆ solid_hold_seconds

float pulp::view::CaretBlinkConfig::solid_hold_seconds = 0.35f

How long the caret stays solid after a movement or an edit.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/caret.hpp