source file of the GNU LilyPond music typesetter
- (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "context.hh"
"Catch groups (staffs, lyrics lines, etc.) and stack "
"them vertically.",
/* create */ "VerticalAlignment",
- /* accept */ "",
- /* read */ "",
+ /* read */
+ "alignAboveContext "
+ "alignBelowContext ",
+
/* write */ "");
Vertical_align_engraver::Vertical_align_engraver ()
{
if (qualifies (i))
{
- std::string id = i.context ()->id_string ();
+ string id = i.context ()->id_string ();
- scm_hash_set_x (id_to_group_hashtab_, scm_makfrom0str (id.c_str ()),
+ scm_hash_set_x (id_to_group_hashtab_, ly_string2scm (id),
i.grob ()->self_scm ());
SCM before_id = i.context ()->get_property ("alignAboveContext");
if (before_grob || after_grob)
{
Grob_array *ga = unsmob_grob_array (valign_->get_object ("elements"));
- Link_array__Grob_ &arr = ga->array_reference ();
+ vector<Grob*> &arr = ga->array_reference ();
Grob *added = arr.back ();
arr.pop_back ();