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) |
A region (selection or marker) within the waveform.
|
inline |
| canvas::Color pulp::view::WaveformRegion::color = canvas::Color::rgba8(65, 105, 225, 80) |
| int pulp::view::WaveformRegion::end_sample = 0 |
End sample index (exclusive).
| std::string pulp::view::WaveformRegion::label |
| int pulp::view::WaveformRegion::start_sample = 0 |
Start sample index.