]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/crescendo.hh
patch::: 1.3.96.jcn9
[lilypond.git] / lily / include / crescendo.hh
index 915094e1dc83625f905fb8137e6e72f127e22542..c487894bc2c558198be4cc94f1433a771b7d7939 100644 (file)
@@ -1,35 +1,24 @@
 /*
   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--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef CRESCENDO_HH
 #define CRESCENDO_HH
 
-#include "staff-side.hh"
-#include "spanner.hh"
+#include "lily-guile.hh"
 /**
-  The hairpin symbol. (cresc)
+  The hairpin symbol. 
  */
-class Crescendo : public Spanner , public Staff_side {
-
+struct Crescendo
+{
 public:
-    int grow_dir_i_;
-    
-/// 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);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
+  static bool has_interface (Score_element*);
 };
 
 #endif // CRESCENDO_HH