X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faxis-group-engraver.cc;h=b2bf4532ba3779c6571fa96b4c4380e3554cfd33;hb=b950bfac562447bf1870db4bfcbaa9ecbd3e1c0e;hp=d80bbde8538f58d195559d27724a45288b048809;hpb=358d6e99ada8019268ade9ba9080b2d0d88eeb7a;p=lilypond.git diff --git a/lily/axis-group-engraver.cc b/lily/axis-group-engraver.cc index d80bbde853..b2bf4532ba 100644 --- a/lily/axis-group-engraver.cc +++ b/lily/axis-group-engraver.cc @@ -1,9 +1,20 @@ /* - axis-group-engraver.cc -- implement Axis_group_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1999--2010 Han-Wen Nienhuys - (c) 1999--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 "axis-group-engraver.hh" @@ -19,10 +30,15 @@ Axis_group_engraver::Axis_group_engraver () { - must_be_last_ = true; staffline_ = 0; } +bool +Axis_group_engraver::must_be_last () const +{ + return true; +} + void Axis_group_engraver::process_music () { @@ -40,10 +56,6 @@ Axis_group_engraver::get_spanner () return make_spanner ("VerticalAxisGroup", SCM_EOL); } -/* - TODO: should we junk minimumVerticalExtent/extraVerticalExtent ? -*/ - void Axis_group_engraver::finalize () { @@ -101,9 +113,16 @@ Axis_group_engraver::add_element (Grob *e) ADD_ACKNOWLEDGER (Axis_group_engraver, grob); ADD_TRANSLATOR (Axis_group_engraver, - /* doc */ "Group all objects created in this context in a VerticalAxisGroup spanner.", - /* create */ "VerticalAxisGroup", + /* doc */ + "Group all objects created in this context in a" + " @code{VerticalAxisGroup} spanner.", + + /* create */ + "VerticalAxisGroup ", + /* read */ "currentCommandColumn ", - /* write */ ""); + /* write */ + "" + );