]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.11
authorfred <fred>
Sun, 24 Nov 1996 14:16:48 +0000 (14:16 +0000)
committerfred <fred>
Sun, 24 Nov 1996 14:16:48 +0000 (14:16 +0000)
hdr/slur.hh [new file with mode: 0644]

diff --git a/hdr/slur.hh b/hdr/slur.hh
new file mode 100644 (file)
index 0000000..4335939
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+  slur.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef SLUR_HH
+#define SLUR_HH
+
+#include "spanner.hh"
+#include "fproto.hh"
+#include "vray.hh"
+
+struct Slur : Spanner {
+
+    svec<Notehead*> encompass;
+    int dir;
+
+    bool open_left,open_right;                 
+
+    /****************/
+
+    void print()const;    
+    void preprocess();
+    void add(Notehead*);
+    void set_default_dir();
+    Interval height() const;
+    Spanner* broken_at(const PCol*, const PCol*) const;
+    void process();
+private:
+    void brew_molecule();
+};
+
+#endif // SLUR_HH
+
+