#include "staff-symbol.hh"
#include "group-interface.hh"
#include "paper-column.hh"
-#include "paper-def.hh"
+#include "output-def.hh"
#include "spanner.hh"
class System_start_delimiter_engraver : public Engraver
/*
UGH UGH
*/
- if (is_string (gl) && is_equal (gl, scm_makfrom0str ("brace"))
- && is_string (my_gl) && is_equal (my_gl, scm_makfrom0str ("bracket")))
+ if (scm_is_string (gl) && ly_c_equal_p (gl, scm_makfrom0str ("brace"))
+ && scm_is_string (my_gl) && ly_c_equal_p (my_gl, scm_makfrom0str ("bracket")))
inf.grob_->translate_axis (-0.8, X_AXIS); // ugh
- else if (is_string (gl) && is_equal (gl, scm_makfrom0str ("bracket"))
- && is_string (my_gl) && is_equal (my_gl, scm_makfrom0str ("bracket")))
+ else if (scm_is_string (gl) && ly_c_equal_p (gl, scm_makfrom0str ("bracket"))
+ && scm_is_string (my_gl) && ly_c_equal_p (my_gl, scm_makfrom0str ("bracket")))
{
inf.grob_->translate_axis ( -0.8, X_AXIS); // ugh
inf.grob_->set_property ("arch-height",
- scm_make_real (ly_scm2double (inf.grob_->get_property
+ scm_make_real (scm_to_double (inf.grob_->get_property
("arch-height"))+0.5));
}
}
if (!delim_)
{
SCM delim_name =get_property ("systemStartDelimiter");
- delim_ = make_spanner_from_properties (daddy_context_, delim_name);
+ delim_ = make_spanner_from_properties (this, delim_name, SCM_EOL);
delim_->set_bound (LEFT, unsmob_grob (get_property ("currentCommandColumn")));
- announce_grob (delim_, SCM_EOL);
+
}
}
void
if (delim_)
{
delim_->set_bound (RIGHT, unsmob_grob (get_property ("currentCommandColumn")));
- typeset_grob (delim_);
+
}
}