]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/piano-brace.hh
release: 1.0.1
[lilypond.git] / lily / include / piano-brace.hh
1 /*   
2   piano-brace.hh -- declare Piano_brace
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef PIANO_BRACE_HH
11 #define PIANO_BRACE_HH
12
13 #include "span-score-bar.hh"
14
15 class Piano_brace : public Span_score_bar
16 {
17 public:
18   DECLARE_MY_RUNTIME_TYPEINFO;
19   SCORE_ELEMENT_CLONE(Piano_brace);
20
21   /** make room for Staff_bracket.  Ugh.  Should use some kind of
22     relation thingy.  */
23   Real extra_move_left_f_;
24   Piano_brace ();
25 protected:
26   virtual Interval do_width() const;
27   virtual void do_post_processing();
28   virtual Atom get_bar_sym (Real) const;
29 };
30
31
32 #endif /* PIANO_BRACE_HH */
33