OLD | NEW |
1 /* | 1 /* |
2 fingering-engraver.cc -- implement New_fingering_engraver | 2 fingering-engraver.cc -- implement New_fingering_engraver |
3 | 3 |
4 source file of the GNU LilyPond music typesetter | 4 source file of the GNU LilyPond music typesetter |
5 | 5 |
6 (c) 1998--2009 Han-Wen Nienhuys <hanwen@xs4all.nl> | 6 (c) 1998--2009 Han-Wen Nienhuys <hanwen@xs4all.nl> |
7 */ | 7 */ |
8 | 8 |
9 #include "engraver.hh" | 9 #include "engraver.hh" |
10 | 10 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 } | 242 } |
243 | 243 |
244 for (vsize i = 0; i < horiz.size (); i++) | 244 for (vsize i = 0; i < horiz.size (); i++) |
245 { | 245 { |
246 Finger_tuple ft = horiz[i]; | 246 Finger_tuple ft = horiz[i]; |
247 Grob *f = ft.script_; | 247 Grob *f = ft.script_; |
248 f->set_parent (ft.head_, X_AXIS); | 248 f->set_parent (ft.head_, X_AXIS); |
249 f->set_parent (ft.head_, Y_AXIS); | 249 f->set_parent (ft.head_, Y_AXIS); |
250 f->set_property ("avoid-slur", SCM_BOOL_F); | 250 f->set_property ("avoid-slur", SCM_BOOL_F); |
251 if (hordir == LEFT | 251 if (hordir == LEFT |
252 » && unsmob_grob (ft.head_->get_object ("accidental-grob"))) | 252 » && unsmob_grob (ft.head_->get_property ("accidental-grob"))) |
253 Side_position_interface::add_support (f, | 253 Side_position_interface::add_support (f, |
254 » » » » » unsmob_grob (ft.head_->get_object
("accidental-grob"))); | 254 » » » » » unsmob_grob (ft.head_->get_propert
y ("accidental-grob"))); |
255 ·············································· | 255 ·············································· |
256 Self_alignment_interface::set_align_self (f, Y_AXIS); | 256 Self_alignment_interface::set_align_self (f, Y_AXIS); |
257 Self_alignment_interface::set_center_parent (f, Y_AXIS); | 257 Self_alignment_interface::set_center_parent (f, Y_AXIS); |
258 Side_position_interface::set_axis (f, X_AXIS); | 258 Side_position_interface::set_axis (f, X_AXIS); |
259 | 259 |
260 f->set_property ("direction", scm_from_int (hordir)); | 260 f->set_property ("direction", scm_from_int (hordir)); |
261 } | 261 } |
262 | 262 |
263 Direction d = DOWN; | 263 Direction d = DOWN; |
264 Drul_array< vector<Finger_tuple> > vertical (down, up); | 264 Drul_array< vector<Finger_tuple> > vertical (down, up); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 355 |
356 /* read */ | 356 /* read */ |
357 "fingeringOrientations " | 357 "fingeringOrientations " |
358 "harmonicDots " | 358 "harmonicDots " |
359 "strokeFingerOrientations " | 359 "strokeFingerOrientations " |
360 "stringNumberOrientations ", | 360 "stringNumberOrientations ", |
361 ················ | 361 ················ |
362 /* write */ | 362 /* write */ |
363 "" | 363 "" |
364 ); | 364 ); |
OLD | NEW |