X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspaceable-grob.hh;h=f7ae552f8402636dbf3b275e834fc29f2accceec;hb=e28fc62d28b63167f2506f91b0df3eb319adef40;hp=573be0337f24fcf544ff2e8d63a6cd83ed434c5c;hpb=44ad1d66c072e4d6545e75c769c86a460cb1df13;p=lilypond.git diff --git a/lily/include/spaceable-grob.hh b/lily/include/spaceable-grob.hh index 573be0337f..f7ae552f84 100644 --- a/lily/include/spaceable-grob.hh +++ b/lily/include/spaceable-grob.hh @@ -3,25 +3,24 @@ source file of the GNU LilyPond music typesetter - (c) 2000--2006 Han-Wen Nienhuys + (c) 2000--2007 Han-Wen Nienhuys */ #ifndef SPACEABLE_GROB_HH #define SPACEABLE_GROB_HH -#include "lily-guile.hh" #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 void remove_interface (Grob *); static SCM get_minimum_distances (Grob *); static SCM get_ideal_distances (Grob *); };