]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dynamic-engraver.cc
* lily/vaticana-ligature-engraver.cc: bugfix: another few
[lilypond.git] / lily / dynamic-engraver.cc
index d9bdf7e94e5bb7a67ab9f784c2c591ae770dba51..45c9c355c5807135a6d9c56e2aff1d04f37f5cef 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "axis-group-interface.hh"
 #include "dimensions.hh"
 #include "directional-element-interface.hh"
 #include "engraver.hh"
-#include "event.hh"
-#include "group-interface.hh"
 #include "hairpin.hh"
 #include "interval.hh"
-#include "item.hh"
 #include "note-column.hh"
 #include "paper-column.hh"
 #include "script-interface.hh"
@@ -79,7 +76,7 @@ Dynamic_engraver::Dynamic_engraver ()
   line_spanner_ = 0;
   finished_line_spanner_ = 0;
   current_cresc_ev_ = 0;
-  cresc_ =0;
+  cresc_ = 0;
 
   script_ev_ = 0;
   accepted_spanreqs_drul_[START] = 0;
@@ -336,7 +333,7 @@ Dynamic_engraver::typeset_all ()
            add_bound_item (finished_line_spanner_,
                            finished_cresc_->get_bound (RIGHT));
        }
-      finished_cresc_ =0;
+      finished_cresc_ = 0;
     }
   
   script_ = 0;
@@ -387,8 +384,8 @@ Dynamic_engraver::acknowledge_grob (Grob_info info)
          /* Don't refill killed spanner */
          && line_spanner_->is_live ())
        {
-         Side_position_interface::add_support (line_spanner_,info.grob_);
-         add_bound_item (line_spanner_,dynamic_cast<Item*> (info.grob_));
+         Side_position_interface::add_support (line_spanner_, info.grob_);
+         add_bound_item (line_spanner_, dynamic_cast<Item*> (info.grob_));
        }
 
       if (script_ && !script_->get_parent (X_AXIS))
@@ -423,7 +420,7 @@ Dynamic_engraver::acknowledge_grob (Grob_info info)
     }
 }
 
-ENTER_DESCRIPTION (Dynamic_engraver,
+ADD_TRANSLATOR (Dynamic_engraver,
 /* descr */       
 "This engraver creates hairpins, dynamic texts, and their vertical\n"
 "alignments.  The symbols are collected onto a DynamicLineSpanner grob\n"