]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/span-score-bar.hh
f42205b38e9377c98f81051222eab4caa2ac6afc
[lilypond.git] / lily / include / span-score-bar.hh
1 /*
2   span-score-bar.hh -- declare Span_score_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_SCORE_BAR_HH
11 #define SPAN_SCORE_BAR_HH
12
13 #include "span-bar.hh"
14 #include "score-bar.hh"
15
16 class Span_score_bar : public Span_bar, public Score_bar
17 {
18 public:
19   DECLARE_MY_RUNTIME_TYPEINFO;
20   SCORE_ELEM_CLONE(Span_score_bar);
21   Span_score_bar();
22 protected:
23   virtual void do_pre_processing();
24 };
25
26
27 class Piano_brace : public Span_score_bar
28 {
29 public:
30   DECLARE_MY_RUNTIME_TYPEINFO;
31   SCORE_ELEM_CLONE(Piano_brace);
32 protected:
33   virtual Interval do_width() const;
34   virtual Atom get_bar_sym (Real) const;
35 };
36
37 class Staff_bracket : public Span_score_bar
38 {
39 public:
40   DECLARE_MY_RUNTIME_TYPEINFO;
41   SCORE_ELEM_CLONE(Staff_bracket);
42 protected:
43   virtual Interval do_width() const;
44   virtual Atom get_bar_sym (Real) const;
45 };
46
47 #endif // SPAN_SCORE_BAR_HH