~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to lily/include/self-alignment-interface.hh

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*   
 
1
/*
2
2
  side-position-interface.hh -- declare Side_position_interface
3
 
  
 
3
 
4
4
  source file of the GNU LilyPond music typesetter
5
 
  
6
 
  (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7
 
  
8
 
 */
 
5
 
 
6
  (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
7
*/
9
8
 
10
9
#ifndef SELF_ALIGNMENT_INTERFACE_HH
11
10
#define SELF_ALIGNMENT_INTERFACE_HH
14
13
 
15
14
struct Self_alignment_interface
16
15
{
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));
 
16
  static bool has_interface (Grob *);
 
17
 
 
18
  static SCM aligned_on_self (Grob *me, Axis a);
 
19
  static SCM centered_on_object (Grob *me, Axis a);
 
20
  static SCM aligned_on_parent (Grob *me, Axis a);
 
21
  static void set_center_parent (Grob *me, Axis a);
 
22
  static void set_align_self (Grob *me, Axis a);
 
23
  
 
24
  DECLARE_SCHEME_CALLBACK (x_aligned_on_self, (SCM element));
 
25
  DECLARE_SCHEME_CALLBACK (y_aligned_on_self, (SCM element));
 
26
 
 
27
  DECLARE_SCHEME_CALLBACK (centered_on_x_parent, (SCM element));
 
28
  DECLARE_SCHEME_CALLBACK (centered_on_y_parent, (SCM element));
 
29
  DECLARE_SCHEME_CALLBACK (x_centered_on_y_parent, (SCM element));
 
30
 
 
31
  DECLARE_SCHEME_CALLBACK (aligned_on_x_parent, (SCM element));
 
32
  DECLARE_SCHEME_CALLBACK (aligned_on_y_parent, (SCM element));
22
33
};
23
34
#endif