SongDisplayOptions
struct SongDisplayOptions: Equatable, Codable, Sendable
Options for displaying a song; unique for each scene
-
Repeat the whole last chorus when using a {chorus} directive
Declaration
Swift
var repeatWholeChorus: Bool = false
-
Show only lyrics
Declaration
Swift
var lyricsOnly: Bool = false
-
The paging of the song
Declaration
Swift
var paging: Paging = .asList
-
The label style of the song
Declaration
Swift
var labelStyle: LabelStyle = .grid
-
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 the song
Declaration
Swift
var instrument: Instrument = .guitar
-
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: String, Equatable, Codable, Sendable
-
The label style of the song view
See moreDeclaration
Swift
enum LabelStyle: String, Equatable, Codable, Sendable
-
The paging of the song view
See moreDeclaration
Swift
enum Paging: String, CaseIterable, Equatable, Codable, Sendable
-
Possible positions for the chord diagrams
See moreDeclaration
Swift
enum ChordsPosition: String, CaseIterable, Equatable, Codable, Sendable