summaryrefslogtreecommitdiff
path: root/stcol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'stcol.cc')
-rw-r--r--stcol.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/stcol.cc b/stcol.cc
new file mode 100644
index 0000000000..e9a80c8e36
--- /dev/null
+++ b/stcol.cc
@@ -0,0 +1,30 @@
+#include "stcol.hh"
+#include "sccol.hh"
+#include "voice.hh"
+
+bool
+Staff_column::mus() const
+{
+ return score_column->musical;
+}
+
+Mtime
+Staff_column::when() const
+{
+ return score_column->when;
+}
+
+void
+Staff_column::add(Voice_element*ve)
+{
+ Mtime d= ve->duration;
+ if (d){
+ score_column->durations.add(d);
+ }
+
+ v_elts.add(ve);
+}
+
+Staff_column::Staff_column(Score_column*s) {
+ score_column = s;
+}