2 span-bar.hh -- declare Span_bar
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
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.
20 TODO: Is this usable for other stuff besides barlines? We only have
21 to span a Score_element. Perhaps this can be used for large time
24 class Span_bar : public Bar
26 Interval get_spanned_interval () const;
30 VIRTUAL_COPY_CONS(Score_element);
31 void add_bar (Score_element*);
32 void evaluate_empty ();
34 static Interval width_callback(Score_element const*, Axis) ;
36 virtual Real get_bar_size () const;
37 SCM member_before_line_breaking ();
38 static SCM before_line_breaking (SCM);
39 SCM member_after_line_breaking ();
40 static SCM after_line_breaking (SCM);