]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hyphen-spanner.cc
updates
[lilypond.git] / lily / hyphen-spanner.cc
index ce66513274429169ca7d2f7386d6311429bf9613..16c31b5d8aa7be9607229e1695e3e47e81606579 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999 Glen Prideaux <glenprideaux@iname.com>
+  (c)  1999--2003 Glen Prideaux <glenprideaux@iname.com>
 
  (adapted from lyric-extender)
 */
@@ -45,7 +45,7 @@ Hyphen_spanner::brew_molecule (SCM smob)
     }
   while (flip (&d) != LEFT);
   
-  Real lt = sp->paper_l ()->get_var ("stafflinethickness");
+  Real lt = sp->get_paper ()->get_var ("linethickness");
   Real th = gh_scm2double (sp->get_grob_property ("thickness")) * lt ;
   Real h = gh_scm2double (sp->get_grob_property ("height"));
 
@@ -80,7 +80,7 @@ Hyphen_spanner::brew_molecule (SCM smob)
          the offset for stuff */
       /* This test for being on the first column has been shamelessly
          ripped from spanner.cc */
-      Paper_column *sc = dynamic_cast<Paper_column*> (sp->get_bound (LEFT)->column_l ());
+      Paper_column *sc = dynamic_cast<Paper_column*> (sp->get_bound (LEFT)->get_column ());
       if (sc != NULL &&
          sc->break_status_dir () == RIGHT)
        {
@@ -105,13 +105,13 @@ Hyphen_spanner::brew_molecule (SCM smob)
 void
 Hyphen_spanner::set_textitem (Direction d, Grob* b)
 {
-  elt_l_->set_bound (d, b);
-  elt_l_->add_dependency (b);
+  elt_->set_bound (d, b);
+  elt_->add_dependency (b);
 }
 
 Hyphen_spanner::Hyphen_spanner (Spanner*s)
 {
-  elt_l_ = s;
+  elt_ = s;
 }