From: fred Date: Sat, 21 Dec 1996 13:50:07 +0000 (+0000) Subject: lilypond-0.0.20 X-Git-Tag: release/1.5.59~6519 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a251db1d993cdd75a61093b9ae1959570b2335f9;p=lilypond.git lilypond-0.0.20 --- diff --git a/hdr/directionalspanner.hh b/hdr/directionalspanner.hh new file mode 100644 index 0000000000..3c734b3474 --- /dev/null +++ b/hdr/directionalspanner.hh @@ -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 +