lilypond-0.1.16
[lilypond.git] / lily / include / note-head.hh
blob2a18dff66255956887a2e6bb339522e2cd02e078
1 /*
2 note-head.hh -- part of GNU LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef NOTEHEAD_HH
8 #define NOTEHEAD_HH
10 #include "rhythmic-head.hh"
12 /** ball at the end of the stem. Takes care of:
14 * help lines
18 class Note_head : public Rhythmic_head {
19 public:
20 DECLARE_MY_RUNTIME_TYPEINFO;
22 int position_i_;
24 /// -1 = lowest, 0 = inside, 1 = top
25 int extremal_i_;
27 /// needed for the help-lines
28 int staff_size_i_;
29 Direction x_dir_;
31 /**
32 position of top line (5 linestaff: 8)
34 Note_head ();
35 static int compare (Note_head * const &a, Note_head *const &b) ;
36 protected:
37 virtual Interval do_width () const;
38 virtual void do_pre_processing();
39 virtual Molecule* brew_molecule_p() const;
41 #endif // NOTEHEAD_HH