]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/figured-bass-continuation.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / figured-bass-continuation.cc
index 4001dc5f26e9a47a1036cd0d97e19d05a75ebb7e..ad94209b65b216a2db416c716967fe942cf33a97 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 */
 
@@ -25,16 +25,14 @@ struct Figured_bass_continuation
   
 public:
   DECLARE_SCHEME_CALLBACK(print, (SCM));
-  DECLARE_SCHEME_CALLBACK(center_on_figures, (SCM, SCM));
+  DECLARE_SCHEME_CALLBACK(center_on_figures, (SCM));
 };
 
-MAKE_SCHEME_CALLBACK (Figured_bass_continuation, center_on_figures, 2);
+MAKE_SCHEME_CALLBACK (Figured_bass_continuation, center_on_figures, 1);
 SCM
-Figured_bass_continuation::center_on_figures (SCM grob, SCM axis)
+Figured_bass_continuation::center_on_figures (SCM grob)
 {
   Spanner *me = dynamic_cast<Spanner*> (unsmob_grob (grob));
-  (void) axis;
-  
   extract_grob_set (me, "figures", figures);
   if (figures.is_empty ())
     return scm_from_double (0.0);
@@ -53,7 +51,7 @@ Figured_bass_continuation::print (SCM grob)
   Spanner *me = dynamic_cast<Spanner*> (unsmob_grob (grob));
 
   Real thick =
-    me->get_layout ()->get_dimension (ly_symbol2scm ("linethickness"))
+    me->layout ()->get_dimension (ly_symbol2scm ("linethickness"))
     * robust_scm2double (me->get_property ("thickness"), 1);
   
   Interval spanned;