2 text-reg.cc -- implement Text_register
4 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 #include "musicalrequest.hh"
11 Text_register::Text_register()
14 set_feature(Features::dir(0));
15 post_move_processing();
19 Text_register::try_request(Request
*req_l
)
24 Text_req::compare(*req_l
->text(), *text_req_l_
))
28 text_req_l_
= req_l
->text();
33 Text_register::process_requests()
37 text_p_
= new Text_item(text_req_l_
, 10); // UGH
38 announce_element(Staff_elem_info(text_p_
, text_req_l_
));
42 Text_register::pre_move_processing()
45 text_p_
->dir_i_
= dir_i_
;
46 typeset_element(text_p_
);
51 Text_register::set_feature(Features i
)
53 dir_i_
= i
.direction_i_
;
56 Text_register::post_move_processing()