]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-bar.hh
release: 1.1.28
[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   Interval get_spanned_interval () const;
19 public:
20   Real extra_x_off_;
21   bool no_width_b_;
22   Span_bar();
23     
24   VIRTUAL_COPY_CONS(Score_element);
25   void add_bar (Bar*);
26   void set_align (Align_element *);
27
28 protected:
29   void evaluate_empty ();
30   virtual Interval do_width() const;
31   virtual void do_pre_processing();
32   virtual void do_post_processing();
33   virtual Interval do_height () const;
34   virtual void do_substitute_dependency (Score_element*,Score_element*);
35   virtual Molecule * do_brew_molecule_p() const;
36 };
37
38 #endif // SPAN_BAR_HH