]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.20
authorfred <fred>
Sun, 22 Dec 1996 21:09:37 +0000 (21:09 +0000)
committerfred <fred>
Sun, 22 Dec 1996 21:09:37 +0000 (21:09 +0000)
hdr/textspanner.hh [new file with mode: 0644]
src/template5.cc [new file with mode: 0644]

diff --git a/hdr/textspanner.hh b/hdr/textspanner.hh
new file mode 100644 (file)
index 0000000..6a0aa3e
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+  textspanner.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef TEXTSPANNER_HH
+#define TEXTSPANNER_HH
+
+#include "string.hh"
+#include "directionalspanner.hh"
+
+/// a spanner which puts texts on top of other spanners.
+struct Text_spanner : Spanner {
+    int align;
+    String text;
+    String style;
+    Directional_spanner*support;
+    /****************/
+    virtual    void process();
+    virtual    void preprocess();
+    virtual    Interval height() const;
+    virtual Spanner* broken_at(PCol*,PCol*)const;
+    Text_spanner(Directional_spanner*);
+};
+/**
+  Use for triplets, eentweetjes, ottava, etc.
+  */
+
+#endif // TEXTSPANNER_HH
+
diff --git a/src/template5.cc b/src/template5.cc
new file mode 100644 (file)
index 0000000..2d278a4
--- /dev/null
@@ -0,0 +1,8 @@
+#include "proto.hh"
+#include "string.hh"
+#include "moment.hh"
+#include "real.hh"
+#include "interval.cc"
+
+Interval__instantiate(Real);
+Interval__instantiate(Rational);