]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-bar.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / span-bar.hh
1 /*
2   span-bar.hh -- declare Span_bar
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef SPAN_BAR_HH
10 #define SPAN_BAR_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14
15 /**
16    This is a barline that is spanned across other bar lines.  This is
17    the implementation of the long barlines that occur in orchestral
18    score and other multi-staff music.
19 */
20 class Span_bar
21 {
22 public:
23
24   DECLARE_GROB_INTERFACE();
25   static Interval get_spanned_interval (Grob *);
26   static void add_bar (Grob *, Grob *);
27   static void evaluate_glyph (Grob *);
28   DECLARE_SCHEME_CALLBACK (width, (SCM smob));
29   DECLARE_SCHEME_CALLBACK (calc_bar_size, (SCM));
30   DECLARE_SCHEME_CALLBACK (print, (SCM));
31   DECLARE_SCHEME_CALLBACK (calc_glyph_name, (SCM));
32   DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
33   DECLARE_SCHEME_CALLBACK (center_on_spanned_callback, (SCM element));
34 };
35
36 #endif // SPAN_BAR_HH