X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbow.hh;h=c6b946e87b284c80c769374cdc57939cf4f84cef;hb=f1baf9749eb3315b6f58622e084fc34295bccea7;hp=76330c079c44121a0e5005438d63c1a6c8c6bbc5;hpb=04f01c7e890bd4f1b358378e5911fb7c117c3802;p=lilypond.git diff --git a/lily/include/bow.hh b/lily/include/bow.hh index 76330c079c..c6b946e87b 100644 --- a/lily/include/bow.hh +++ b/lily/include/bow.hh @@ -3,29 +3,39 @@ 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? */ -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(); - NAME_MEMBERS(Bow); - Offset center() const; + Bow (); + Offset center () const; + + int dash_i_; + Real interstaff_f_; + Drul_array vertical_align_drul_; + +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 dy_f_drul_; + Drul_array dx_f_drul_; }; + #endif // BOW_HH