lilypond-0.1.16
[lilypond.git] / lily / include / span-bar.hh
blob136564678f483a9d3e90ef6e28a0458f2a3f6109
1 /*
2 span-bar.hh -- declare Span_bar
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef SPAN_BAR_HH
11 #define SPAN_BAR_HH
13 #include "bar.hh"
15 class Span_bar : public Bar
17 Link_array<Bar> spanning_l_arr_;
19 public:
20 Span_bar();
21 DECLARE_MY_RUNTIME_TYPEINFO;
22 SCORE_ELEM_CLONE(Span_bar);
23 void add (Bar*);
24 void set (Vertical_align_element *);
26 protected:
27 virtual Interval do_width() const;
28 virtual void do_pre_processing();
30 virtual void do_substitute_dependency (Score_elem*,Score_elem*);
31 virtual Molecule * brew_molecule_p() const;
32 virtual Atom get_bar_sym (Real dy) const;
35 #endif // SPAN_BAR_HH