lilypond-0.1.35
[lilypond.git] / src / staff-elem-info.cc
blob9a6283e373a34a982da3db9925e74ab3c6460a5b
1 /*
2 staff-elem-info.cc -- implement Staff_elem_info
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "staff-elem-info.hh"
10 #include "request.hh"
12 Staff_elem_info::Staff_elem_info(Staff_elem*s_l, Request*r_l)
14 elem_p_ = s_l;
15 voice_l_ = (r_l)?r_l->voice_l():0;
16 req_l_ = r_l;
19 Staff_elem_info::Staff_elem_info()
21 elem_p_ = 0;
22 voice_l_ = 0;
24 req_l_ = 0;
27 Features::Features()
29 direction_i_ = 0;
30 initialiser_b_ = false;
33 Features
34 Features::dir(int d) return f;
36 f.initialiser_b_ = true;
37 f.direction_i_ = d;