]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rod.hh
* The grand 2005-2006 replace.
[lilypond.git] / lily / include / rod.hh
index c71b6b3484ebc52a8147622ed2b1669fd46df37c..163ae847d5d37750ff5aab051cf0f5adcd0b6146 100644 (file)
@@ -1,37 +1,31 @@
-/*   
+/*
   rod.hh -- declare Rod, Column_rod
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.ruu.nl>
-  
- */
+
+  (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef ROD_HH
 #define ROD_HH
+
 #include "lily-proto.hh"
-#include "direction.hh"
 #include "drul-array.hh"
 
-struct Column_rod {
-  Paper_column *other_l_;
-  Real distance_f_;
-
-  Column_rod ();
-  static int compare (const Column_rod &r1, const Column_rod &r2);
-  void print () const;
-};
-
 struct Rod
 {
-  Drul_array <Item*> item_l_drul_;
-  Real distance_f_;
+  Drul_array<Item *> item_drul_;
+  Real distance_;
+
+  /**
+     translate the rod so as to refer to Paper_columns
+  */
+  void columnize ();
+
   void add_to_cols ();
 
-  Rod (Single_malt_grouping_item*,Single_malt_grouping_item*);
   Rod ();
 };
 
-
 #endif /* ROD_HH */