source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "debug.hh"
#include "collision.hh"
}
void
-Collision::add (Note_column* ncol_l)
+Collision::add_column (Note_column* ncol_l)
{
clash_l_arr_.push (ncol_l);
add_element (ncol_l);
Note_column* c_l = clash_l_arr_[i];
if (! c_l->dir_)
{
- warning (_("No stem direction set. Ignoring column in clash. "));
+ warning (_ ("No stem direction set. Ignoring column in clash."));
continue;
}
int d = (c_l->dir_);
{
if (clash_group_arr_a[j].size() > 1)
{
- warning (_("Too many clashing notecolumns. Ignoring them."));
+ warning (_ ("Too many clashing notecolumns. Ignoring them."));
return;
}
}
(shaddup)
*/
Offset o (x_off[j] * wid_f, y_off[j] * inter_f);
- ((Score_elem*)col_l_a[j])->translate (o);
+ ((Score_element*)col_l_a[j])->translate (o);
}
}
}
IMPLEMENT_IS_TYPE_B1(Collision, Item);
void
-Collision::do_substitute_dependency (Score_elem*o_l,Score_elem*n_l)
+Collision::do_substitute_dependency (Score_element*o_l,Score_element*n_l)
{
- clash_l_arr_.substitute ((Note_column*)o_l->item(),
- (Note_column*)(n_l?n_l->item():0));
+ clash_l_arr_.substitute ((Note_column*)o_l->access_Item (),
+ (Note_column*)(n_l?n_l->access_Item ():0));
}