X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftab-note-heads-engraver.cc;h=1e3f78cbc6a7cc77e2036e65a24feb5b4d89081d;hb=d12d721e46d077c3e9557567f84c0eb401fc277a;hp=e0ba6ec18efc48126ef1a627c911b8f87e2b710c;hpb=7482c98a81b501a8265ae4f62227fca5aefb1442;p=lilypond.git diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc index e0ba6ec18e..1e3f78cbc6 100644 --- a/lily/tab-note-heads-engraver.cc +++ b/lily/tab-note-heads-engraver.cc @@ -1,7 +1,7 @@ /* head-grav.cc -- part of GNU LilyPond - (c) 1997--2003 Han-Wen Nienhuys + (c) 1997--2004 Han-Wen Nienhuys */ #include #include @@ -30,7 +30,6 @@ public: TRANSLATOR_DECLARATIONS(Tab_note_heads_engraver); protected: - virtual void start_translation_timestep (); virtual bool try_music (Music *event) ; virtual void process_music (); @@ -70,14 +69,11 @@ Tab_note_heads_engraver::process_music () int j = 0; for (int i=0; i < note_events_.size (); i++) { - - - SCM stringTunings = get_property ("stringTunings"); int number_of_strings = ((int) gh_length(stringTunings)); bool high_string_one = to_boolean(get_property ("highStringOne")); - Item * note = new Item (get_property ("TabNoteHead")); + Item * note = make_item ("TabNoteHead"); Music * event = note_events_[i]; @@ -119,7 +115,7 @@ Tab_note_heads_engraver::process_music () if (dur.dot_count ()) { - Item * d = new Item (get_property ("Dots")); + Item * d = make_item ("Dots"); Rhythmic_head::set_dots (note, d); if (dur.dot_count () @@ -180,11 +176,6 @@ Tab_note_heads_engraver::stop_translation_timestep () tabstring_events_.clear (); } -void -Tab_note_heads_engraver::start_translation_timestep () -{ -} - ENTER_DESCRIPTION(Tab_note_heads_engraver, /* descr */ "Generate one or more tablature noteheads from Music of type NoteEvent.",