-#include "lily-guile.hh"
-
-struct Align_interface {
- DECLARE_SCHEME_CALLBACK(alignment_callback, (SCM element, SCM axis));
- static void do_side_processing (Grob*,Axis a);
- static void set_axis (Grob*,Axis);
- static Axis axis (Grob*) ;
- static void add_element (Grob*,Grob*);
- static int get_count (Grob*,Grob*);
- static void set_interface (Grob*);
- static bool has_interface (Grob*);
- DECLARE_SCHEME_CALLBACK(center_on_element, (SCM element, SCM axis));
+#include "std-vector.hh"
+#include "grob-interface.hh"
+
+struct Align_interface
+{
+ DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM));
+ DECLARE_SCHEME_CALLBACK (stretch_after_break, (SCM element));
+ DECLARE_SCHEME_CALLBACK (calc_max_stretch, (SCM));
+ static void stretch (Grob *, Real amount, Axis a);
+ static void align_elements_to_extents (Grob *, Axis a);
+ static vector<Real> get_extents_aligned_translates (Grob *, vector<Grob*> const&,
+ Axis a,
+ bool safe, int start, int end);
+ static int stretchable_children_count (Grob const*);
+ static void set_ordered (Grob *);
+ static Axis axis (Grob *);
+ static void add_element (Grob *, Grob *);
+ static int get_count (Grob *, Grob *);
+
+ DECLARE_GROB_INTERFACE();
+
+ static Real get_pure_child_y_translation (Grob *, Grob *child, int start, int end);