Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
SnapGrid Struct Reference

Data Fields

SnapGridType type
 
bool snap_adaptive
 If this is on, the snap note length will be determined automatically based on the current zoom level.
 
NoteLength snap_note_length
 Snap note length.
 
NoteType snap_note_type
 Snap note type.
 
bool snap_to_grid
 Whether to snap to the grid.
 
bool snap_to_grid_keep_offset
 Whether to keep the offset when moving items.
 
bool snap_to_events
 Whether to snap to events.
 
NoteLength default_note_length
 Default note length.
 
NoteType default_note_type
 Default note type.
 
bool default_adaptive
 If this is on, the default note length will be determined automatically based on the current zoom level.
 
NoteLengthType length_type
 See NoteLengthType.
 

Detailed Description

Definition at line 85 of file snap_grid.h.

Field Documentation

◆ default_adaptive

bool SnapGrid::default_adaptive

If this is on, the default note length will be determined automatically based on the current zoom level.

The default note type still applies.

TODO this will be done after v1.

Definition at line 131 of file snap_grid.h.

◆ default_note_length

NoteLength SnapGrid::default_note_length

Default note length.

Definition at line 118 of file snap_grid.h.

◆ default_note_type

NoteType SnapGrid::default_note_type

Default note type.

Definition at line 120 of file snap_grid.h.

◆ length_type

NoteLengthType SnapGrid::length_type

See NoteLengthType.

Definition at line 136 of file snap_grid.h.

◆ snap_adaptive

bool SnapGrid::snap_adaptive

If this is on, the snap note length will be determined automatically based on the current zoom level.

The snap note type still applies.

Definition at line 95 of file snap_grid.h.

◆ snap_note_length

NoteLength SnapGrid::snap_note_length

Snap note length.

Definition at line 98 of file snap_grid.h.

◆ snap_note_type

NoteType SnapGrid::snap_note_type

Snap note type.

Definition at line 101 of file snap_grid.h.

◆ snap_to_events

bool SnapGrid::snap_to_events

Whether to snap to events.

Definition at line 115 of file snap_grid.h.

◆ snap_to_grid

bool SnapGrid::snap_to_grid

Whether to snap to the grid.

Definition at line 104 of file snap_grid.h.

◆ snap_to_grid_keep_offset

bool SnapGrid::snap_to_grid_keep_offset

Whether to keep the offset when moving items.

This requires SnapGrid::snap_to_grid to be enabled.

Definition at line 112 of file snap_grid.h.

◆ type

SnapGridType SnapGrid::type

Definition at line 87 of file snap_grid.h.


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