]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/align-interface.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / align-interface.hh
1 /*
2   align-interface.hh -- declare Align_interface
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef ALIGN_INTERFACE_HH
10 #define ALIGN_INTERFACE_HH
11
12 #include "lily-proto.hh"
13 #include "lily-guile.hh"
14
15 struct Align_interface
16 {
17   DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM));
18   DECLARE_SCHEME_CALLBACK (stretch_after_break, (SCM element));
19   static void align_to_fixed_distance (Grob *, Axis a);
20   static void align_elements_to_extents (Grob *, Axis a);
21   static void set_ordered (Grob *);
22   static Axis axis (Grob *);
23   static void add_element (Grob *, Grob *);
24   static int get_count (Grob *, Grob *);
25
26   static bool has_interface (Grob *);
27 };
28
29 Grob *find_fixed_alignment_parent (Grob *g);
30
31 #endif /* ALIGN_INTERFACE_HH */
32