Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
gesture_budget.hpp File Reference

How many steps a coalescing gesture can commit before undo refuses it. More...

#include <pulp/timeline/undo.hpp>
#include <cstddef>
#include <span>

Go to the source code of this file.

Classes

struct  pulp::timeline_editor::UndoGestureBudget
 What one open gesture may spend against the undo budget. More...

Namespaces

namespace  pulp
namespace  pulp::timeline_editor
 ScriptedUiHost is a SequencerUiHost whose playhead is written by the caller instead of an engine, and which keeps what a view emitted so a test can read it back.

Functions

UndoGestureBudget pulp::timeline_editor::undo_gesture_budget (const timeline::UndoLimits &limits, std::span< const timeline::Command > step_forward, std::span< const timeline::Command > step_inverse) noexcept
 Returns what one open gesture of uniform per-step cost may spend.

Detailed Description

How many steps a coalescing gesture can commit before undo refuses it.