Use scalar instead of embedded_scm for context mod overrides.
[lilypond/mpolesky.git] / lily / staff-grouper-interface.cc
blob0eae7e531fbb36738e62a8c46910745a66e68fac
1 /*
2 staff-grouper-interface.cc -- implement Staff_grouper_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2009 Joe Neeman <joeneeman@gmail.com>
7 */
9 #include "staff-grouper-interface.hh"
11 #include "pointer-group-interface.hh"
13 Grob*
14 Staff_grouper_interface::get_last_grob (Grob *me)
16 extract_grob_set (me, "elements", elts);
17 for (vsize i = elts.size (); i--;)
18 if (elts[i]->is_live ())
19 return elts[i];
21 return 0;
24 ADD_INTERFACE (Staff_grouper_interface,
25 "A grob that collects staves together.",
27 /* properties */
28 "between-staff-spacing "
29 "after-last-staff-spacing "