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 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1998--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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 unsmob_grob (ft.head_->get_object
("dot"))); | 285 unsmob_grob (ft.head_->get_object
("dot"))); |
286 | 286 |
287 Self_alignment_interface::set_align_self (f, Y_AXIS); | 287 Self_alignment_interface::set_align_self (f, Y_AXIS); |
288 Self_alignment_interface::set_center_parent (f, Y_AXIS); | 288 Self_alignment_interface::set_center_parent (f, Y_AXIS); |
289 Side_position_interface::set_axis (f, X_AXIS); | 289 Side_position_interface::set_axis (f, X_AXIS); |
290 | 290 |
291 f->set_property ("direction", scm_from_int (hordir)); | 291 f->set_property ("direction", scm_from_int (hordir)); |
292 } | 292 } |
293 | 293 |
294 Drul_array< vector<Finger_tuple> > vertical (down, up); | 294 Drul_array< vector<Finger_tuple> > vertical (down, up); |
295 for(DOWN_and_UP(d)) | 295 for (DOWN_and_UP (d)) |
296 { | 296 { |
297 for (vsize i = 0; i < vertical[d].size (); i++) | 297 for (vsize i = 0; i < vertical[d].size (); i++) |
298 { | 298 { |
299 Finger_tuple ft = vertical[d][i]; | 299 Finger_tuple ft = vertical[d][i]; |
300 Grob *f = ft.script_; | 300 Grob *f = ft.script_; |
301 int finger_prio = robust_scm2int (f->get_property ("script-priority"),
200); | 301 int finger_prio = robust_scm2int (f->get_property ("script-priority"),
200); |
302 f->set_parent (ft.head_, X_AXIS); | 302 f->set_parent (ft.head_, X_AXIS); |
303 f->set_property ("script-priority", | 303 f->set_property ("script-priority", |
304 scm_from_int (finger_prio + d * ft.position_)); | 304 scm_from_int (finger_prio + d * ft.position_)); |
305 | 305 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 387 |
388 /* read */ | 388 /* read */ |
389 "fingeringOrientations " | 389 "fingeringOrientations " |
390 "harmonicDots " | 390 "harmonicDots " |
391 "strokeFingerOrientations " | 391 "strokeFingerOrientations " |
392 "stringNumberOrientations ", | 392 "stringNumberOrientations ", |
393 | 393 |
394 /* write */ | 394 /* write */ |
395 "" | 395 "" |
396 ); | 396 ); |
LEFT | RIGHT |