lilypond-0.1.57
[lilypond.git] / hdr / notehead.hh
blobd7a68e7798884bf6850f3f4b184037ab202ac1f2
1 /*
2 notehead.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9 #include "item.hh"
11 /**
12 ball at the end of the stem
13 takes care of:
15 * help lines
16 * proper placing of dots
20 struct Notehead : Item {
21 NAME_MEMBERS(Notehead);
23 int position;
24 /// -1 = lowest, 0 = inside, 1 = top
25 int extremal;
26 /// needed for the help-lines
27 int staff_size;
28 int dots;
29 int balltype;
30 int x_dir;
32 /* *************** */
34 void set_rhythmic(Rhythmic_req *);
36 /**
37 position of top line (5 linestaff: 8)
39 Notehead(int staff_size);
40 void do_print()const;
41 static int compare(Notehead * const &a, Notehead *const &b) ;
42 Molecule* brew_molecule_p()const;
44 #endif // NOTEHEAD_HH