]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
patch::: 1.1.26.jcn2: fixjes
[lilypond.git] / lily / include / tie.hh
1 /*
2   tie.hh -- declare Tie
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef TIE_HH
11 #define TIE_HH
12
13 #include "bow.hh"
14 #include "rod.hh"
15
16 /**
17   Connect two noteheads.
18   */
19 class Tie : public Bow
20 {
21 public:
22   Tie ();
23   void set_head (Direction, Note_head*head_l);
24   
25   
26   VIRTUAL_COPY_CONS(Score_element);
27   
28   bool same_pitch_b_;
29   Drul_array<Note_head *> head_l_drul_;
30
31 protected:
32   virtual void do_add_processing ();
33   virtual void do_post_processing ();
34   virtual void set_default_dir();
35   virtual void do_substitute_dependency (Score_element*,Score_element*);
36   virtual Interval do_width () const;
37   Array<Rod> get_rods () const;
38
39   Array<Offset> get_controls () const;
40 };
41
42 #endif // TIE_HH