X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=lily%2Finclude%2Fspaceable-grob.hh;h=71768b7cb37421726e59cd981721c6302b2eac91;hb=48ddc05527f9894f322bcb8becd94110ba446291;hp=5625bfd61e7e66d2d7319aba512b79eef813c999;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/lily/include/spaceable-grob.hh b/lily/include/spaceable-grob.hh index 5625bfd61e..71768b7cb3 100644 --- a/lily/include/spaceable-grob.hh +++ b/lily/include/spaceable-grob.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2000--2007 Han-Wen Nienhuys + (c) 2000--2009 Han-Wen Nienhuys */ #ifndef SPACEABLE_GROB_HH @@ -11,13 +11,14 @@ #include "lily-proto.hh" #include "grob-interface.hh" +#include "spring.hh" struct Spaceable_grob { /// set a minimum distance static void add_rod (Grob *me, Grob *to, Real distance); - static void add_spring (Grob *me, Grob *to, Real dist, Real strength); - static void get_spring (Grob *me, Grob *other, Real *dist, Real *inv_strength); + static void add_spring (Grob *me, Grob *to, Spring sp); + static Spring get_spring (Grob *me, Grob *other); DECLARE_GROB_INTERFACE(); static SCM get_minimum_distances (Grob *);