]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/directional-spanner.hh
release: 1.3.13
[lilypond.git] / lily / include / directional-spanner.hh
index c96676cbc7c2bc87de38c51644752836af2609ce..779a5ed9f4eee8572bef6988aaf7405193372379 100644 (file)
@@ -8,21 +8,18 @@
 #define DIRECTIONALSPANNER_HH
 
 #include "spanner.hh"
+#include "directional-element.hh"
 
 /** a spanner which can be pointing "up" or "down".
 
-    JUNKME?
+    JUNKME
  */
-class Directional_spanner : public Spanner{
+class Directional_spanner : public Spanner, public Directional_element {
 public:
-    
-  /// -1 below heads, +1 above heads.
-  Direction dir_;
-  Directional_spanner();
-    
   /// offset of "center" relative to left-column/0-pos of staff
-  virtual Offset center() const;
-  virtual void set_default_dir();
+  //  virtual Offset center() const;
+  virtual Direction get_default_dir() const;
+  VIRTUAL_COPY_CONS(Score_element);
 protected:
   virtual void do_pre_processing();
 };