/*
crescendo.hh -- declare Crescendo
- source file of the LilyPond music typesetter
+ source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef CRESCENDO_HH
#define CRESCENDO_HH
-#include "staff-side.hh"
#include "spanner.hh"
/**
The hairpin symbol. (cresc)
- */
-class Crescendo : public Spanner , public Staff_side {
+ (normal spanner?)
+ */
+class Crescendo : public Spanner {
public:
- int grow_dir_i_;
+ Crescendo();
+protected:
+ VIRTUAL_COPY_CONS(Score_element);
+ virtual Molecule*do_brew_molecule_p() const;
-/// 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();
private:
- Spanner* do_break_at( PCol*, PCol*) const;
- Molecule*brew_molecule_p()const;
- NAME_MEMBERS(Crescendo);
+ Molecule get_symbol() const;
};
#endif // CRESCENDO_HH