lilypond-0.1.16
[lilypond.git] / lily / include / span-bar-grav.hh
blob87b9911d7d9781f866a3c482cd98cc5b98e2c7fa
1 /*
2 span-bar-grav.hh -- declare Span_bar_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef SPAN_BAR_GRAV_HH
11 #define SPAN_BAR_GRAV_HH
13 #include "engraver.hh"
15 /**
17 Make bars that span multiple "staffs". Catch bars, and span a
18 Span_bar over them if we find more than 2 bars
21 class Span_bar_engraver : public Engraver
23 Span_bar * spanbar_p_;
24 Array<Bar*> bar_l_arr_;
25 Vertical_align_element * valign_l_;
26 public:
27 TRANSLATOR_CLONE(Span_bar_engraver);
28 DECLARE_MY_RUNTIME_TYPEINFO;
30 Span_bar_engraver();
31 protected:
33 virtual void acknowledge_element (Score_elem_info);
34 virtual void do_pre_move_processing();
35 virtual Span_bar* get_span_bar_p() const;
38 #endif // SPAN_BAR_GRAV_HH