]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/crescendo.hh
0b62f658102dde03cd4fb64e3c987c9c8a783ebc
[lilypond.git] / lily / include / crescendo.hh
1 /*
2   crescendo.hh -- declare Crescendo
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 CRESCENDO_HH
11 #define CRESCENDO_HH
12
13 #include "staff-side.hh"
14 #include "spanner.hh"
15 /**
16   The hairpin symbol. (cresc)
17  */
18 class Crescendo : public Spanner , public Staff_side {
19 public:
20   int grow_dir_;
21     
22   /// if there is a dynamic at the end, make the sign smaller.
23   Drul_array<bool> dyn_b_drul_;
24
25   Crescendo();
26 protected:
27   SCORE_ELEM_CLONE(Crescendo);
28   virtual Molecule*brew_molecule_p() const;
29   virtual Interval symbol_height() const;
30   DECLARE_MY_RUNTIME_TYPEINFO;
31     
32 private:
33   Atom get_symbol() const;
34 };
35
36 #endif // CRESCENDO_HH