lilypond-1.1.55
[lilypond.git] / lily / pitch-squash-grav.cc
bloba11b61b29e8f6676fdf135501b2bd6a562967888
1 /*
2 pitch-squash-grav.cc -- implement Pitch_squash_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
8 */
10 #include "pitch-squash-grav.hh"
11 #include "note-head.hh"
13 void
14 Pitch_squash_engraver::acknowledge_element (Score_elem_info i)
16 if (i.elem_l_->is_type_b (Note_head::static_name ()))
18 Note_head * nl = (Note_head*)i.elem_l_->item ();
19 nl->position_i_ =0;
23 ADD_THIS_TRANSLATOR (Pitch_squash_engraver);
24 IMPLEMENT_IS_TYPE_B1(Pitch_squash_engraver, Engraver);