]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bow.hh
release: 0.1.58
[lilypond.git] / lily / include / bow.hh
index 88f96bc4297a20ff10b45a026c164e5af2d936b8..ffa9db31a4cdd2336436ec7cc8935f627ad6b181 100644 (file)
@@ -9,23 +9,30 @@
 
 #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:
-  Drul_array<Real> dy_f_drul_;
-  Drul_array<Real> dx_f_drul_;
+class Bow : public Directional_spanner
+{
+public:
+  Bow ();
+  Offset center () const;  
+
+  DECLARE_MY_RUNTIME_TYPEINFO;
 
+protected:
   virtual Molecule* brew_molecule_p () const;
-  virtual Real height_f () const;
+  virtual Interval do_width () const;    
+  Array<Offset> get_controls () const;
+  virtual Array<Offset> get_encompass_offset_arr () const;
 
-public:
-  Bow();
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  Offset center() const;  
+  Drul_array<Real> dy_f_drul_;
+  Drul_array<Real> dx_f_drul_;
 };
+
 #endif // BOW_HH