]> git.donarmstrong.com Git - lilypond.git/blob - lily/pitch-squash-engraver.cc
patch::: 1.3.18.jcn1
[lilypond.git] / lily / pitch-squash-engraver.cc
1 /*   
2   pitch-squash-grav.cc --  implement Pitch_squash_engraver
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "staff-symbol-referencer.hh"
11 #include "pitch-squash-engraver.hh"
12 #include "note-head.hh"
13
14 ADD_THIS_TRANSLATOR (Pitch_squash_engraver);
15
16 void
17 Pitch_squash_engraver::acknowledge_element (Score_element_info i)
18 {
19   if (Note_head *nh = dynamic_cast<Note_head *> (i.elem_l_))
20     {
21       Staff_symbol_referencer_interface (nh).set_position(0);
22     }
23 }
24
25