]> git.donarmstrong.com Git - lilypond.git/blob - hdr/scoreline.hh
release: 0.0.9
[lilypond.git] / hdr / scoreline.hh
1 /*
2   scoreline.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef SCORELINE_HH
8 #define SCORELINE_HH
9 #include "plist.hh"
10 #include "proto.hh"
11 #include "vray.hh"
12
13 /// the columns of a score that form one line.
14 struct
15 Line_of_score {
16     List<const PCol *> cols;
17
18     // need to store height of each staff.
19     PointerList<Line_of_staff*> staffs;
20     const PScore * score;       // needed to generate staffs
21
22     /****************/
23     
24     Line_of_score(svec<const PCol *> sv, const PScore *);
25
26     String TeXstring() const;
27
28     // is #c# contained in #*this#?
29     bool element(const PCol *c);
30 };
31
32 #endif