X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-spacing.hh;h=593c59af23d2b7ee8ff8e79b1b7a2d9fe7d7c1be;hb=38d7d319eabc906e82fb42002678c6d42a23b6f7;hp=75cb644eed5a7992f27dea4e9c8eb4720fe8a9fb;hpb=16c174dd8fc82d6fdde10af1077cc3e0bfc08b22;p=lilypond.git diff --git a/lily/include/staff-spacing.hh b/lily/include/staff-spacing.hh index 75cb644eed..593c59af23 100644 --- a/lily/include/staff-spacing.hh +++ b/lily/include/staff-spacing.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2001--2006 Han-Wen Nienhuys + (c) 2001--2009 Han-Wen Nienhuys */ #ifndef STAFF_SPACING_HH @@ -11,15 +11,16 @@ #include "lily-proto.hh" #include "grob-interface.hh" +#include "spring.hh" class Staff_spacing { + static Real optical_correction (Grob *, Grob *, Interval); + static Real next_notes_correction (Grob *, Grob *); + public: - static void next_notes_correction (Grob *, Grob *, Real, Real, Real *, Real *); - static void next_note_correction (Grob *, Grob *, Interval, Real, Real, Real*, Real *, int *); DECLARE_GROB_INTERFACE(); - static void get_spacing_params (Grob *, Real *, Real *); - + static Spring get_spacing (Grob *, Grob *right_col); static Interval bar_y_positions (Grob *); };