X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspanner.hh;h=a5ecd3dae92c451a259a45b2fa92f2702d63c651;hb=6233e12249f74e19aff5ee5afa66e81c0f8b7259;hp=79032dfb305c2d52dc2eef5f3d057e52565240c7;hpb=5af7cd44435fd26fade6e700a3912630e1553a87;p=lilypond.git diff --git a/lily/include/spanner.hh b/lily/include/spanner.hh index 79032dfb30..a5ecd3dae9 100644 --- a/lily/include/spanner.hh +++ b/lily/include/spanner.hh @@ -39,9 +39,16 @@ is absolutely necessary for beams, since they have to adjust the length of stems of notes they encompass. */ -class Spanner : public Grob + +struct Preinit_Spanner { Drul_array spanned_drul_; + SCM pure_property_cache_; + Preinit_Spanner (); +}; + +class Spanner : Preinit_Spanner, public Grob +{ vsize break_index_; DECLARE_CLASSNAME (Spanner); @@ -82,8 +89,6 @@ public: void cache_pure_property (SCM sym, int start, int end, SCM value); protected: - SCM pure_property_cache_; - void set_my_columns (); virtual Grob *clone () const; virtual void do_break_processing ();