]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.9
authorfred <fred>
Fri, 8 Nov 1996 21:35:46 +0000 (21:35 +0000)
committerfred <fred>
Fri, 8 Nov 1996 21:35:46 +0000 (21:35 +0000)
hdr/scoreline.hh [new file with mode: 0644]
src/template1.cc [new file with mode: 0644]

diff --git a/hdr/scoreline.hh b/hdr/scoreline.hh
new file mode 100644 (file)
index 0000000..3da47d3
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+  scoreline.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef SCORELINE_HH
+#define SCORELINE_HH
+#include "plist.hh"
+#include "proto.hh"
+#include "vray.hh"
+
+/// the columns of a score that form one line.
+struct
+Line_of_score {
+    List<const PCol *> cols;
+
+    // need to store height of each staff.
+    PointerList<Line_of_staff*> staffs;
+    const PScore * score;      // needed to generate staffs
+
+    /****************/
+    
+    Line_of_score(svec<const PCol *> sv, const PScore *);
+
+    String TeXstring() const;
+
+    // is #c# contained in #*this#?
+    bool element(const PCol *c);
+};
+
+#endif
diff --git a/src/template1.cc b/src/template1.cc
new file mode 100644 (file)
index 0000000..fd24311
--- /dev/null
@@ -0,0 +1,25 @@
+
+#include "plist.hh"
+#include "pcol.hh"
+#include "item.hh"
+#include "request.hh"
+#include "command.hh"
+#include "spanner.hh"
+#include "scoreline.hh" 
+#include "staffline.hh"
+
+#include "list.cc"
+#include "plist.cc"
+#include "cursor.cc"
+
+#define PLC_instantiate(a) PL_instantiate(a); PL_instantiate(const a)
+
+L_instantiate(Stem*);
+PLC_instantiate(Line_of_score);
+PLC_instantiate(Line_of_staff);
+PLC_instantiate(Item);
+PLC_instantiate(Spanner);
+PLC_instantiate(PStaff);
+PLC_instantiate(Idealspacing);
+PLC_instantiate(PCol);
+