- if (rest_req_l_ && !rest_p_)
- {
- rest_p_ = new Item (get_property ("basicRestProperties"));
- Rhythmic_head::set_interface (rest_p_);
- Staff_symbol_referencer::set_interface (rest_p_);
-
-
- rest_p_->set_elt_property ("duration-log",
- gh_int2scm (rest_req_l_->duration_.durlog_i_));
-
- if (rest_req_l_->duration_.dots_i_)
- {
- dot_p_ = new Item (get_property ("basicDotsProperties"));
-
- Staff_symbol_referencer::set_interface (dot_p_);
- Rhythmic_head::set_dots (rest_p_, dot_p_);
- dot_p_->set_parent (rest_p_, Y_AXIS);
- dot_p_->add_offset_callback (Dots_quantised_position_callback_proc, Y_AXIS);
- dot_p_->set_elt_property ("dot-count",
- gh_int2scm (rest_req_l_->duration_.dots_i_));
- announce_element (dot_p_,0);
- }
-
- announce_element (rest_p_, rest_req_l_);
- }