]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-sym.hh
release: 0.1.11
[lilypond.git] / lily / include / staff-sym.hh
1 /*
2   staffsym.hh -- declare Staff_symbol
3
4   source file of the GNU 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 /**
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   /// this many lines.
21   int no_lines_i_;
22 public:
23   DECLARE_MY_RUNTIME_TYPEINFO;
24   Staff_symbol (int lines);
25   Real inter_note_f() const;
26   int steps_i() const;
27 protected:
28   SCORE_ELEM_CLONE(Staff_symbol);
29   virtual Molecule* brew_molecule_p() const;
30   virtual void do_print() const;
31 };
32 #endif // STAFFSYM_HH