]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/crescendo.hh
release: 0.0.75
[lilypond.git] / lily / include / crescendo.hh
index cb6b159ad770c9545a1447d3ed4a16ab4cd6911d..0ebf499cdf55e4a029ab2676758c8e6b5d91d62e 100644 (file)
@@ -1,7 +1,7 @@
 /*
   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>
 */
 #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();
+protected:
+    SCORE_ELEM_CLONE(Crescendo);
+    virtual Molecule*brew_molecule_p()const;
+    virtual Interval symbol_height()const;
+    NAME_MEMBERS();
+    
 private:
-    Spanner* do_break_at( PCol*, PCol*) const;
-    Molecule*brew_molecule_p()const;
-    NAME_MEMBERS(Crescendo);
+    Symbol get_symbol()const;
+    
 };
 
 #endif // CRESCENDO_HH