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. | |
Blink timing. The defaults are the values Pulp has always used.
| float pulp::view::CaretBlinkConfig::duty = 0.5f |
Fraction of the period the caret is visible. Clamped to [0, 1].
| bool pulp::view::CaretBlinkConfig::enabled = true |
False → the caret never blinks and is always visible while focused.
| float pulp::view::CaretBlinkConfig::period_seconds = 1.06f |
Full on+off cycle, in seconds. Clamped to >= 0.05 s when applied.
| float pulp::view::CaretBlinkConfig::solid_hold_seconds = 0.35f |
How long the caret stays solid after a movement or an edit.