lilypond-1.3.145
[lilypond.git] / hdr / directional-spanner.hh
blob9399b71c4dde32dbee19ca4519e7b9b2aca55700
1 /*
2 directional-spanner.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef DIRECTIONALSPANNER_HH
8 #define DIRECTIONALSPANNER_HH
10 #include "spanner.hh"
12 /// a spanner which can be pointing "up" or "down"
13 struct Directional_spanner : Spanner{
15 /// -1 below heads, +1 above heads.
16 int dir_i_;
18 /// offset of "center" relative to left-column/0-pos of staff
19 virtual Offset center() const=0;
20 virtual void set_default_dir()=0;
21 Directional_spanner();
25 #endif // DIRECTIONALSPANNER_HH