summaryrefslogtreecommitdiff
path: root/stem.hh
diff options
context:
space:
mode:
Diffstat (limited to 'stem.hh')
-rw-r--r--stem.hh31
1 files changed, 31 insertions, 0 deletions
diff --git a/stem.hh b/stem.hh
new file mode 100644
index 0000000000..039bc5182c
--- /dev/null
+++ b/stem.hh
@@ -0,0 +1,31 @@
+/*
+ stem.hh -- part of LilyPond
+
+ (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef STEM_HH
+#define STEM_HH
+#include "item.hh"
+
+struct Stem : public Item {
+ // heads the stem encompasses (positions)
+ int minnote, maxnote;
+
+ int staff_center;
+
+ // extent of the stem (positions)
+ int bot, top;
+
+ // flagtype? 4 none, 8 8th flag, 0 = beam.
+ int flag;
+
+
+ /****************/
+ void brew_molecole();
+ void calculate();
+ Stem(int center);
+ void print() const;
+ Interval width() const;
+};
+#endif