lilypond-0.0.50
[lilypond.git] / lily / include / crescendo.hh
blobcb6b159ad770c9545a1447d3ed4a16ab4cd6911d
1 /*
2 crescendo.hh -- declare Crescendo
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef CRESCENDO_HH
11 #define CRESCENDO_HH
13 #include "spanner.hh"
14 /**
15 The hairpin symbol. (cresc)
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_;
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);
34 #endif // CRESCENDO_HH