X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbow.hh;h=58f7d5fb2cd552888afd5a0d7e3d277c167248dc;hb=d1965f31e75a5e1e9faeb995ef2d37ce5fb3ff85;hp=e483c36ac2786bfe4c88d15d66b9d907c6b7298f;hpb=6dc4e4d14a67f65f337ec1a06466e748c68dcad5;p=lilypond.git diff --git a/lily/include/bow.hh b/lily/include/bow.hh index e483c36ac2..58f7d5fb2c 100644 --- a/lily/include/bow.hh +++ b/lily/include/bow.hh @@ -3,29 +3,41 @@ source file of the GNU LilyPond music typesetter - (c) 1997 Han-Wen Nienhuys + (c) 1997--1999 Han-Wen Nienhuys */ #ifndef BOW_HH #define BOW_HH + #include "directional-spanner.hh" +#include "curve.hh" /** Base class for anything that looks like a slur. Anybody with a better name? + + UGH. Fixme. Should junk + + dy_f_drul_ , dx_f_drul_ + */ -class Bow : public Directional_spanner { -protected: - int left_pos_i_; - int right_pos_i_; - Real left_dx_f_; - Real right_dx_f_; - - Molecule*brew_molecule_p()const; +class Bow : public Directional_spanner +{ public: - Bow(); - DECLARE_MY_RUNTIME_TYPEINFO; - Offset center() const; + Bow (); + Offset center () const; + +protected: + virtual Molecule* do_brew_molecule_p () const; + // virtual Interval do_width () const; + Array get_controls () const; + virtual Array get_encompass_offset_arr () const; + virtual Interval do_height () const; + Drul_array curve_extent_drul () const; + + Drul_array dy_f_drul_; + Drul_array dx_f_drul_; }; + #endif // BOW_HH