-/*
+/*
arpeggio-engraver.cc -- implement Arpeggio_engraver
-
+
source file of the GNU LilyPond music typesetter
-
+
(c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
- */
+*/
#include "engraver.hh"
#include "group-interface.hh"
{
public:
TRANSLATOR_DECLARATIONS (Arpeggio_engraver);
-
+
protected:
virtual void acknowledge_grob (Grob_info);
virtual void process_music ();
virtual void stop_translation_timestep ();
virtual bool try_music (Music *);
private:
- Item *arpeggio_;
+ Item *arpeggio_;
Music *arpeggio_req_;
};
{
if (Stem::has_interface (info.grob_))
{
- if (!arpeggio_->get_parent (Y_AXIS))
+ if (!arpeggio_->get_parent (Y_AXIS))
arpeggio_->set_parent (info.grob_, Y_AXIS);
-
+
Pointer_group_interface::add_grob (arpeggio_,
ly_symbol2scm ("stems"),
info.grob_);
}
-
+
/*
We can't catch local key items (accidentals) from Voice context,
see Local_key_engraver
{
Side_position_interface::add_support (arpeggio_, info.grob_);
}
- else if (Note_column::has_interface (info.grob_ ))
+ else if (Note_column::has_interface (info.grob_))
{
info.grob_->set_property ("arpeggio", arpeggio_->self_scm ());
}
}
ADD_TRANSLATOR (Arpeggio_engraver,
-/* descr */ "Generate an Arpeggio from a Arpeggio_req",
-/* creats*/ "Arpeggio",
-/* accepts */ "arpeggio-event",
-/* acks */ "stem-interface rhythmic-head-interface note-column-interface",
-/* reads */ "",
-/* write */ "");
+ /* descr */ "Generate an Arpeggio from a Arpeggio_req",
+ /* creats*/ "Arpeggio",
+ /* accepts */ "arpeggio-event",
+ /* acks */ "stem-interface rhythmic-head-interface note-column-interface",
+ /* reads */ "",
+ /* write */ "");