2 score-align-reg.cc -- implement Score_align_register
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #include "elem-group-item.hh"
11 #include "score-align-reg.hh"
14 Score_align_register::Score_align_register()
22 Score_align_register::do_pre_move_processing()
25 typeset_breakable_item( align_p_
);
31 Score_align_register::acknowledge_element(Score_elem_info inf
)
33 if (inf
.elem_l_
->name() == type_ch_C_
) {
36 align_p_
= new Horizontal_group_item
;
37 announce_element(Score_elem_info(align_p_
,0));
40 align_p_
->add_element(inf
.elem_l_
);
44 IMPLEMENT_STATIC_NAME(Score_align_register
)
45 IMPLEMENT_IS_TYPE_B1(Score_align_register
,Request_register
);