#include "lookup.hh"
#include "rest.hh"
#include "dots.hh"
-#include "axis-group-element.hh"
#include "paper-score.hh"
#include "stem.hh"
#include "staff-symbol-referencer.hh"
Dots*
Rhythmic_head::dots_l () const
{
- SCM s = get_elt_property ("dot");
+ SCM s = get_elt_pointer ("dot");
return dynamic_cast<Dots*> (unsmob_element (s));
}
Stem*
Rhythmic_head::stem_l () const
{
- SCM s = get_elt_property ("stem");
+ SCM s = get_elt_pointer ("stem");
return dynamic_cast<Stem*> (unsmob_element (s));
}
? gh_scm2int (dots_l ()->get_elt_property ("dot-count")) : 0;
}
-void
-Rhythmic_head::do_post_processing ()
+GLUE_SCORE_ELEMENT(Rhythmic_head,after_line_breaking);
+SCM
+Rhythmic_head::member_after_line_breaking ()
{
if (Dots *d = dots_l ())
{
Staff_symbol_referencer_interface me (d);
si.set_position(int (me.position_f ()));
}
+
+ return SCM_UNDEFINED;
}
void
Rhythmic_head::add_dots (Dots *dot_l)
{
- set_elt_property ("dot", dot_l->self_scm_);
+ set_elt_pointer ("dot", dot_l->self_scm_);
dot_l->add_dependency (this);
}
+Rhythmic_head::Rhythmic_head (SCM s)
+ : Item (s)
+{
+}