source file of the GNU LilyPond music typesetter
- (c) 1997--1999 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);
+ 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);
-
- Drul_array<Note_head *> head_l_drul_;
-protected:
- virtual void do_add_processing ();
- virtual void do_post_processing ();
- virtual Direction get_default_dir() const;
- virtual void do_substitute_element_pointer (Score_element*,Score_element*);
- virtual Array<Rod> get_rods () const;
-
+ 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;
};