summaryrefslogtreecommitdiff
path: root/lily/include/crescendo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lily/include/crescendo.hh')
-rw-r--r--lily/include/crescendo.hh11
1 files changed, 6 insertions, 5 deletions
diff --git a/lily/include/crescendo.hh b/lily/include/crescendo.hh
index cb6b159ad7..915094e1dc 100644
--- a/lily/include/crescendo.hh
+++ b/lily/include/crescendo.hh
@@ -10,21 +10,22 @@
#ifndef CRESCENDO_HH
#define CRESCENDO_HH
+#include "staff-side.hh"
#include "spanner.hh"
/**
The hairpin symbol. (cresc)
*/
-class Crescendo : public Spanner {
- int staff_size_i_;
+class Crescendo : public Spanner , public Staff_side {
+
public:
int grow_dir_i_;
- int dir_i_;
- /// if there is a dynamic at the end, make the sign smaller.
+
+/// if there is a dynamic at the end, make the sign smaller.
bool right_dyn_b_;
/// if there is a dynamic at the end, make the sign smaller.
bool left_dyn_b_;
- Crescendo(int staff_size_i);
+ Crescendo();
private:
Spanner* do_break_at( PCol*, PCol*) const;
Molecule*brew_molecule_p()const;