source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#define RHYTHMIC_HEAD_HH
#include "item.hh"
-#include "staff-symbol-referencer.hh"
-class Rhythmic_head : public Item, public Staff_symbol_referencer
+/*
+ Properties
+
+ duration-log -- 2-log of the notehead duration
+
+ dot -- reference to Dots object.
+
+*/
+class Rhythmic_head : public Item
{
public:
- Stem * stem_l_;
- int balltype_i_;
- int dots_i_;
- int position_i_;
-
- Dots * dots_l_;
-
- void add_dots (Dots *);
- Rhythmic_head ();
-protected:
- virtual void do_post_processing ();
- virtual void do_add_processing ();
- virtual void do_print () const;
- virtual void do_substitute_element_pointer (Score_element*,Score_element*);
+
+ /*
+ Typically not used, since Rhythmic_head is not breakable.
+ */
+ VIRTUAL_COPY_CONS(Rhythmic_head);
+ int balltype_i () const;
+
+ void add_dots (Item *);
+ Stem * stem_l () const;
+ Item * dots_l () const;
+ int dot_count () const;
+
+ SCM member_after_line_breaking ();
+ static SCM after_line_breaking (SCM);
+ Rhythmic_head (SCM s);
};
#endif // RHYTHMIC_HEAD_HH