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--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2012 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 add_bound_item (line_spanner_, dynamic_cast<Item *> (info.grob ())); | 406 add_bound_item (line_spanner_, dynamic_cast<Item *> (info.grob ())); |
407 } | 407 } |
408 | 408 |
409 if (script_ && !script_->get_parent (X_AXIS)) | 409 if (script_ && !script_->get_parent (X_AXIS)) |
410 { | 410 { |
411 extract_grob_set (info.grob (), "note-heads", heads); | 411 extract_grob_set (info.grob (), "note-heads", heads); |
412 if (heads.size ()) | 412 if (heads.size ()) |
413 { | 413 { |
414 Grob *head = heads[0]; | 414 Grob *head = heads[0]; |
415 script_->set_parent (head, X_AXIS); | 415 script_->set_parent (head, X_AXIS); |
416 Self_alignment_interface::set_center_parent (script_, X_AXIS); | |
417 } | 416 } |
418 } | 417 } |
419 | 418 |
420 if (cresc_) | 419 if (cresc_) |
421 { | 420 { |
422 if (!cresc_->get_bound (LEFT)) | 421 if (!cresc_->get_bound (LEFT)) |
423 { | 422 { |
424 cresc_->set_bound (LEFT, info.grob ()); | 423 cresc_->set_bound (LEFT, info.grob ()); |
425 add_bound_item (line_spanner_, cresc_->get_bound (LEFT)); | 424 add_bound_item (line_spanner_, cresc_->get_bound (LEFT)); |
426 } | 425 } |
(...skipping 17 matching lines...) Expand all Loading... |
444 "DynamicTextSpanner " | 443 "DynamicTextSpanner " |
445 "DynamicText " | 444 "DynamicText " |
446 "Hairpin ", | 445 "Hairpin ", |
447 | 446 |
448 /* read */ | 447 /* read */ |
449 "", | 448 "", |
450 | 449 |
451 /* write */ | 450 /* write */ |
452 "" | 451 "" |
453 ); | 452 ); |
LEFT | RIGHT |