]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-symbol.hh
release: 1.1.35
[lilypond.git] / lily / include / staff-symbol.hh
1 /*
2   staffsym.hh -- declare Staff_symbol
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef STAFFSYM_HH
11 #define STAFFSYM_HH
12 #include "spanner.hh"
13
14 /**
15   This spanner draws the lines of a pstaff.
16   The bottom line is position 0.
17   */
18 class Staff_symbol : public Spanner
19 {
20 public:
21   /// this many lines.
22   int no_lines_i_;
23   Real staff_line_leading_f_;
24   
25   Staff_symbol ();
26   int steps_i() const;
27 protected:
28   VIRTUAL_COPY_CONS(Score_element);
29   virtual Interval do_height () const;
30   virtual Molecule* do_brew_molecule_p() const;
31   virtual void do_print() const;
32 };
33 #endif // STAFFSYM_HH