]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-bar.hh
release: 0.1.61
[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--1998 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 virtual Bar
16 {
17     Link_array<Score_elem> spanning_l_arr_;
18
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 *);
25
26 protected:
27     virtual Interval do_width() const;
28     virtual void do_pre_processing();
29     
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;
33 };
34
35 #endif // SPAN_BAR_HH