]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
release: 0.1.57
[lilypond.git] / lily / include / slur.hh
1 /*
2   slur.hh -- part of GNU 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 "lily-proto.hh"
12 #include "parray.hh"
13 #include "bow.hh"
14 #include "curve.hh"
15
16 /**
17   A #Bow# which tries to drape itself around the stems too.
18  */
19 class Slur : public Bow {
20 public:
21   Link_array<Note_column> encompass_arr_;
22   void add (Note_column*);
23
24 protected:
25   virtual Molecule* brew_molecule_p () const;
26   Array<Offset> get_notes () const;
27   Array<Offset> get_controls () const;
28
29   virtual void set_default_dir();
30   virtual void do_post_processing();
31   virtual void do_add_processing ();
32   virtual void do_pre_processing ();
33   virtual void do_substitute_dependency (Score_elem*, Score_elem*);
34   virtual Real height_f () const;
35
36   SCORE_ELEM_CLONE(Slur);
37   DECLARE_MY_RUNTIME_TYPEINFO;
38 };
39
40 #endif // SLUR_HH
41
42