}
else if (key == ly_symbol2scm ("accordion"))
{
- return me->lookup_l ()->accordion (gh_cdr (s), me->paper_l()->get_var("interline"));
+ return me->lookup_l ()->accordion (gh_cdr (s), me->paper_l()->get_var("staffspace"));
}
else
assert (false);
Direction d = Side_position::get_direction (me);
Side_position::set_direction (me,d);
- return SCM_UNDEFINED;
+ return SCM_UNSPECIFIED;
}
MAKE_SCHEME_CALLBACK(Script,brew_molecule);
Script::brew_molecule (SCM smob)
{
Score_element *me= unsmob_element (smob);
- Direction dir = DOWN;
- SCM d = me->get_elt_property ("direction");
- if (isdir_b (d))
- dir = to_dir (d);
-
+// Direction dir = DOWN;
+// SCM d = me->get_elt_property ("direction");
+// if (isdir_b (d))
+// dir = to_dir (d);
+ Direction dir = Side_position::get_direction(me);
return get_molecule (me, dir).create_scheme();
}
bool
Script::has_interface (Score_element*me)
{
- return me->has_interface ("script-interface");
+ return me->has_interface (ly_symbol2scm ("script-interface"));
}
void
Script::set_interface (Score_element*me)
{
- return me->set_interface ("script-interface");
+ return me->set_interface (ly_symbol2scm ("script-interface"));
}