]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/directional-spanner.hh
release: 1.3.5
[lilypond.git] / lily / include / directional-spanner.hh
index b93d830f32124102c1565bcf4a031f0f51eace6f..e268b20b925e79238a8e708b07a62caaf0a5a343 100644 (file)
@@ -8,20 +8,20 @@
 #define DIRECTIONALSPANNER_HH
 
 #include "spanner.hh"
+#include "directional-element.hh"
 
-/// a spanner which can be pointing "up" or "down"
-class Directional_spanner : public Spanner{
+/** a spanner which can be pointing "up" or "down".
+
+    JUNKME
+ */
+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();
+  /// offset of "center" relative to left-column/0-pos of staff
+  virtual Offset center() const;
+  virtual Direction get_default_dir() const;
+  VIRTUAL_COPY_CONS(Score_element);
 protected:
-    virtual void do_pre_processing();
+  virtual void do_pre_processing();
 };
 
 #endif // DIRECTIONALSPANNER_HH