]> git.donarmstrong.com Git - lilypond.git/blob - lily/rest-column.cc
9f811d39ded19fbf045bff551be9f8d1954cea96
[lilypond.git] / lily / rest-column.cc
1 /*
2   rest-column.cc -- implement Rest_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "debug.hh"
10 #include "rest-column.hh"
11 #include "note-head.hh"
12 #include "rest-column.hh"
13 #include "stem.hh"
14
15 IMPLEMENT_STATIC_NAME(Rest_column);
16 IMPLEMENT_IS_TYPE_B1(Rest_column,Head_column);
17
18
19 /**
20   translate the rest symbols
21  */
22 void
23 Rest_column::translate_heads(int dy_i)
24 {
25     for (int i=0; i < head_l_arr_.size(); i++)
26         head_l_arr_[i]->position_i_ += dy_i;
27 }
28