]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/crescendo.hh
release: 0.0.78
[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 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_i_;
21     
22 /// if there is a dynamic at the end, make the sign smaller.
23     bool right_dyn_b_;
24
25     /// if there is a dynamic at the end, make the sign smaller.
26     bool left_dyn_b_;
27     Crescendo();
28 protected:
29     SCORE_ELEM_CLONE(Crescendo);
30     virtual Molecule*brew_molecule_p()const;
31     virtual Interval symbol_height()const;
32     DECLARE_MY_RUNTIME_TYPEINFO;
33     
34 private:
35     Symbol get_symbol()const;
36     
37 };
38
39 #endif // CRESCENDO_HH