OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2006--2015 Han-Wen Nienhuys <hanwen@lilypond.org> | 4 Copyright (C) 2006--2015 Han-Wen Nienhuys <hanwen@lilypond.org> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 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 | 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 | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 Duration *dur = unsmob<Duration> (cause->get_property ("duration")); | 49 Duration *dur = unsmob<Duration> (cause->get_property ("duration")); |
50 if (dur && dur->dot_count ()) | 50 if (dur && dur->dot_count ()) |
51 { | 51 { |
52 Item *d = make_item ("Dots", note->self_scm ()); | 52 Item *d = make_item ("Dots", note->self_scm ()); |
53 Rhythmic_head::set_dots (note, d); | 53 Rhythmic_head::set_dots (note, d); |
54 | 54 |
55 d->set_parent (note, Y_AXIS); | 55 d->set_parent (note, Y_AXIS); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 ADD_ACKNOWLEDGER (Dots_engraver, rhythmic_head); | 59 |
| 60 void |
| 61 Dots_engraver::boot () |
| 62 { |
| 63 ADD_ACKNOWLEDGER (Dots_engraver, rhythmic_head); |
| 64 } |
60 | 65 |
61 ADD_TRANSLATOR (Dots_engraver, | 66 ADD_TRANSLATOR (Dots_engraver, |
62 "Create @ref{Dots} objects for" | 67 "Create @ref{Dots} objects for" |
63 " @ref{rhythmic-head-interface}s.", | 68 " @ref{rhythmic-head-interface}s.", |
64 | 69 |
65 /* create */ | 70 /* create */ |
66 "Dots ", | 71 "Dots ", |
67 | 72 |
68 /* read */ | 73 /* read */ |
69 "", | 74 "", |
70 | 75 |
71 /* write */ | 76 /* write */ |
72 "" | 77 "" |
73 ); | 78 ); |
OLD | NEW |