#include "duration.hh"
#include "context.hh"
-/*
- TODO: documentme.
- */
class Auto_beam_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Auto_beam_engraver);
void
Auto_beam_engraver::process_music ()
{
- if (is_string (get_property ("whichBar")))
+ if (ly_c_string_p (get_property ("whichBar")))
{
consider_end (shortest_mom_);
junk_beam ();
stems_ = new Link_array<Item>;
grouping_ = new Beaming_info_list;
- beam_settings_ = updated_grob_properties (daddy_context_, ly_symbol2scm ("Beam"));
+ beam_settings_ = updated_grob_properties (context (), ly_symbol2scm ("Beam"));
beam_start_moment_ = now_mom ();
beam_start_location_ = *unsmob_moment (get_property ("measurePosition"));
{
finished_grouping_->beamify (beat_length_, subdivide_beams_);
Beam::set_beaming (finished_beam_, finished_grouping_);
- typeset_grob (finished_beam_);
finished_beam_ = 0;
delete finished_grouping_;