LEFT | RIGHT |
(no file at all) | |
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) 2011--2012 Mike Solomon <mike@apollinemike.com> | 4 Copyright (C) 2011--2012 Mike Solomon <mike@apollinemike.com> |
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 |
11 LilyPond is distributed in the hope that it will be useful, | 11 LilyPond is distributed in the hope that it will be useful, |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 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/>. | 17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>. |
18 */ | 18 */ |
19 | 19 |
20 #include <algorithm> | 20 #include <algorithm> |
21 | 21 |
22 #include "align-interface.hh" | 22 #include "align-interface.hh" |
23 #include "bar-line.hh" | |
24 #include "context.hh" | 23 #include "context.hh" |
25 #include "grob.hh" | 24 #include "grob.hh" |
26 #include "item.hh" | 25 #include "item.hh" |
27 #include "pointer-group-interface.hh" | 26 #include "pointer-group-interface.hh" |
28 #include "span-bar.hh" | |
29 #include "engraver.hh" | 27 #include "engraver.hh" |
30 | 28 |
31 /* | 29 /* |
32 The Span_bar_stub_engraver creates SpanBarStub grobs in the contexts | 30 The Span_bar_stub_engraver creates SpanBarStub grobs in the contexts |
33 that a grouping context contains. For example, if a PianoStaff contains | 31 that a grouping context contains. For example, if a PianoStaff contains |
34 two Staffs, a Dynamics, and a Lyrics, SpanBarStubs will be created in | 32 two Staffs, a Dynamics, and a Lyrics, SpanBarStubs will be created in |
35 all contexts that do not have bar lines (Dynamics and Lyrics). | 33 all contexts that do not have bar lines (Dynamics and Lyrics). |
36 | 34 |
37 We only want to create these SpanBarStubs in contexts that the SpanBar | 35 We only want to create these SpanBarStubs in contexts that the SpanBar |
38 traverses. However, Contexts do not contain layout information and it | 36 traverses. However, Contexts do not contain layout information and it |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 183 |
186 /* create */ | 184 /* create */ |
187 "SpanBarStub ", | 185 "SpanBarStub ", |
188 | 186 |
189 /* read */ | 187 /* read */ |
190 "", | 188 "", |
191 | 189 |
192 /* write */ | 190 /* write */ |
193 "" | 191 "" |
194 ); | 192 ); |
LEFT | RIGHT |