]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/crescendo.hh
release: 0.0.46.jcn1
[lilypond.git] / lily / include / crescendo.hh
1 /*
2   crescendo.hh -- declare Crescendo
3
4   source file of the 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 "spanner.hh"
14 /**
15   The hairpin symbol. (cresc)
16  */
17 class Crescendo : public Spanner {
18     int staff_size_i_;
19 public:
20     int grow_dir_i_;
21     int dir_i_;
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(int staff_size_i);
28 private:
29     Spanner* do_break_at( PCol*, PCol*) const;
30     Molecule*brew_molecule_p()const;
31     NAME_MEMBERS(Crescendo);
32 };
33
34 #endif // CRESCENDO_HH