X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie.hh;h=7155dfbba86397d5f4c479ae829969bbc8546bae;hb=92e1eba5a33ba9d295f75e91e22136df9a8318d6;hp=ea1f5f97f3237929198aa6d6cbaef3ba735b2b7e;hpb=0af2486a28f1c60b9de929a9101964d880927e54;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index ea1f5f97f3..7155dfbba8 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -10,36 +10,22 @@ #ifndef TIE_HH #define TIE_HH -#include "spanner.hh" -#include "rod.hh" +#include "lily-guile.hh" +#include "lily-proto.hh" -/** - Connect two noteheads. - */ -class Tie : public Spanner + +class Tie { public: - 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); + DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); static Direction get_default_dir(Score_element*) ; - static SCM after_line_breaking (SCM); - - - /* - JUNKME - */ - Array get_encompass_offset_arr () const; - Bezier get_curve () const; - Drul_array dy_f_drul_; - Drul_array dx_f_drul_; - virtual Array get_rods () const; - Array get_controls () const; + static SCM get_control_points (SCM); + DECLARE_SCHEME_CALLBACK(set_spacing_rods, (SCM )); }; #endif // TIE_HH