#include "dimension-cache.hh"
Axis_group_interface::Axis_group_interface (Score_element*s)
- : Group_interface (s)
{
elt_l_ = s;
}
Axis_group_interface
-axis_group (Score_element*s)
+Axis_group_interface (Score_element*s)
{
return Axis_group_interface (s);
}
e->set_parent (elt_l_, a);
}
- Group_interface::add_element (e);
+ Group_interface (elt_l_).add_element (e);
elt_l_->add_dependency (e);
}
if (a1 != Y_AXIS && a2 != Y_AXIS)
elt_l_->set_empty (Y_AXIS);
- elt_l_->dim_cache_[a1]->set_callback (Axis_group_interface::group_extent_callback);
- elt_l_->dim_cache_[a2]->set_callback (Axis_group_interface::group_extent_callback);
+ elt_l_->dim_cache_[a1]->set_extent_callback (Axis_group_interface::group_extent_callback);
+ elt_l_->dim_cache_[a2]->set_extent_callback (Axis_group_interface::group_extent_callback);
}
Link_array<Score_element>
{
Score_element* e = unsmob_element (gh_car (ep));
if (e)
- childs.concat (axis_group (e).get_children ());
+ childs.concat (Axis_group_interface (e).get_children ());
}
return childs;