X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpiano-pedal-bracket.cc;h=40ebbaef7df5a7b638286cff96f2b10a8c654086;hb=3d5e7223a0ff02119c18f0be39873647bf686d3b;hp=baffc8fe98aee8d763fa225b99d1185fda3f998b;hpb=22c694d0c1eabc17fbe314edc1ecaebb808a3c03;p=lilypond.git diff --git a/lily/piano-pedal-bracket.cc b/lily/piano-pedal-bracket.cc index baffc8fe98..40ebbaef7d 100644 --- a/lily/piano-pedal-bracket.cc +++ b/lily/piano-pedal-bracket.cc @@ -1,9 +1,20 @@ /* - piano-pedal-bracket.cc -- implement Piano_pedal_bracket + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2003--2011 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 "stencil.hh" @@ -14,7 +25,7 @@ struct Piano_pedal_bracket { DECLARE_SCHEME_CALLBACK (print, (SCM)); - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE (); }; MAKE_SCHEME_CALLBACK (Piano_pedal_bracket, print, 1); @@ -90,15 +101,13 @@ Piano_pedal_bracket::print (SCM smob) } ADD_INTERFACE (Piano_pedal_bracket, - "piano-pedal-bracket-interface", - - "The bracket of the piano pedal. " - "It can be tuned through the regular " - "bracket properties.", + "The bracket of the piano pedal. It can be tuned through" + " the regular bracket properties.", - /* props */ + /* properties */ "bound-padding " "edge-height " "shorten-pair " "bracket-flare " - "pedal-text"); + "pedal-text " + );