]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-spacing.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / staff-spacing.hh
1 /*
2   staff-spacing.hh -- declare Staff_spacing
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2001--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef STAFF_SPACING_HH
10 #define STAFF_SPACING_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14 #include "spring.hh"
15
16 class Staff_spacing
17 {
18   static Real optical_correction (Grob *, Grob *, Interval);
19   static Real next_notes_correction (Grob *, Grob *);
20
21 public:
22   DECLARE_GROB_INTERFACE();
23   static Spring get_spacing (Grob *, Grob *right_col);
24   static Interval bar_y_positions (Grob *);
25 };
26
27 #endif /* STAFF_SPACING_HH */