]> git.donarmstrong.com Git - lilypond.git/blob - lily/staffline.cc
release: 0.0.77.jcn1
[lilypond.git] / lily / staffline.cc
1 /*
2   staffline.cc -- implement Line_of_staff
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996,1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "staffline.hh"
10 #include "scoreline.hh"
11 #include "dimen.hh"
12 #include "spanner.hh"
13 #include "symbol.hh"
14 #include "paper-def.hh"
15 #include "molecule.hh"
16 #include "p-col.hh"
17 #include "p-score.hh"
18
19
20
21 IMPLEMENT_IS_TYPE_B2(Line_of_staff,Spanner,Horizontal_vertical_group);
22
23 void
24 Line_of_staff::add_element(Score_elem*elem_l)
25 {
26     if (!elem_l->y_group_element_i_)
27         Horizontal_vertical_group::add_element(elem_l);
28 }