]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add instrument-specific-markup-interface, assign to TextScript and add (fret-board...
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 19 Aug 2008 16:44:30 +0000 (18:44 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 19 Aug 2008 17:08:12 +0000 (19:08 +0200)
Harp Pedal diagrams and fret board diagrams can be tweaked using the
fret-board-details and harp-pedal-details property alists of TextScript.
However, so far they were not "officially" assigned to any interface of
TextScript, so they didn't appear in the auto-generated documentation...

scm/define-grob-interfaces.scm
scm/define-grobs.scm

index 54848be8761a0520c55ddaf8067d71573b53c9cb..b5ffda6574faa9f1fc4ed998284a1b62448b7e08 100644 (file)
@@ -62,9 +62,9 @@ note)."
  '(columns common-shortest-duration))
 
 (ly:add-interface
- 'harp-pedal-interface
- "A harp pedal diagram"
- '(harp-pedal-details size thickness))
+ 'instrument-specific-markup-interface
+ "Instrument-specific markup (like fret boards or harp pedal diagrams)."
+ '(fret-diagram-details harp-pedal-details size thickness))
 
 (ly:add-interface
  'key-cancellation-interface
index 555403033926f26f479ca674858921480344e0fe..d43ce82efcd375617de9047cdba399b048df210d 100644 (file)
        (meta . ((class . Item)
                 (interfaces . (text-script-interface
                                text-interface
+                               instrument-specific-markup-interface
                                side-position-interface
                                font-interface))))))