]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/directional-spanner.hh
release: 1.3.4
[lilypond.git] / lily / include / directional-spanner.hh
1 /*
2   directional-spanner.hh -- part of GNU LilyPond
3
4   (c) 1996--1999 Han-Wen Nienhuys
5 */
6
7 #ifndef DIRECTIONALSPANNER_HH
8 #define DIRECTIONALSPANNER_HH
9
10 #include "spanner.hh"
11 #include "directional-element.hh"
12
13 /** a spanner which can be pointing "up" or "down".
14
15     JUNKME?
16  */
17 class Directional_spanner : public Spanner, public Directional_element {
18 public:
19   
20   /// offset of "center" relative to left-column/0-pos of staff
21   virtual Offset center() const;
22   virtual Direction get_default_dir() const;
23 protected:
24   virtual void do_pre_processing();
25 };
26
27 #endif // DIRECTIONALSPANNER_HH
28