]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
release: 0.0.39-1
[lilypond.git] / lily / include / slur.hh
1 /*
2   slur.hh -- part of LilyPond
3
4   (c) 1996,97 Han-Wen Nienhuys
5 */
6
7 #ifndef SLUR_HH
8 #define SLUR_HH
9
10 #include "directional-spanner.hh"
11 #include "fproto.hh"
12 #include "varray.hh"
13
14 struct Slur : Directional_spanner {
15
16     Array<Notehead*> encompass;
17
18     bool open_left, open_right;                 
19
20     /* *************** */
21     Offset center() const;
22     Slur();
23     void do_post_processing();
24     void do_pre_processing();
25     void add(Notehead*);
26     void set_default_dir();
27
28     Spanner* do_break_at( PCol*, PCol*) const;
29     void process();
30 private:
31     Molecule*brew_molecule_p()const;
32     NAME_MEMBERS(Slur);
33 };
34
35 #endif // SLUR_HH
36
37