2 collision-reg.cc -- implement Collision_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
9 #include "note-column.hh"
10 #include "collision-grav.hh"
11 #include "collision.hh"
14 Collision_engraver::acknowledge_element (Score_elem_info i
)
16 if (i
.elem_l_
->is_type_b (Note_column::static_name ()))
18 Note_column
* c
= (Note_column
*) i
.elem_l_
->item ();
23 col_p_
= new Collision
;
24 announce_element (Score_elem_info (col_p_
,0));
30 Collision_engraver::do_pre_move_processing()
34 typeset_element (col_p_
);
38 Collision_engraver::Collision_engraver()
44 IMPLEMENT_IS_TYPE_B1(Collision_engraver
,Engraver
);
45 ADD_THIS_TRANSLATOR(Collision_engraver
);