]> git.donarmstrong.com Git - lilypond.git/blob - sccol.cc
release: 0.0.5
[lilypond.git] / sccol.cc
1 #include "sccol.hh"
2 #include "debug.hh"
3
4 Score_column::Score_column(Real w)
5 {
6     when = w;
7     pcol = new PCol(0);
8     musical = false;
9 }
10
11 bool
12 Score_column::used() {
13     return pcol->used;
14 }
15
16 void
17 Score_column::print() const
18 {
19 #ifndef NPRINT
20     mtor << "Score_column { mus "<< musical <<" at " <<  when<<'\n';
21     mtor << "durations: [";
22     for (int i=0; i < durations.sz(); i++)
23         mtor << durations[i] << " ";
24     mtor << "]\n";
25     pcol->print();
26     mtor << "}\n";
27 #endif
28 }