summaryrefslogtreecommitdiff
path: root/src/stcol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stcol.cc')
-rw-r--r--src/stcol.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/stcol.cc b/src/stcol.cc
new file mode 100644
index 0000000000..799daed316
--- /dev/null
+++ b/src/stcol.cc
@@ -0,0 +1,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;
+}