source file of the GNU LilyPond music typesetter
- (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 2000--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
Moment mp
= (unsmob_moment (smp)) ? *unsmob_moment (smp) : Moment (0);
beam_start_location_ = mp;
- announce_grob (beam_p_, repeat_);
+ announce_grob(beam_p_, repeat_->self_scm());
}
else if (!sequential_body_b_ && !stem_tremolo_)
{
if (flags)
{
stem_tremolo_ = new Item (get_property ("StemTremolo"));
- Stem_tremolo::set_interface (stem_tremolo_);
-
- announce_grob (stem_tremolo_, repeat_);
- stem_tremolo_->set_grob_property ("tremolo-flags",
+ announce_grob(stem_tremolo_, repeat_->self_scm());
+ stem_tremolo_->set_grob_property ("flag-count",
gh_int2scm (flags));
}
}
s->set_grob_property ("direction", d);
- if (dynamic_cast <Rhythmic_req *> (info.req_l_))
+ if (dynamic_cast <Rhythmic_req *> (info.music_cause ()))
{
Beam::add_stem (beam_p_, s);
}
else
{
String s = _ ("stem must have Rhythmic structure");
- if (info.req_l_)
- info.req_l_->origin ()->warning (s);
+ if (info.music_cause ())
+ info.music_cause ()->origin ()->warning (s);
else
::warning (s);
}