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

Describes one visible musical boundary in projected screen coordinates. More...

#include <grid_lines.hpp>

Public Member Functions

constexpr auto operator<=> (const GridLine &) const =default

Public Attributes

timebase::TickPosition tick {}
 Musical position of the boundary.
float x = 0.0f
 Horizontal pixel coordinate produced by the projection.
GridLineLevel level = GridLineLevel::Beat
 Musical boundary level used to select its visual prominence.

Detailed Description

Describes one visible musical boundary in projected screen coordinates.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline_editor::GridLine::operator<=> ( const GridLine & ) const
constexprdefault

Member Data Documentation

◆ level

GridLineLevel pulp::timeline_editor::GridLine::level = GridLineLevel::Beat

Musical boundary level used to select its visual prominence.

◆ tick

timebase::TickPosition pulp::timeline_editor::GridLine::tick {}

Musical position of the boundary.

◆ x

float pulp::timeline_editor::GridLine::x = 0.0f

Horizontal pixel coordinate produced by the projection.


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