]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-sym.hh
release: 0.0.46.jcn1
[lilypond.git] / lily / include / staff-sym.hh
1 /*
2   staffsym.hh -- declare Staff_symbol
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef STAFFSYM_HH
11 #define STAFFSYM_HH
12 #include "spanner.hh"
13 /**
14   This spanner draws the lines of a pstaff.
15   The bottom line is position 0.
16   */
17 class Staff_symbol : public Spanner
18 {
19 public:
20     /// this many lines.
21     int no_lines_i_;
22
23     NAME_MEMBERS(Staff_symbol);
24     Staff_symbol(int lines);
25     virtual Molecule* brew_molecule_p() const;
26     void set_extent(PCol* p1, PCol* p2);
27     virtual void do_print()const;
28     virtual Spanner *do_break_at( PCol *c1,  PCol *c2) const;
29 };
30 #endif // STAFFSYM_HH