X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffigured-bass-continuation.cc;h=7fd868c559293bf550ca2c8224118f6799645db7;hb=3ef09ea5cf542f2443113e4004b0e3928f319567;hp=d6b6f2002bb2be583fd2ff6ae14d1894d99bd4e5;hpb=bbcb58184883768ca35d64451d7f693d2db11bb7;p=lilypond.git diff --git a/lily/figured-bass-continuation.cc b/lily/figured-bass-continuation.cc index d6b6f2002b..7fd868c559 100644 --- a/lily/figured-bass-continuation.cc +++ b/lily/figured-bass-continuation.cc @@ -1,14 +1,24 @@ /* - figured-bass-continuation.cc -- implement Figured_bass_continuation + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2011 Han-Wen Nienhuys - (c) 2005--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 "line-interface.hh" -#include "lily-guile.hh" #include "spanner.hh" #include "output-def.hh" #include "item.hh" @@ -21,11 +31,11 @@ struct Figured_bass_continuation { - static bool has_interface (Grob*); + DECLARE_GROB_INTERFACE (); public: - DECLARE_SCHEME_CALLBACK(print, (SCM)); - DECLARE_SCHEME_CALLBACK(center_on_figures, (SCM)); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (center_on_figures, (SCM)); }; MAKE_SCHEME_CALLBACK (Figured_bass_continuation, center_on_figures, 1); @@ -81,11 +91,10 @@ Figured_bass_continuation::print (SCM grob) return extender.smobbed_copy (); } -ADD_INTERFACE(Figured_bass_continuation, - "figured-bass-continuation-interface", +ADD_INTERFACE (Figured_bass_continuation, "Simple extender line between bounds.", - /* props */ + /* properties */ "thickness " "padding " "figures "