source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "time-signature-engraver.hh"
#include "time-signature.hh"
#include "command-request.hh"
#include "timing-engraver.hh"
-#include "engraver-group.hh"
+#include "engraver-group-engraver.hh"
Time_signature_engraver::Time_signature_engraver()
{
if (!result)
{
- warning (_ ("lost in time") + ": " + _ ("can't find")
- + " Timing_translator");
+ warning (_ ("lost in time:"));
+ warning (_f ("Can't find: `%s'", " Timing_translator"));
return ;
}
time_signature_p_ = new Time_signature ();
time_signature_p_->args_ = args;
- time_signature_p_->break_priority_i_ = 1; // ugh
+ time_signature_p_->set_elt_property (break_priority_scm_sym, gh_int2scm (1)); // 1
}
{
if (time_signature_p_)
{
- Scalar sigstyle = get_property ("timeSignatureStyle");
- if (sigstyle.length_i ())
- {
- time_signature_p_->time_sig_type_str_ = sigstyle;
- }
typeset_element (time_signature_p_);
time_signature_p_ =0;