]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lyric-extender.hh
release: 1.3.94
[lilypond.git] / lily / include / lyric-extender.hh
1
2 /*
3   extender-spanner.hh -- part of GNU LilyPond
4
5   (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
6 */
7
8 #ifndef EXTENDER_SPANNER_HH
9 #define EXTENDER_SPANNER_HH
10
11 #include "spanner.hh"
12
13 /** 
14   simple extender line 
15
16   The extender is a simple line at the baseline of the lyric
17   that helps show the length of a melissima (tied/slurred note).
18
19   Extenders must be entered manually for now.
20
21   Although it would be possible for Lily to determine where to
22   put extender lines, it's quite a tricky thing to do.  Also,
23   this would demand quite strict lyrics entries.
24
25   Note: the extender is only used for one-syllable words, or
26   for on a word's last syllable.  The extender should be aligned
27   with the left side of the last note of the melissima, and not
28   extend beond, lasting the whole duration of the melissima
29   (as in MUP, urg).
30
31   Properties:
32   
33   word-space --
34
35   height -- in stafflinethickness
36
37   right-trim-amount --
38   
39   */
40 class Lyric_extender // interface
41 {
42 public:
43   Spanner*elt_l_;
44   Lyric_extender (Spanner*);
45   void set_textitem (Direction, Score_element*);
46   DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
47 };
48
49 #endif // EXTENDER_SPANNER_HH
50