summaryrefslogtreecommitdiff
path: root/lily/include/rod.hh
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>1998-03-17 09:53:34 +0100
committerHan-Wen Nienhuys <hanwen@xs4all.nl>1998-03-17 09:53:34 +0100
commit1ff8f1c7e0baac008490e9e62995df70e0ed5128 (patch)
treeec70ff19b457c9ccf9c48e67521ac82987ac8ae2 /lily/include/rod.hh
parent01d5d50e2a794048c518679b2718891fe91c4cfa (diff)
release: 0.1.52
Diffstat (limited to 'lily/include/rod.hh')
-rw-r--r--lily/include/rod.hh37
1 files changed, 37 insertions, 0 deletions
diff --git a/lily/include/rod.hh b/lily/include/rod.hh
new file mode 100644
index 0000000000..42509d453e
--- /dev/null
+++ b/lily/include/rod.hh
@@ -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 */
+