]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 1.3.70
[lilypond.git] / lily / include / tie.hh
index a60577109a7d09ee279c5e643442aa1596650f28..422a9fa375b33162a944323a4da3e4ed812f135d 100644 (file)
@@ -3,35 +3,43 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.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);
-
-    DECLARE_MY_RUNTIME_TYPEINFO;
-    SCORE_ELEMENT_CLONE(Tie);
-
-    bool same_pitch_b_;
-    Drul_array<Note_head *> head_l_drul_;
-
-protected:
-    virtual void do_add_processing ();
-    virtual void do_post_processing ();
-    virtual void set_default_dir();
-    virtual void do_substitute_dependency (Score_element*,Score_element*);
-    Array<Offset> get_controls () const;
+  Tie (SCM);
+  static void set_head (Score_element*,Direction, Item*head_l);
+  static void set_interface (Score_element*);
+  static bool has_interface (Score_element*);
+  VIRTUAL_COPY_CONS(Score_element);
+  static Score_element * head (Score_element*,Direction) ;
+  static Real position_f (Score_element*) ;
+  static SCM brew_molecule (SCM);
+  static Direction get_default_dir(Score_element*) ;
+  static SCM after_line_breaking (SCM);
+
+
+  /*
+    JUNKME
+   */
+  Array<Offset> get_encompass_offset_arr () const;
+  Bezier get_curve () const;
+  Drul_array<Real> dy_f_drul_;
+  Drul_array<Real> dx_f_drul_;
+  static SCM set_spacing_rods (SCM);
+  Array<Offset> get_controls () const;
 };
+
 #endif // TIE_HH