/**
Connect two noteheads.
*/
-class Tie : public Bow {
- virtual void do_add_processing();
- virtual void do_post_processing();
- virtual void set_default_dir();
- virtual void do_substitute_dependency(Score_elem*,Score_elem*);
-
+class Tie : public Bow
+{
public:
+ Tie ();
+ void set_head (Direction, Note_head*head_l);
+
+ DECLARE_MY_RUNTIME_TYPEINFO;
+ SCORE_ELEM_CLONE(Tie);
+
bool same_pitch_b_;
- Note_head * left_head_l_;
- Note_head * right_head_l_;
- void set_head(int, Note_head*head_l);
+ Drul_array<Note_head *> head_l_drul_;
- Tie();
- NAME_MEMBERS();
- SPANNER_CLONE(Tie)
+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;
};
#endif // TIE_HH