]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
release: 0.1.45
[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
15 /**
16   A #Bow# which tries to drape itself around the stems too.
17  */
18 class Slur : public Bow {
19 public:
20   Link_array<Note_column> encompass_arr_;
21   void add (Note_column*);
22 protected:
23   virtual void set_default_dir();
24   virtual void do_post_processing();
25   virtual void do_add_processing ();
26   virtual void do_pre_processing ();
27   virtual void do_substitute_dependency (Score_elem*, Score_elem*);
28   virtual Real height_f () const;
29
30   SCORE_ELEM_CLONE(Slur);
31   DECLARE_MY_RUNTIME_TYPEINFO;
32 };
33
34 #endif // SLUR_HH
35
36