Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::qquick::GridLine Struct Reference

A single grid line with its pixel position and musical coordinates. More...

#include <src/gui/qquick/grid_line_computer.h>

Data Fields

float x { 0.0f }
 Pixel position in content space.
int bar { 0 }
 1-indexed bar number
int beat { 0 }
 1-indexed beat number
int sixteenth { 0 }
 1-indexed sixteenth number

Detailed Description

A single grid line with its pixel position and musical coordinates.

Definition at line 20 of file grid_line_computer.h.

Field Documentation

◆ bar

int zrythm::gui::qquick::GridLine::bar { 0 }

1-indexed bar number

Definition at line 23 of file grid_line_computer.h.

◆ beat

int zrythm::gui::qquick::GridLine::beat { 0 }

1-indexed beat number

Definition at line 24 of file grid_line_computer.h.

◆ sixteenth

int zrythm::gui::qquick::GridLine::sixteenth { 0 }

1-indexed sixteenth number

Definition at line 25 of file grid_line_computer.h.

◆ x

float zrythm::gui::qquick::GridLine::x { 0.0f }

Pixel position in content space.

Definition at line 22 of file grid_line_computer.h.


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