]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 1.3.29
[lilypond.git] / lily / include / tie.hh
index d983e164911541245158cfa297d6f9bca5f477b5..53dc0733ec0d2c2c8110d6c1683a85d9e877a965 100644 (file)
@@ -3,35 +3,45 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef TIE_HH
 #define TIE_HH
 
-#include "bow.hh"
+#include "spanner.hh"
+#include "rod.hh"
 
 /**
   Connect two noteheads.
   */
-class Tie : public Bow
+class Tie : public Spanner
 {
 public:
-    Tie ();
-    void set_head (Direction, Note_head*head_l);
+  Tie ();
+  void set_head (Direction, Item*head_l);
+  VIRTUAL_COPY_CONS(Score_element);
 
-    DECLARE_MY_RUNTIME_TYPEINFO;
-    SCORE_ELEM_CLONE(Tie);
-
-    bool same_pitch_b_;
-    Drul_array<Note_head *> head_l_drul_;
+  Note_head* head (Direction) const;
+  Real position_f () const;
+  
+  virtual Direction get_default_dir() const;
 
 protected:
-    virtual void do_add_processing ();
-    virtual void do_post_processing ();
-    virtual void set_default_dir();
-    virtual void do_substitute_dependency (Score_elem*,Score_elem*);
-    Array<Offset> get_controls () const;
+  virtual Molecule do_brew_molecule () const;
+  virtual Array<Offset> get_encompass_offset_arr () const;
+  Bezier get_curve () const;
+
+  Drul_array<Real> dy_f_drul_;
+  Drul_array<Real> dx_f_drul_;
+
+  virtual void do_add_processing ();
+  virtual void do_post_processing ();
+
+  virtual Array<Rod> get_rods () const;
+
+  Array<Offset> get_controls () const;
 };
+
 #endif // TIE_HH