]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 17 Oct 2005 15:59:36 +0000 (15:59 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 17 Oct 2005 15:59:36 +0000 (15:59 +0000)
lily/grob-array-scheme.cc
lily/line-spanner.cc
scm/define-grobs.scm
scm/define-music-properties.scm

index 89aba0afb978268010716b370af4e7cd6a1829d7..e408a39b36ccf20c43e54c55b9ba8fbac1398038 100644 (file)
@@ -33,7 +33,7 @@ LY_DEFINE (ly_grob_array_ref, "ly:grob-array-ref",
   int i = scm_to_int (index);
   if (i < 0 || i >= me->size ())
     {
-      scm_out_of_range (NULL, scm_from_size_t (i)); 
+      scm_out_of_range (NULL, scm_from_int (i)); 
     }
   
   return me->grob (i)->self_scm ();
index 5b8d2fefcf51522f9a721f6295b97a6c21175fdd..5013e406dfa04e48475febd3b5518243a21f4e11 100644 (file)
@@ -283,8 +283,8 @@ Line_spanner::print (SCM smob)
        {
          Axis ax = (Axis)a;
          dxy[ax]
-           = + bound[RIGHT]->extent (common[X_AXIS], ax).center ()
-           - bound[LEFT]->extent (common[X_AXIS], ax).center ();
+           = + robust_relative_extent (bound[RIGHT], common[X_AXIS], ax).center ()
+           - robust_relative_extent (bound[LEFT], common[X_AXIS], ax).center ();
 
          my_off[ax] = me->relative_coordinate (common[a], ax);
          his_off[ax] = bound[LEFT]->relative_coordinate (common[a], ax);
index fd23168585c70dff34ecc9887bcd5691c2b30c68..14a2015655580bbad18edbdfb447d213a825902a 100644 (file)
 
     (GridLine
      . (
-       (callbacks . (stencil . ,Grid_line_interface::print))
+       (callbacks . ((stencil . ,Grid_line_interface::print)))
        (X-extent-callback  . ,Grid_line_interface::width_callback)
        (self-alignment-X . ,CENTER)
        (X-offset-callbacks . (,Self_alignment_interface::aligned_on_self
index 95c89a8480153ee8525dcd903aae8faa58258967..58d7eea429ee4d955171de30c9a442f4f65cb6c3 100644 (file)
@@ -60,6 +60,7 @@ descend in the context tree.")
      (length-callback ,procedure? "How to compute the duration of this music. This property
 can only be defined as initializer in @file{define-music-types.scm}.")
      (name ,symbol? "Name of this music object")
+     (no-continuation ,boolean? "If set, disallow continuation lines")
      (numerator ,integer? "numerator of a time signature")
      (once ,boolean? "Apply this operation only during one time step?")
      (octavation ,integer?