source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-
-#include "pitch-squash-engraver.hh"
+#include "staff-symbol-referencer.hh"
#include "note-head.hh"
+#include "pitch-squash-engraver.hh"
+#include "rhythmic-head.hh"
void
Pitch_squash_engraver::acknowledge_element (Score_element_info i)
{
- if (Note_head *nh = dynamic_cast<Note_head *> (i.elem_l_))
+ if (Note_head::has_interface (i.elem_l_))
{
- nh->set_position(0);
+ Staff_symbol_referencer::set_position (i.elem_l_,0);
}
}