lilypond-1.5.9
[lilypond.git] / lily / rest-column.cc
blob0c7260ee623106519362fe7a134083fbdbbc2f51
1 /*
2 rest-column.cc -- implement Rest_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "debug.hh"
10 #include "rest-column.hh"
11 #include "note-head.hh"
12 #include "rest-column.hh"
13 #include "stem.hh"
16 IMPLEMENT_IS_TYPE_B1(Rest_column,Head_column);
19 /**
20 translate the rest symbols
22 void
23 Rest_column::translate_heads (int dy_i)
25 for (int i=0; i < head_l_arr_.size(); i++)
26 head_l_arr_[i]->position_i_ += dy_i;