source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef CRESCENDO_HH
#define CRESCENDO_HH
-#include "spanner.hh"
+#include "lily-guile.hh"
/**
- The hairpin symbol. (cresc)
-
- (normal spanner?)
+ The hairpin symbol.
*/
-class Crescendo : public Spanner {
+struct Crescendo
+{
public:
- int grow_dir_;
-
- /// if there is a dynamic at the end, make the sign smaller.
- Drul_array<bool> dyn_b_drul_;
-
- Crescendo();
-protected:
- VIRTUAL_COPY_CONS(Score_element);
- virtual Molecule*do_brew_molecule_p() const;
-
-private:
- Molecule get_symbol() const;
+ DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
+ static bool has_interface (Score_element*);
};
#endif // CRESCENDO_HH