]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
patch::: 1.1.26.jcn2: fixjes
[lilypond.git] / lily / include / slur.hh
1 /*
2   slur.hh -- part of GNU LilyPond
3
4   (c) 1996--1998 Han-Wen Nienhuys
5 */
6
7 #ifndef SLUR_HH
8 #define SLUR_HH
9
10 #include "bow.hh"
11 #include "rod.hh"
12
13 /**
14   A #Bow# which tries to drape itself around the stems too.
15  */
16 class Slur : public Bow
17 {
18 public:
19   Slur ();
20   VIRTUAL_COPY_CONS(Score_element);
21
22   void add_column (Note_column*);
23   
24   Link_array<Note_column> encompass_arr_;
25
26 protected:
27   virtual Array<Offset> get_encompass_offset_arr () 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_element*, Score_element*);
34   virtual Interval do_width () const;
35   Array<Rod> get_rods () const;
36 };
37
38 #endif // SLUR_HH
39
40