]> git.donarmstrong.com Git - lilypond.git/blob - hdr/slur.hh
release: 0.0.18
[lilypond.git] / hdr / slur.hh
1 /*
2   slur.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef SLUR_HH
8 #define SLUR_HH
9
10 #include "spanner.hh"
11 #include "fproto.hh"
12 #include "vray.hh"
13
14 struct Slur : Spanner {
15
16     svec<Notehead*> encompass;
17     int dir;
18
19     bool open_left,open_right;                  
20
21     /****************/
22
23     void print()const;    
24     void preprocess();
25     void add(Notehead*);
26     void set_default_dir();
27     Interval height() const;
28     Spanner* broken_at( PCol*, PCol*) const;
29     void process();
30 private:
31     void brew_molecule();
32 };
33
34 #endif // SLUR_HH
35
36