]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-bar.hh
release: 0.0.76
[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 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef SPAN_BAR_HH
11 #define SPAN_BAR_HH
12
13 #include "bar.hh"
14
15 class Span_bar : public Bar
16 {
17     Link_array<Bar> spanning_l_arr_;
18
19 public:
20     NAME_MEMBERS();
21     SCORE_ELEM_CLONE(Span_bar);
22     void add(Bar* );
23     void set( Vertical_align_element *);
24
25 protected:
26     virtual Interval do_width()const;
27     virtual void do_pre_processing();
28     virtual void translate_y(Real y);
29     
30     virtual void do_substitute_dependency(Score_elem*,Score_elem*);
31     virtual Molecule * brew_molecule_p()const;
32     virtual Symbol get_bar_sym(Real dy) const;
33 };
34
35 #endif // SPAN_BAR_HH