]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-note-heads-engraver.cc
* input/regression/{many}.ly: refresh, trying to guess how
[lilypond.git] / lily / tab-note-heads-engraver.cc
index e0ba6ec18efc48126ef1a627c911b8f87e2b710c..1e3f78cbc6a7cc77e2036e65a24feb5b4d89081d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   head-grav.cc -- part of GNU LilyPond
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 #include <ctype.h>
 #include <stdio.h>
@@ -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.",