X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flyric-hyphen.cc;h=978ca8679218140e32d3b05a7903450cd8c6230d;hb=4ec5456c4a16d50f9dc8d09566e0147c1111f671;hp=b6636477c508e7b05f6e19792c1e5cb7deb8b668;hpb=a9c0c06eca7cf482bd550be17e4a4dbdfc7cc22a;p=lilypond.git diff --git a/lily/lyric-hyphen.cc b/lily/lyric-hyphen.cc index b6636477c5..978ca86792 100644 --- a/lily/lyric-hyphen.cc +++ b/lily/lyric-hyphen.cc @@ -1,9 +1,20 @@ /* - hyphen-spanner.cc -- implement Lyric_hyphen + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2003--2010 Han-Wen Nienhuys - (c) 2003--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "lyric-hyphen.hh" @@ -13,6 +24,7 @@ #include "output-def.hh" #include "paper-column.hh" #include "moment.hh" +#include "spanner.hh" /* TODO: should extract hyphen dimensions or hyphen glyph from the @@ -129,13 +141,10 @@ Lyric_hyphen::set_spacing_rods (SCM smob) } ADD_INTERFACE (Lyric_hyphen, + "A centered hyphen is simply a line between lyrics used to" + " divide syllables.", - "lyric-hyphen-interface", - - "A centered hyphen is a simple line between " - "lyrics used to divide syllables", - - /* props */ + /* properties */ "dash-period " "height " "length "