LEFT | RIGHT |
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) 2001--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2001--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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 return rv; | 241 return rv; |
242 } | 242 } |
243 | 243 |
244 Slice | 244 Slice |
245 item_system_range (Item *it) | 245 item_system_range (Item *it) |
246 { | 246 { |
247 if (System *st = it->get_system ()) | 247 if (System *st = it->get_system ()) |
248 return Slice (st->get_rank (), st->get_rank ()); | 248 return Slice (st->get_rank (), st->get_rank ()); |
249 | 249 |
250 Slice sr; | 250 Slice sr; |
251 for(LEFT_and_RIGHT(d)) | 251 for (LEFT_and_RIGHT (d)) |
252 { | 252 { |
253 Item *bi = it->find_prebroken_piece (d); | 253 Item *bi = it->find_prebroken_piece (d); |
254 if (bi && bi->get_system ()) | 254 if (bi && bi->get_system ()) |
255 sr.add_point (bi->get_system ()->get_rank ()); | 255 sr.add_point (bi->get_system ()->get_rank ()); |
256 } | 256 } |
257 | 257 |
258 return sr; | 258 return sr; |
259 } | 259 } |
260 | 260 |
261 Slice | 261 Slice |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 } | 525 } |
526 } | 526 } |
527 } | 527 } |
528 | 528 |
529 void | 529 void |
530 Grob::substitute_object_links (SCM crit, SCM orig) | 530 Grob::substitute_object_links (SCM crit, SCM orig) |
531 { | 531 { |
532 set_break_subsititution (crit); | 532 set_break_subsititution (crit); |
533 object_alist_ = substitute_object_alist (orig, object_alist_); | 533 object_alist_ = substitute_object_alist (orig, object_alist_); |
534 } | 534 } |
LEFT | RIGHT |