]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.52
authorfred <fred>
Mon, 30 Mar 1998 23:02:19 +0000 (23:02 +0000)
committerfred <fred>
Mon, 30 Mar 1998 23:02:19 +0000 (23:02 +0000)
lily/include/rod.hh [new file with mode: 0644]

diff --git a/lily/include/rod.hh b/lily/include/rod.hh
new file mode 100644 (file)
index 0000000..42509d4
--- /dev/null
@@ -0,0 +1,37 @@
+/*   
+  rod.hh -- declare Rod, Column_rod
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1998 Han-Wen Nienhuys <hanwen@cs.ruu.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_;
+  Direction dir_;
+  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_;
+  void add_to_cols ();
+
+  Rod (Item*,Item*);
+  Rod ();
+};
+
+
+#endif /* ROD_HH */
+