#define SPACING_SPANNER_HH
#include "lily-proto.hh"
-#include "lily-guile.hh"
#include "rational.hh"
#include "std-vector.hh"
#include "grob-interface.hh"
-struct Spacing_options
-{
- bool packed_;
- bool stretch_uniformly_;
- bool float_nonmusical_columns_;
- bool float_grace_columns_;
- Rational global_shortest_;
- Real increment_;
- Real shortest_duration_space_;
-
- Spacing_options();
- void init_from_grob (Grob *me);
- Real get_duration_space (Rational d, bool *) const;
-};
-
/*
TODO: prune to public interface.
*/
class Spacing_spanner
+
{
public:
+ static void set_distances_for_loose_col (Grob *me, Grob *c, Drul_array<Item *> next_door, Spacing_options const *);
static void generate_pair_spacing (Grob *me,
Paper_column *l, Paper_column *r,
Paper_column *nextr,