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

A region (selection or marker) within the waveform. More...

#include <waveform_editor.hpp>

Public Member Functions

int length () const

Public Attributes

int start_sample = 0
 Start sample index.
int end_sample = 0
 End sample index (exclusive).
std::string label
canvas::Color color = canvas::Color::rgba8(65, 105, 225, 80)

Detailed Description

A region (selection or marker) within the waveform.

Member Function Documentation

◆ length()

int pulp::view::WaveformRegion::length ( ) const
inline

Member Data Documentation

◆ color

canvas::Color pulp::view::WaveformRegion::color = canvas::Color::rgba8(65, 105, 225, 80)

◆ end_sample

int pulp::view::WaveformRegion::end_sample = 0

End sample index (exclusive).

◆ label

std::string pulp::view::WaveformRegion::label

◆ start_sample

int pulp::view::WaveformRegion::start_sample = 0

Start sample index.


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