ly:spawn: pass utf-8 strings to g_spawn. Fixes #1522.
[lilypond/patrick.git] / scm / define-grob-interfaces.scm
blob23e5f4a0a9575a07c3fd34fd09050dc1fec74e2e
1 ;;;; This file is part of LilyPond, the GNU music typesetter.
2 ;;;;
3 ;;;; Copyright (C) 1998--2011  Han-Wen Nienhuys <hanwen@xs4all.nl>
4 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
5 ;;;;
6 ;;;; LilyPond is free software: you can redistribute it and/or modify
7 ;;;; it under the terms of the GNU General Public License as published by
8 ;;;; the Free Software Foundation, either version 3 of the License, or
9 ;;;; (at your option) any later version.
10 ;;;;
11 ;;;; LilyPond is distributed in the hope that it will be useful,
12 ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ;;;; GNU General Public License for more details.
15 ;;;;
16 ;;;; You should have received a copy of the GNU General Public License
17 ;;;; along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
20 ;; The interfaces defined here generally have no code (e.g.,
21 ;; dynamic-interface), or have callbacks defined entirely in
22 ;; scheme.  Others interfaces are defined in lily/*.cc with the
23 ;; ADD_INTERFACE function.
25 ;; should include default value?
28 (ly:add-interface
29  'accidental-suggestion-interface
30  "An accidental, printed as a suggestion (typically: vertically over a
31 note)."
32  '())
34 (ly:add-interface
35  'ambitus-interface
36  "The line between note heads for a pitch range."
37  '(gap note-heads thickness))
39 (ly:add-interface
40  'bass-figure-interface
41  "A bass figure text."
42  '(implicit))
44 (ly:add-interface
45  'bass-figure-alignment-interface
46  "Align a bass figure."
47  '())
49 (ly:add-interface
50  'bend-after-interface
51  "A doit or drop."
52  '(thickness delta-position))
54 (ly:add-interface
55  'dynamic-interface
56  "Any kind of loudness sign."
57  '())
59 (ly:add-interface
60  'dynamic-line-spanner-interface
61  "Dynamic line spanner."
62  '(avoid-slur))
64 (ly:add-interface
65  'dynamic-text-interface
66  "An absolute text dynamic."
67  '(right-padding))
69 (ly:add-interface
70  'dynamic-text-spanner-interface
71  "Dynamic text spanner."
72  '(text))
74 (ly:add-interface
75  'episema-interface
76  "An episema line."
77  '())
79 (ly:add-interface
80  'finger-interface
81  "A fingering instruction."
82  '())
84 (ly:add-interface
85  'fret-diagram-interface
86  "A fret diagram"
87  '(align-dir fret-diagram-details size dot-placement-list
88    thickness))
90 (ly:add-interface
91   'glissando-interface
92   "A glissando."
93   '())
95 (ly:add-interface
96  'grace-spacing-interface
97  "Keep track of durations in a run of grace notes."
98  '(columns common-shortest-duration))
100 (ly:add-interface
101  'instrument-specific-markup-interface
102  "Instrument-specific markup (like fret boards or harp pedal diagrams)."
103  '(fret-diagram-details graphical harp-pedal-details size thickness))
105 (ly:add-interface
106  'key-cancellation-interface
107  "A key cancellation."
108  '())
110 (ly:add-interface
111  'ligature-bracket-interface
112  "A bracket indicating a ligature in the original edition."
113  '(width thickness height))
115 (ly:add-interface
116  'ligature-interface
117  "A ligature."
118  '())
120 (ly:add-interface
121  'lyric-interface
122  "Any object that is related to lyrics."
123  '())
125 (ly:add-interface
126  'lyric-syllable-interface
127  "A single piece of lyrics."
128  '())
130 (ly:add-interface
131  'mark-interface
132  "A rehearsal mark."
133  '())
135 (ly:add-interface
136  'metronome-mark-interface
137  "A metronome mark."
138  '())
140 (ly:add-interface
141  'multi-measure-interface
142  "Multi measure rest, and the text or number that is printed over it."
143  '(bound-padding))
145 (ly:add-interface
146  'note-name-interface
147  "Note names."
148  '())
150 (ly:add-interface
151  'only-prebreak-interface
152  "Kill this grob after the line breaking process."
153  '())
155 (ly:add-interface
156  'parentheses-interface
157  "Parentheses for other objects."
158  '(padding stencils))
160 (ly:add-interface
161  'percent-repeat-interface
162  "Beat, Double and single measure repeats."
163  '(dot-negative-kern slash-negative-kern slope thickness))
165 (ly:add-interface
166  'piano-pedal-interface
167  "A piano pedal sign."
168  '())
170 (ly:add-interface
171  'piano-pedal-script-interface
172  "A piano pedal sign, fixed size."
173  '())
175 (ly:add-interface
176  'pitched-trill-interface
177  "A note head to indicate trill pitches."
178  '(accidental-grob))
180 (ly:add-interface
181  'rhythmic-grob-interface
182  "Any object with a duration.  Used to determine which grobs are
183 interesting enough to maintain a hara-kiri staff."
184  '())
186 (ly:add-interface
187  'spacing-options-interface
188  "Supports setting of spacing variables."
189  '(spacing-increment shortest-duration-space))
191 (ly:add-interface
192  'stanza-number-interface
193  "A stanza number, to be put in from of a lyrics line."
194  '())
196 (ly:add-interface
197  'string-number-interface
198  "A string number instruction."
199  '())
201 (ly:add-interface
202  'stroke-finger-interface
203  "A right hand finger instruction."
204  '(digit-names))
206 (ly:add-interface
207  'system-start-text-interface
208  "Text in front of the system."
209  '(long-text self-alignment-X self-alignment-Y text))
211 (ly:add-interface
212  'tab-note-head-interface
213  "A note head in tablature."
214  '(details display-cautionary span-start))
216 (ly:add-interface
217  'trill-spanner-interface
218  "A trill spanner."
219  '())
221 (ly:add-interface
222  'trill-pitch-accidental-interface
223  "An accidental for trill pitch."
224  '())
226 (ly:add-interface
227  'unbreakable-spanner-interface
228  "A spanner that should not be broken across line breaks.  Override
229 with @code{breakable=##t}."
230  '(breakable))
232 (ly:add-interface
233  'volta-interface
234  "A volta repeat."
235  '())