]> git.donarmstrong.com Git - lilypond.git/blob - hdr/notehead.hh
release: 0.0.27
[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     const char* defined_ch_c_l_m; //sorry, trying to find error in martien.ly
15     int position;
16     /// -1 = lowest, 0 = inside, 1 = top
17     int extremal;
18     /// needed for the help-lines
19     int staff_size;
20     int dots;
21     int balltype;
22     int x_dir;
23     
24     /****************/
25     
26     void set_rhythmic(Rhythmic_req *);
27     Notehead(int staff_size);
28     /**
29       position of top line (5 linestaff: 8)
30       */
31
32     void do_print()const;
33     static int compare(Notehead*&a, Notehead*&b) ;
34     Molecule* brew_molecule_p()const;
35 };
36 /**
37   takes care of:
38
39   * help lines  
40   * proper placing of dots 
41
42   */
43 #endif // NOTEHEAD_HH
44