From: fred Date: Sun, 22 Dec 1996 21:09:37 +0000 (+0000) Subject: lilypond-0.0.20 X-Git-Tag: release/1.5.59~6497 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5d5ef0430da3503246b6413f93c57a5354a46e89;p=lilypond.git lilypond-0.0.20 --- diff --git a/hdr/textspanner.hh b/hdr/textspanner.hh new file mode 100644 index 0000000000..6a0aa3e761 --- /dev/null +++ b/hdr/textspanner.hh @@ -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 index 0000000000..2d278a4fce --- /dev/null +++ b/src/template5.cc @@ -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);