]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/system-start-delimiter-engraver.cc
* lily/parser.yy (relative_music): whoops. All \relative were off
[lilypond.git] / lily / system-start-delimiter-engraver.cc
index bb2eac76cfcd94488661fa3ff9675043d4ad16ac..b2a621a3dda24c07aeb0d4c344b2170352180ecf 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -32,31 +32,31 @@ protected:
 void
 System_start_delimiter_engraver::acknowledge_grob (Grob_info inf)
 {
-  if (Staff_symbol::has_interface (inf.grob_l_))
+  if (Staff_symbol::has_interface (inf.grob_))
     {
       /*
        don't add as Axis_group_interface::add_element (delim_,),
        because that would set the parent as well */
          
-      Pointer_group_interface::add_grob (delim_, ly_symbol2scm ("elements"),  inf.grob_l_);
+      Pointer_group_interface::add_grob (delim_, ly_symbol2scm ("elements"),  inf.grob_);
     }
-  else if (System_start_delimiter::has_interface (inf.grob_l_))
+  else if (System_start_delimiter::has_interface (inf.grob_))
     {
-      SCM gl = inf.grob_l_->get_grob_property ("glyph");
+      SCM gl = inf.grob_->get_grob_property ("glyph");
       SCM my_gl = delim_->get_grob_property ("glyph");
 
       /*
        UGH UGH
        */
-      if (gh_string_p (gl) && gh_equal_p (gl, ly_str02scm  ("brace"))
-         && gh_string_p (my_gl) && gh_equal_p (my_gl, ly_str02scm  ("bracket")))
-       inf.grob_l_->translate_axis (-0.8, X_AXIS); // ugh
-      else if (gh_string_p (gl) && gh_equal_p (gl, ly_str02scm  ("bracket"))
-              && gh_string_p (my_gl) && gh_equal_p (my_gl, ly_str02scm  ("bracket")))
+      if (gh_string_p (gl) && gh_equal_p (gl, scm_makfrom0str  ("brace"))
+         && gh_string_p (my_gl) && gh_equal_p (my_gl, scm_makfrom0str  ("bracket")))
+       inf.grob_->translate_axis (-0.8, X_AXIS); // ugh
+      else if (gh_string_p (gl) && gh_equal_p (gl, scm_makfrom0str  ("bracket"))
+              && gh_string_p (my_gl) && gh_equal_p (my_gl, scm_makfrom0str  ("bracket")))
        {
-         inf.grob_l_->translate_axis ( -0.8, X_AXIS); // ugh
-         inf.grob_l_->set_grob_property ("arch-height",
-           gh_double2scm(gh_scm2double(inf.grob_l_->get_grob_property
+         inf.grob_->translate_axis ( -0.8, X_AXIS); // ugh
+         inf.grob_->set_grob_property ("arch-height",
+           gh_double2scm(gh_scm2double(inf.grob_->get_grob_property
                                        ("arch-height"))+0.5));
        }
     }
@@ -87,6 +87,7 @@ System_start_delimiter_engraver::finalize ()
 ENTER_DESCRIPTION(System_start_delimiter_engraver,
 /* descr */       "Creates a system start delimiter (ie. SystemStart@{Bar,Brace,Bracket@} spanner",
 /* creats*/       "SystemStartBar SystemStartBrace SystemStartBracket",
-/* acks  */       "system-start-delimiter-interface staff-symbol-interface",
+/* accepts */     "",
+/* acks  */      "system-start-delimiter-interface staff-symbol-interface",
 /* reads */       "systemStartDelimiter",
 /* write */       "");