]> git.donarmstrong.com Git - lilypond.git/blob - hdr/notehead.hh
release: 0.0.26
[lilypond.git] / hdr / notehead.hh
1 /*
2   notehead.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
9 #include "item.hh"
10
11 /// ball at the end of the stem
12 struct Notehead : Item {
13     const char * name() const;
14     int position;
15     /// -1 = lowest, 0 = inside, 1 = top
16     int extremal;
17     /// needed for the help-lines
18     int staff_size;
19     int dots;
20     int balltype;
21     int x_dir;
22     
23     /****************/
24     
25     void set_rhythmic(Rhythmic_req *);
26     Notehead(int staff_size);
27     /**
28       position of top line (5 linestaff: 8)
29       */
30
31     void do_print()const;
32     static int compare(Notehead*&a, Notehead*&b) ;
33     Molecule* brew_molecule_p()const;
34 };
35 /**
36   takes care of:
37
38   * help lines  
39   * proper placing of dots 
40
41   */
42 #endif // NOTEHEAD_HH
43