]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/hyphen-spanner.hh
patch::: 1.3.96.jcn9
[lilypond.git] / lily / include / hyphen-spanner.hh
index 3086facc32154c0fff6b4f2705c67e5a44034c42..8d8b90f4835c01150c20871cc60c45927a1eeac9 100644 (file)
@@ -9,30 +9,13 @@
 
 #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 ();
-  void set_textitem (Direction, Item*);
-
-protected:
-  virtual Molecule* do_brew_molecule_p () const;
-  Interval do_height () const;
-
-  void do_post_processing ();
-  VIRTUAL_COPY_CONS (Score_element);
-
-  Drul_array<Real> dx_f_drul_;
+  Spanner* elt_l_;
+  Hyphen_spanner  (Spanner*);
+  void set_textitem (Direction, Score_element*);
+  DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
 };
 
 #endif // HYPHEN_SPANNER_HH