]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tuplet-spanner.hh
release: 1.5.29
[lilypond.git] / lily / include / tuplet-spanner.hh
1 /*
2   plet-spanner.hh -- part of GNU LilyPond
3
4   (c)  1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef Tuplet_bracket_HH
8 #define Tuplet_bracket_HH
9
10 #include "lily-guile.hh"
11
12 /*
13
14     TODO: quantise, we don't want to collide with staff lines.
15  (or should we be above staff?)
16
17   todo: handle breaking elegantly.
18 */
19 class Tuplet_bracket
20 {
21 public:
22   DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
23   static void set_interface (Grob*);  
24   static bool has_interface (Grob*);
25
26   static void add_column (Grob*me,Item*);
27   static void add_beam (Grob*me,Grob*);
28
29   static void calc_dy (Grob*,Real *) ;
30   static void calc_position_and_height (Grob*,Real*,Real *dy);
31   
32   DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
33
34   static Direction get_default_dir (Grob*);
35 };
36
37 #endif // Tuplet_bracket_HH
38