]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.20
authorfred <fred>
Sat, 21 Dec 1996 13:50:07 +0000 (13:50 +0000)
committerfred <fred>
Sat, 21 Dec 1996 13:50:07 +0000 (13:50 +0000)
hdr/directionalspanner.hh [new file with mode: 0644]

diff --git a/hdr/directionalspanner.hh b/hdr/directionalspanner.hh
new file mode 100644 (file)
index 0000000..3c734b3
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+  directionalspanner.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef DIRECTIONALSPANNER_HH
+#define DIRECTIONALSPANNER_HH
+
+#include "spanner.hh"
+
+struct Directional_spanner : Spanner{
+    
+    /// -1 below heads, +1 above heads.
+    int dir;
+
+    /// offset of "center" relative to left-column/0-pos of staff
+    virtual Offset center() const=0;
+    virtual void set_default_dir()=0;
+    Directional_spanner();
+    
+};
+
+#endif // DIRECTIONALSPANNER_HH
+