2 scoreline.cc -- implement Line_of_score
4 source file of the LilyPond music typesetter
6 (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
9 #include "scoreline.hh"
10 #include "staffline.hh"
14 #include "paper-def.hh"
20 Line_of_score::TeXstring() const
22 String s("\\vbox{%<- line of score\n");
24 s+= "\\scorelineerrormark";
25 for (iter_top(staffs,sc); sc.ok(); sc++){
28 s+= "\\interstaffline\n";
35 Line_of_score::Line_of_score(Array<PCol *> sv,
40 for (int i=0; i< sv.size(); i++) {
41 PCol *p=(PCol *) sv[i];
46 for (iter_top(pscore_l_->staffs,sc); sc.ok(); sc++)
47 staffs.bottom().add(new Line_of_staff(this, sc));
49 /* construct a line with the named columns. Make the line field
50 in each column point to this
52 #sv# isn't really const!!
57 Line_of_score::process()
59 for (iter_top(staffs,i); i.ok(); i++)