]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/self-alignment-interface.hh
Uniformize, internalize.
[lilypond.git] / lily / include / self-alignment-interface.hh
1 /*   
2   side-position-interface.hh -- declare Side_position_interface
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef SELF_ALIGNMENT_INTERFACE_HH
11 #define SELF_ALIGNMENT_INTERFACE_HH
12
13 #include "spanner.hh"
14
15 struct Self_alignment_interface
16 {
17   static bool has_interface (Grob*);
18   DECLARE_SCHEME_CALLBACK (aligned_on_self, (SCM element, SCM axis));
19   DECLARE_SCHEME_CALLBACK (centered_on_parent, (SCM element, SCM axis));
20   DECLARE_SCHEME_CALLBACK (aligned_on_parent, (SCM element, SCM axis));
21   DECLARE_SCHEME_CALLBACK (centered_on_other_axis_parent, (SCM element, SCM axis));
22 };
23 #endif