]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bow.hh
release: 1.0.1
[lilypond.git] / lily / include / bow.hh
index e483c36ac2786bfe4c88d15d66b9d907c6b7298f..107cff07892b91a1229bf4537a735b05278ac8d5 100644 (file)
@@ -3,29 +3,39 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef BOW_HH
 #define BOW_HH
+
 #include "directional-spanner.hh"
+#include "curve.hh"
 
 /**
   Base class for anything that looks like a slur.
   Anybody with a better name?
   */
-class Bow : public Directional_spanner {
-protected:
-    int left_pos_i_;
-    int right_pos_i_;
-    Real left_dx_f_;
-    Real right_dx_f_;
-    
-    Molecule*brew_molecule_p()const;
+class Bow : public Directional_spanner
+{
 public:
-    Bow();
-    DECLARE_MY_RUNTIME_TYPEINFO;
-    Offset center() const;  
+  Bow ();
+  Offset center () const;  
+
+  DECLARE_MY_RUNTIME_TYPEINFO;
+
+  int dash_i_;
+
+protected:
+  virtual Molecule* brew_molecule_p () const;
+  virtual Interval do_width () const;    
+  Array<Offset> get_controls () const;
+  virtual Array<Offset> get_encompass_offset_arr () const;
+  virtual Interval do_height () const;
+
+  Drul_array<Real> dy_f_drul_;
+  Drul_array<Real> dx_f_drul_;
 };
+
 #endif // BOW_HH