]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/hyphen-spanner.hh
trem fix
[lilypond.git] / lily / include / hyphen-spanner.hh
index 24c1ab7299341db65e37a79142f07179858204fb..f4ed165ccf8d92e0a6116bf3eacfe05b118c91f0 100644 (file)
@@ -9,30 +9,14 @@
 
 #include "spanner.hh"
 
-/** 
-  centred hyphen 
-
-  A centred hyphen is a simple line between lyrics used to
-  divide syllables.
-
-  The length of the hyphen line should stretch based on the
-  size of the gap between syllables.
-  */
-class Hyphen_spanner : public Spanner
+struct Hyphen_spanner 
 {
 public:
-  Hyphen_spanner (SCM);
-  void set_textitem (Direction, Item*);
-
-protected:
-  virtual Molecule do_brew_molecule () const;
-  Interval do_height () const;
-
-  void after_line_breaking ();
-  VIRTUAL_COPY_CONS (Score_element);
-
-  Drul_array<Real> dx_f_drul_;
+  Spanner* elt_l_;
+  Hyphen_spanner (Spanner*);
+  void set_textitem (Direction, Grob*);
+  bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
 };
 
 #endif // HYPHEN_SPANNER_HH