X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Farpeggio-engraver.cc;h=19f635f7f1f28f9829880f618bfddebd838a2ff9;hb=288456fe3fe04dd089aa53c2fc2435ddd33b4801;hp=0528f71d9f576b644c3cd730c17e26b6903e5fee;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/lily/arpeggio-engraver.cc b/lily/arpeggio-engraver.cc index 0528f71d9f..19f635f7f1 100644 --- a/lily/arpeggio-engraver.cc +++ b/lily/arpeggio-engraver.cc @@ -1,9 +1,20 @@ /* - arpeggio-engraver.cc -- implement Arpeggio_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2000--2012 Jan Nieuwenhuizen - (c) 2000--2007 Jan Nieuwenhuizen + 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 "engraver.hh" @@ -26,7 +37,6 @@ public: void acknowledge_stem (Grob_info); void acknowledge_rhythmic_head (Grob_info); - void acknowledge_note_column (Grob_info); protected: void process_music (); void stop_translation_timestep (); @@ -54,11 +64,11 @@ Arpeggio_engraver::acknowledge_stem (Grob_info info) if (arpeggio_) { if (!arpeggio_->get_parent (Y_AXIS)) - arpeggio_->set_parent (info.grob (), Y_AXIS); + arpeggio_->set_parent (info.grob (), Y_AXIS); Pointer_group_interface::add_grob (arpeggio_, - ly_symbol2scm ("stems"), - info.grob ()); + ly_symbol2scm ("stems"), + info.grob ()); } } void @@ -73,13 +83,6 @@ Arpeggio_engraver::acknowledge_rhythmic_head (Grob_info info) Side_position_interface::add_support (arpeggio_, info.grob ()); } -void -Arpeggio_engraver::acknowledge_note_column (Grob_info info) -{ - if (arpeggio_) - info.grob ()->set_object ("arpeggio", arpeggio_->self_scm ()); -} - void Arpeggio_engraver::process_music () { @@ -98,10 +101,17 @@ Arpeggio_engraver::stop_translation_timestep () ADD_ACKNOWLEDGER (Arpeggio_engraver, stem); ADD_ACKNOWLEDGER (Arpeggio_engraver, rhythmic_head); -ADD_ACKNOWLEDGER (Arpeggio_engraver, note_column); ADD_TRANSLATOR (Arpeggio_engraver, - /* doc */ "Generate an Arpeggio symbol", - /* create */ "Arpeggio", - /* read */ "", - /* write */ ""); + /* doc */ + "Generate an Arpeggio symbol.", + + /* create */ + "Arpeggio", + + /* read */ + "", + + /* write */ + "" + );