]> git.donarmstrong.com Git - lilypond.git/blob - hdr/directionalspanner.hh
release: 0.0.20
[lilypond.git] / hdr / directionalspanner.hh
1 /*
2   directionalspanner.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef DIRECTIONALSPANNER_HH
8 #define DIRECTIONALSPANNER_HH
9
10 #include "spanner.hh"
11
12 struct Directional_spanner : Spanner{
13     
14     /// -1 below heads, +1 above heads.
15     int dir;
16
17     /// offset of "center" relative to left-column/0-pos of staff
18     virtual Offset center() const=0;
19     virtual void set_default_dir()=0;
20     Directional_spanner();
21     
22 };
23
24 #endif // DIRECTIONALSPANNER_HH
25