source file of the GNU LilyPond music typesetter
- (c) 2000--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "stem.hh"
#include "rhythmic-head.hh"
#include "engraver-group-engraver.hh"
-#include "musical-request.hh"
+#include "event.hh"
#include "warn.hh"
#include "misc.hh"
#include "note-head.hh"
&& rp->get_mus_property ("iterator-ctor") == Chord_tremolo_iterator::constructor_proc
&& !repeat_)
{
- Moment l = rp->length_mom ();
+ Moment l = rp->get_length ();
repeat_ = rp;
start_mom_ = now_mom ();
stop_mom_ = start_mom_ + l;
}
s->set_grob_property ("direction", d);
- if (dynamic_cast <Rhythmic_req *> (info.music_cause ()))
+ if (info.music_cause ()->is_mus_type ("rhythmic-event"))
{
Beam::add_stem (beam_, s);
}
ENTER_DESCRIPTION(Chord_tremolo_engraver,
/* descr */ "Generates beams for tremolo repeats.",
/* creats*/ "Beam",
-/* accepts */ "general-music",
+/* accepts */ "repeated-music",
/* acks */ "stem-interface note-head-interface",
/* reads */ "",
/* write */ "");