source file of the GNU LilyPond music typesetter
- (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
#include "item.hh"
class Note_name_engraver : public Engraver
{
if (i)
s += " ";
- s += unsmob_pitch (reqs_[i]->get_mus_property ("pitch"))->string ();
+ s += unsmob_pitch (reqs_[i]->get_mus_property ("pitch"))->to_string ();
}
if (s.length ())
{
- Item * t = new Item (get_property ("NoteName"));
+ Item * t = make_item ("NoteName");
t->set_grob_property ("text", scm_makfrom0str (s.to_str0 ()));
announce_grob(t, reqs_[0]->self_scm());
texts_.push (t);