]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-column.cc
nested grace beams
[lilypond.git] / lily / tie-column.cc
index fa588acdcfe67ff1397d194bf9c7a990b02576f7..e364bf7f03299582d7394b9b869d70903e5c7577 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 
 
 
-void
-Tie_column::set_interface (Grob*me)
-{
-  me->set_interface (ly_symbol2scm ("tie-column-interface"));
-  me->set_extent_callback (SCM_EOL, X_AXIS);
-  me->set_extent_callback (SCM_EOL, Y_AXIS) ; 
-}
 
-bool
-Tie_column::has_interface (Grob*me)
-{
-  return  me->has_interface (ly_symbol2scm ("tie-column-interface"));
-}
 
 
 /*
@@ -122,3 +110,10 @@ Tie_column::after_line_breaking (SCM smob)
   set_directions (unsmob_grob (smob));
   return SCM_UNSPECIFIED;
 }
+
+
+
+ADD_INTERFACE (Tie_column,"tie-column-interface",
+  "that sets tie directions in a tied chord",
+  "direction");
+