summaryrefslogtreecommitdiff
path: root/stcol.cc
blob: 799daed31641fa4aa23e078a8edc7f4429b29821 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "stcol.hh"
#include "sccol.hh"
#include "voice.hh"

bool
Staff_column::mus() const
{
    return score_column->musical;
}

Real
Staff_column::when() const
{
    return score_column->when;
}

void
Staff_column::add(Voice_element*ve)
{
    Real d= ve->duration;
    if (d){
	score_column->durations.add(d);
    }
	
    v_elts.add(ve);
}

Staff_column::Staff_column(Score_column*s) {
    score_column = s;
}