]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/crescendo.hh
release: 1.1.45
[lilypond.git] / lily / include / crescendo.hh
index 998c1669ee022b48abaac3496683c23cf441d66e..f0364a2c037126c366d77722c38b52cd650ab838 100644 (file)
@@ -3,35 +3,31 @@
 
   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 {
+class Crescendo : public Spanner {
 public:
-    int grow_dir_i_;
+  int grow_dir_;
     
-/// 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.
+  Drul_array<bool> dyn_b_drul_;
 
-    /// if there is a dynamic at the end, make the sign smaller.
-    bool left_dyn_b_;
-    Crescendo();
+  Crescendo();
 protected:
-    SCORE_ELEM_CLONE(Crescendo);
-    virtual Molecule*brew_molecule_p()const;
-    NAME_MEMBERS();
+  VIRTUAL_COPY_CONS(Score_element);
+  virtual Molecule*do_brew_molecule_p() const;
     
 private:
-    
+  Molecule get_symbol() const;
 };
 
 #endif // CRESCENDO_HH