X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=lily%2Fclef-item.cc;h=9eb8d1b26120d52119aeefde6f0678136f34b16f;hb=42ab6ff971c06253b34f96ed122836ab88d09cc0;hp=75191ca3449513f3e368bfa8ddbc85e275d632d1;hpb=1b071315c1d318e46035ec8bc0b73da55a025ae8;p=lilypond.git diff --git a/lily/clef-item.cc b/lily/clef-item.cc index 75191ca344..9eb8d1b261 100644 --- a/lily/clef-item.cc +++ b/lily/clef-item.cc @@ -18,7 +18,7 @@ void Clef_item::do_pre_processing() { - dim_cache_[Y_AXIS].translate (y_position_i_ * staff_line_leading_f () / 2.0); + dim_cache_[Y_AXIS]->translate (y_position_i_ * staff_line_leading_f () / 2.0); SCM style_sym =get_elt_property (style_scm_sym); String style; if (style_sym != SCM_BOOL_F) @@ -29,7 +29,7 @@ Clef_item::do_pre_processing() if (style == "transparent") { set_elt_property (transparent_scm_sym, SCM_BOOL_T); - dim_cache_[X_AXIS].set_empty (true); + dim_cache_[X_AXIS]->set_empty (true); } } @@ -60,12 +60,12 @@ Clef_item::do_add_processing () g->text_str_ = "8"; g->style_str_ = "italic"; - g->dim_cache_[Y_AXIS].parent_l_ = &dim_cache_[Y_AXIS]; - g->dim_cache_[X_AXIS].parent_l_ = &dim_cache_[X_AXIS]; + g->dim_cache_[Y_AXIS]->parent_l_ = dim_cache_[Y_AXIS]; + g->dim_cache_[X_AXIS]->parent_l_ = dim_cache_[X_AXIS]; add_dependency (g); // just to be sure. Real r = do_height ()[d] - g->extent (Y_AXIS)[-d]; - g->dim_cache_[Y_AXIS].set_offset (r); + g->dim_cache_[Y_AXIS]->set_offset (r); SCM my_vis = get_elt_property (visibility_lambda_scm_sym); if (my_vis != SCM_BOOL_F)