]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script-column-engraver.cc
($(outdir)/fonts.cache-1): create font cache for
[lilypond.git] / lily / script-column-engraver.cc
index bf7c3d815b1e53a078ce20cd075530bd82dbd763..a7ae23ec4a94042cdbb0c3b91b133cd6c734a12f 100644 (file)
@@ -1,11 +1,10 @@
-/*   
-  script-column-engraver.cc --  implement Script_column_engraver
-  
+/*
+  script-column-engraver.cc -- implement Script_column_engraver
+
   source file of the GNU LilyPond music typesetter
-  
+
   (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+*/
 
 #include "engraver.hh"
 #include "script-column.hh"
@@ -27,7 +26,6 @@ protected:
   virtual void stop_translation_timestep ();
 };
 
-
 Script_column_engraver::Script_column_engraver ()
 {
   scol_ = 0;
@@ -41,13 +39,13 @@ Script_column_engraver::stop_translation_timestep ()
 }
 
 void
-Script_column_engraver::acknowledge_grob (Grob_info inf) 
+Script_column_engraver::acknowledge_grob (Grob_info inf)
 {
-  Item *thing = dynamic_cast<Item*> (inf.grob_);
-  if (thing && Side_position_interface::has_interface (inf.grob_)) // ugh FIXME
+  Item *thing = dynamic_cast<Item *> (inf.grob ());
+  if (thing && Side_position_interface::has_interface (inf.grob ())) // ugh FIXME
     {
       if (!Item::is_breakable (thing)
-         && Side_position_interface::get_axis (inf.grob_) == Y_AXIS)
+         && Side_position_interface::get_axis (inf.grob ()) == Y_AXIS)
        {
          scripts_.push (thing);
        }
@@ -60,7 +58,6 @@ Script_column_engraver::process_acknowledged_grobs ()
   if (!scol_ && scripts_.size () > 1)
     {
       scol_ = make_item ("ScriptColumn", SCM_EOL);
-      
     }
 
   if (scol_)
@@ -69,13 +66,12 @@ Script_column_engraver::process_acknowledged_grobs ()
        Script_column::add_staff_sided (scol_, scripts_[i]);
       scripts_.clear ();
     }
-
 }
 
 ADD_TRANSLATOR (Script_column_engraver,
-/* descr */       "",
-/* creats*/       "ScriptColumn",
-/* accepts */     "",
-/* acks  */      "side-position-interface",
-/* reads */       "",
-/* write */       "");
+               /* descr */ "",
+               /* creats*/ "ScriptColumn",
+               /* accepts */ "",
+               /* acks  */ "side-position-interface",
+               /* reads */ "",
+               /* write */ "");