]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rhythmic-head.hh
release: 1.3.55
[lilypond.git] / lily / include / rhythmic-head.hh
1 /*
2   rhythmic-head.hh -- declare Rhythmic_head
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef RHYTHMIC_HEAD_HH
11 #define RHYTHMIC_HEAD_HH
12
13 #include "item.hh"
14
15 /*
16   Properties
17   
18   duration-log -- 2-log of the notehead duration
19
20   dot -- reference to Dots object.
21
22 */
23 class Rhythmic_head : public Item
24 {
25 public:
26
27   /*
28     Typically not used, since Rhythmic_head is not breakable.
29    */
30   VIRTUAL_COPY_CONS(Rhythmic_head);
31   int balltype_i () const;
32
33   void add_dots (Dots *);
34   Stem * stem_l () const;
35   Dots * dots_l () const;
36   int dot_count () const;
37 protected:
38   virtual void after_line_breaking ();
39   Rhythmic_head (SCM s);
40 };
41
42 #endif // RHYTHMIC_HEAD_HH