lilypond-0.0.39
[lilypond.git] / lily / include / staffsym.hh
blobbcec2bfaff803f148b48fb1e6ac6ba8e16debd39
1 /*
2 staffsym.hh -- declare Staff_symbol
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
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.
17 class Staff_symbol : public Spanner
19 public:
20 /// this many lines.
21 int no_lines_i_;
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;
30 #endif // STAFFSYM_HH