]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bow.hh
release: 1.2.14
[lilypond.git] / lily / include / bow.hh
index e483c36ac2786bfe4c88d15d66b9d907c6b7298f..58f7d5fb2cd552888afd5a0d7e3d277c167248dc 100644 (file)
@@ -3,29 +3,41 @@
 
   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 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?
+
+  UGH. Fixme.  Should junk
+
+    dy_f_drul_ , dx_f_drul_
+  
   */
-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;  
+
+protected:
+  virtual Molecule* do_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<Interval> curve_extent_drul () const;
+
+  Drul_array<Real> dy_f_drul_;
+  Drul_array<Real> dx_f_drul_;
 };
+
 #endif // BOW_HH