]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/crescendo.hh
partial: 0.1.61.jcn
[lilypond.git] / lily / include / crescendo.hh
index 858cd44075eead6b053368adb255f836436eb5da..6c8a9df8054fefa9b77a52d5b6af0cebe7075ac4 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"
-
-class Crescendo : public Spanner {
-    int staff_size_i_;
+/**
+  The hairpin symbol. (cresc)
+ */
+class Crescendo : public Spanner , public Staff_side {
 public:
-    int grow_dir_i_;
-    int dir_i_;
-    Crescendo(int staff_size_i);
+  int grow_dir_;
+    
+  /// if there is a dynamic at the end, make the sign smaller.
+  Drul_array<bool> dyn_b_drul_;
+
+  Crescendo();
+protected:
+  SCORE_ELEM_CLONE(Crescendo);
+  virtual Molecule*brew_molecule_p() const;
+  virtual Interval symbol_height() const;
+  DECLARE_MY_RUNTIME_TYPEINFO;
+    
 private:
-    Spanner* do_break_at( PCol*, PCol*) const;
-    Molecule*brew_molecule_p()const;
-    NAME_MEMBERS(Crescendo);
+  Atom get_symbol() const;
 };
 
 #endif // CRESCENDO_HH