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) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> | 4 Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org> |
5 Han-Wen Nienhuys <hanwen@xs4all.nl> | 5 Han-Wen Nienhuys <hanwen@xs4all.nl> |
6 | 6 |
7 LilyPond is free software: you can redistribute it and/or modify | 7 LilyPond is free software: you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation, either version 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 sp->set_property ("text", t); | 120 sp->set_property ("text", t); |
121 if (is_direction (dir)) | 121 if (is_direction (dir)) |
122 sp->set_property ("direction", dir); | 122 sp->set_property ("direction", dir); |
123 | 123 |
124 numbers_.push_back (sp); | 124 numbers_.push_back (sp); |
125 } | 125 } |
126 | 126 |
127 /* | 127 /* |
128 Stack different scripts. | 128 Stack different scripts. |
129 */ | 129 */ |
130 for(DOWN_and_UP(d)) | 130 for (DOWN_and_UP (d)) |
131 { | 131 { |
132 Grob *last = 0; | 132 Grob *last = 0; |
133 for (vsize i = 0; i < numbers_.size (); i++) | 133 for (vsize i = 0; i < numbers_.size (); i++) |
134 { | 134 { |
135 if (scm_from_int (d) == numbers_[i]->get_property ("direction"
)) | 135 if (scm_from_int (d) == numbers_[i]->get_property ("direction"
)) |
136 { | 136 { |
137 if (last) | 137 if (last) |
138 Side_position_interface::add_support (numbers_[i], last)
; | 138 Side_position_interface::add_support (numbers_[i], last)
; |
139 last = numbers_[i]; | 139 last = numbers_[i]; |
140 } | 140 } |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 /* read */ | 271 /* read */ |
272 "internalBarNumber " | 272 "internalBarNumber " |
273 "restNumberThreshold " | 273 "restNumberThreshold " |
274 "currentCommandColumn " | 274 "currentCommandColumn " |
275 "measurePosition ", | 275 "measurePosition ", |
276 | 276 |
277 /* write */ | 277 /* write */ |
278 "" | 278 "" |
279 ); | 279 ); |
LEFT | RIGHT |