DisplayOptions
struct DisplayOptions: Codable, Equatable
The structure for Song
display options
-
The paging of the song
Declaration
Swift
var paging: Paging = .asList
-
The label style of the song
Declaration
Swift
var label: LabelStyle = .grid
-
Repeat the whole last chorus when using a {chorus} directive
Declaration
Swift
var repeatWholeChorus: Bool = false
-
The scale factor of the song
Declaration
Swift
var scale: Double = 1
-
The style of the chords display
Declaration
Swift
var chords: Chord = .asName
-
The instrument for MIDI
Declaration
Swift
var midiInstrument: Midi.Instrument = .acousticSteelGuitar
-
Show the chord diagrams
Declaration
Swift
var showChords: Bool = true
-
Show the chord diagrams inline with the song text
Declaration
Swift
var showInlineDiagrams: Bool = false
-
The position for the chord diagrams
Declaration
Swift
var chordsPosition: ChordsPosition = .right
-
The enum for a
See moreChord
display optionDeclaration
Swift
enum Chord: Codable
-
The label style of the song view
See moreDeclaration
Swift
enum LabelStyle: String, Codable
-
The paging of the song view
See moreDeclaration
Swift
enum Paging: String, CaseIterable, Codable
-
Possible positions for the chord diagrams
See moreDeclaration
Swift
enum ChordsPosition: String, CaseIterable, Codable