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) 2005--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2005--2019 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 breaks_ = 0; | 43 breaks_ = 0; |
44 system_ = 0; | 44 system_ = 0; |
45 first_ = true; | 45 first_ = true; |
46 made_columns_ = false; | 46 made_columns_ = false; |
47 } | 47 } |
48 | 48 |
49 void | 49 void |
50 Paper_column_engraver::finalize () | 50 Paper_column_engraver::finalize () |
51 { | 51 { |
52 if (! (breaks_ % 8)) | 52 if (! (breaks_ % 8)) |
53 progress_indication ("[" + ::to_string (breaks_) + "]"); | 53 progress_indication ("[" + std::to_string (breaks_) + "]"); |
54 | 54 |
55 if (!made_columns_) | 55 if (!made_columns_) |
56 { | 56 { |
57 make_columns (); | 57 make_columns (); |
58 SCM m = now_mom ().smobbed_copy (); | 58 SCM m = now_mom ().smobbed_copy (); |
59 command_column_->set_property ("when", m); | 59 command_column_->set_property ("when", m); |
60 musical_column_->set_property ("when", m); | 60 musical_column_->set_property ("when", m); |
61 } | 61 } |
62 | 62 |
63 if (command_column_) | 63 if (command_column_) |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 || scm_is_eq (perm, ly_symbol2scm ("allow"))) | 273 || scm_is_eq (perm, ly_symbol2scm ("allow"))) |
274 warning (_ ("forced break was overridden by some other event, " | 274 warning (_ ("forced break was overridden by some other event, " |
275 "should you be using bar checks?")); | 275 "should you be using bar checks?")); |
276 } | 276 } |
277 } | 277 } |
278 else if (Paper_column::is_breakable (command_column_)) | 278 else if (Paper_column::is_breakable (command_column_)) |
279 { | 279 { |
280 breaks_++; | 280 breaks_++; |
281 | 281 |
282 if (! (breaks_ % 8)) | 282 if (! (breaks_ % 8)) |
283 progress_indication ("[" + ::to_string (breaks_) + "]"); | 283 progress_indication ("[" + std::to_string (breaks_) + "]"); |
284 } | 284 } |
285 | 285 |
286 context ()->get_score_context ()->unset_property (ly_symbol2scm ("forbidBreak"
)); | 286 context ()->get_score_context ()->unset_property (ly_symbol2scm ("forbidBreak"
)); |
287 | 287 |
288 first_ = false; | 288 first_ = false; |
289 label_events_.clear (); | 289 label_events_.clear (); |
290 } | 290 } |
291 | 291 |
292 void | 292 void |
293 Paper_column_engraver::start_translation_timestep () | 293 Paper_column_engraver::start_translation_timestep () |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 "NonMusicalPaperColumn ", | 329 "NonMusicalPaperColumn ", |
330 | 330 |
331 /* read */ | 331 /* read */ |
332 "forbidBreak ", | 332 "forbidBreak ", |
333 | 333 |
334 /* write */ | 334 /* write */ |
335 "forbidBreak " | 335 "forbidBreak " |
336 "currentCommandColumn " | 336 "currentCommandColumn " |
337 "currentMusicalColumn " | 337 "currentMusicalColumn " |
338 ); | 338 ); |
LEFT | RIGHT |