source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "dimension-cache.hh"
#include "base-span-bar-engraver.hh"
#include "axis-align-spanner.hh"
-ADD_THIS_TRANSLATOR (Base_span_bar_engraver);
-
Base_span_bar_engraver::Base_span_bar_engraver()
{
spanbar_p_ =0;
--hwn
*/
{
- spanbar_p_ = get_span_bar_p ();
+ spanbar_p_ = get_span_bar_p();
spanbar_p_->set_parent (bar_l_arr_[0], Y_AXIS);
String visnam = String(name()) + "-visibility";
}
announce_element (Score_element_info (spanbar_p_,0));
-
-#if 0
-
- // urg, elt-properties are not set until pre_processing (property-engraver)
- if (!gh_string_p (spanbar_p_->get_elt_property ("glyph"))
- && !gh_string_p (spanbar_p_->get_elt_property ("default-glyph")))
- spanbar_p_-> set_elt_property ("default-glyph",
- bar_l_arr_[0]->get_elt_property ("glyph"));
-#else
-
- if (!gh_string_p (spanbar_p_->get_elt_property ("glyph"))
- && gh_string_p (spanbar_p_->get_elt_property ("default-glyph")))
- spanbar_p_-> set_elt_property ("glyph", spanbar_p_->get_elt_property ("default-glyph"));
-
if (!gh_string_p (spanbar_p_->get_elt_property ("glyph")))
spanbar_p_-> set_elt_property ("glyph",
bar_l_arr_[0]->get_elt_property ("glyph"));
-
-#endif
}
}
}
}
+
+ADD_THIS_TRANSLATOR(Base_span_bar_engraver);
+