X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-spacing.hh;h=9503c610ec4b59cb90094e6e29355e8d9cda8dc9;hb=9ae52034113dcfbbc98fd7a0f8075ca3ea2cf3c9;hp=9b3010facd31c74b11229d10b21d9811c4c8714c;hpb=75eebcb49e52d296b1da3e1074e0825d2c780db4;p=lilypond.git diff --git a/lily/include/staff-spacing.hh b/lily/include/staff-spacing.hh index 9b3010facd..9503c610ec 100644 --- a/lily/include/staff-spacing.hh +++ b/lily/include/staff-spacing.hh @@ -3,22 +3,24 @@ source file of the GNU LilyPond music typesetter - (c) 2001--2006 Han-Wen Nienhuys + (c) 2001--2007 Han-Wen Nienhuys */ #ifndef STAFF_SPACING_HH #define STAFF_SPACING_HH #include "lily-proto.hh" +#include "grob-interface.hh" +#include "spring.hh" class Staff_spacing { -public: - static void next_notes_correction (Grob *, Grob *, Real *, Real *); - static void next_note_correction (Grob *, Grob *, Interval, Real*, Real *); - static bool has_interface (Grob *); - static void get_spacing_params (Grob *, Real *, Real *); + static Real optical_correction (Grob *, Grob *, Interval); + static Real next_notes_correction (Grob *, Grob *); +public: + DECLARE_GROB_INTERFACE(); + static Spring get_spacing (Grob *, Grob *right_col); static Interval bar_y_positions (Grob *); };