]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-bar.hh
release: 1.0.1
[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@cs.uu.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_element> spanning_l_arr_;
18
19 public:
20     Span_bar();
21     DECLARE_MY_RUNTIME_TYPEINFO;
22     SCORE_ELEMENT_CLONE(Span_bar);
23     virtual Span_bar* access_Span_bar ();
24     void add_bar (Bar*);
25     void set_align (Align_element *);
26
27 protected:
28     void evaluate_empty ();
29     virtual Interval do_width() const;
30     virtual void do_pre_processing();
31     virtual void do_post_processing();
32     
33     virtual void do_substitute_dependency (Score_element*,Score_element*);
34     virtual Molecule * brew_molecule_p() const;
35     virtual Atom get_bar_sym (Real dy) const;
36 };
37
38 #endif // SPAN_BAR_HH