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