source file of the GNU LilyPond music typesetter
- (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "engraver.hh"
-#include "item.hh"
#include "text-item.hh"
#include "note-head.hh"
#include "stem.hh"
Part_combine_engraver::Part_combine_engraver ()
{
text_ = 0;
- event_ =0;
+ event_ = 0;
}
void
SCM text = SCM_EOL;
if (what == ly_symbol2scm ("solo1"))
text = get_property ("soloText");
- else if (what== ly_symbol2scm ("solo2"))
+ else if (what == ly_symbol2scm ("solo2"))
text = get_property ("soloIIText");
else if (what == ly_symbol2scm ("unisono"))
text = get_property ("aDueText");
- if (Text_item::markup_p (text))
+ if (Text_interface::markup_p (text))
{
text_ = make_item ("CombineTextScript", event_->self_scm () );
text_->set_property ("text", text);
event_ = 0;
}
-ENTER_DESCRIPTION (Part_combine_engraver,
+ADD_TRANSLATOR (Part_combine_engraver,
/* descr */ "Part combine engraver for orchestral scores: "
"Print markings a2, Solo, Solo II, and unisono ",
/* creats*/ "CombineTextScript",
/* accepts */ "part-combine-event",
/* acks */ "multi-measure-rest-interface "
-"slur-interface stem-interface note-head-interface"
-,/* reads */ "printPartCombineTexts",
+"slur-interface stem-interface note-head-interface",
+/* reads */ "printPartCombineTexts",
/* write */ "");