]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/layout-beam.scm
* scm/define-grob-interfaces.scm (string-finger-interface): add string-finger-interface
[lilypond.git] / scm / layout-beam.scm
index 051cc5f2af25c60fb40445664ff3971e77de3332..d946890049fbb6653e4088f4dd7cdb736391a884 100644 (file)
@@ -3,7 +3,7 @@
 ;;;;
 ;;;; source file of the GNU LilyPond music typesetter
 ;;;; 
-;;;; (c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+;;;; (c) 2000--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;;;
 
 (define ((check-beam-quant posl posr) beam posns)
@@ -13,7 +13,7 @@
 "
   (let* ((thick (ly:grob-property beam 'thickness))
         (layout (ly:grob-layout beam))
-        (lthick (ly:output-def-lookup layout 'linethickness))
+        (lthick (ly:output-def-lookup layout 'line-thickness))
         (staff-thick lthick) ; fixme.
         (quant->coord (lambda (p q)
                         (if (= 2 (abs q))
@@ -35,6 +35,7 @@
     posns
     ))
 
+
 (define ((check-beam-slope-sign comparison) beam posns)
   "Check whether the slope of BEAM is correct wrt. COMPARISON."
   (let* ((slope-sign (- (cdr posns) (car posns)))
 
 
 (define-public (check-quant-callbacks l r)
-  (list Beam::calc_least_squares_positions
-       Beam::slope_damping
-       Beam::shift_region_to_valid
-       Beam::quanting
-       Beam::set_stem_lengths
+  (list ly:beam::calc-least-squares-positions
+       ly:beam::slope-damping
+       ly:beam::shift-region-to-valid
+       ly:beam::quanting
        (check-beam-quant l r)
        ))
                        
 
-
 (define-public (check-slope-callbacks comparison)
-  (list Beam::calc_least_squares_positions
-       Beam::slope_damping
-       Beam::shift_region_to_valid
-       Beam::quanting
-       Beam::set_stem_lengths
+  (list ly:beam::calc-least-squares-positions
+       ly:beam::slope-damping
+       ly:beam::shift-region-to-valid
+       ly:beam::quanting
        (check-beam-slope-sign comparison)      
        ))