From 3321ce7f2d6c5669324b0e3d1714f6c478de8059 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 8 Nov 1996 21:35:46 +0000 Subject: [PATCH] lilypond-0.0.9 --- hdr/scoreline.hh | 32 ++++++++++++++++++++++++++++++++ src/template1.cc | 25 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 hdr/scoreline.hh create mode 100644 src/template1.cc diff --git a/hdr/scoreline.hh b/hdr/scoreline.hh new file mode 100644 index 0000000000..3da47d30dc --- /dev/null +++ b/hdr/scoreline.hh @@ -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 cols; + + // need to store height of each staff. + PointerList staffs; + const PScore * score; // needed to generate staffs + + /****************/ + + Line_of_score(svec 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 index 0000000000..fd2431130e --- /dev/null +++ b/src/template1.cc @@ -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); + -- 2.39.5