]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rod.cc
patch::: 1.1.39.jcn1: jcn1
[lilypond.git] / lily / rod.cc
index 1b2ae4f824e0e24e475e35fa8f2dff6e663c8bb1..8f3cdc92608aca449f37d4ddb50fee9a6076b890 100644 (file)
@@ -3,29 +3,16 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 #include "rod.hh"
 #include "p-col.hh"
 #include "debug.hh"
+#include "dimensions.hh"
 #include "single-malt-grouping-item.hh"
-#include "dimension.hh"
 
 
-Rod::Rod (Single_malt_grouping_item *l, Single_malt_grouping_item *r)
-{
-  item_l_drul_[LEFT] =l;
-  item_l_drul_[RIGHT]=r;
-
-  Interval li (l->my_width ());
-  Interval ri (r->my_width ());
-  if (li.empty_b () || ri.empty_b ())
-    distance_f_ = 0;
-  else
-    distance_f_ = li[RIGHT] - ri[LEFT] + 1.5 PT; // ugh
-}
-         
 Rod::Rod ()
 {
   distance_f_ = 0.0;