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) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 void | 84 void |
85 Span_bar_engraver::stop_translation_timestep () | 85 Span_bar_engraver::stop_translation_timestep () |
86 { | 86 { |
87 if (spanbar_) | 87 if (spanbar_) |
88 { | 88 { |
89 SCM vissym = ly_symbol2scm ("break-visibility"); | 89 SCM vissym = ly_symbol2scm ("break-visibility"); |
90 SCM vis = bars_[0]->internal_get_property (vissym); | 90 SCM vis = bars_[0]->internal_get_property (vissym); |
91 if (ly_is_equal (spanbar_->internal_get_property (vissym), vis)) | 91 if (ly_is_equal (spanbar_->internal_get_property (vissym), vis)) |
92 spanbar_->set_property (vissym, vis); | 92 spanbar_->set_property (vissym, vis); |
93 | 93 Span_bar::notify_grobs_of_my_existence (spanbar_); |
94 spanbar_ = 0; | 94 spanbar_ = 0; |
95 } | 95 } |
96 bars_.resize (0); | 96 bars_.resize (0); |
97 } | 97 } |
98 | 98 |
99 #include "translator.icc" | 99 #include "translator.icc" |
100 | 100 |
101 ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line); | 101 ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line); |
102 ADD_TRANSLATOR (Span_bar_engraver, | 102 ADD_TRANSLATOR (Span_bar_engraver, |
103 /* doc */ | 103 /* doc */ |
104 "Make cross-staff bar lines: It catches all normal bar lines" | 104 "Make cross-staff bar lines: It catches all normal bar lines" |
105 " and draws a single span bar across them.", | 105 " and draws a single span bar across them.", |
106 | 106 |
107 /* create */ | 107 /* create */ |
108 "SpanBar ", | 108 "SpanBar ", |
109 | 109 |
110 /* read */ | 110 /* read */ |
111 "", | 111 "", |
112 | 112 |
113 /* write */ | 113 /* write */ |
114 "" | 114 "" |
115 ); | 115 ); |
LEFT | RIGHT |