From c582f5e3c6dbc2a116b2d3bf42022ae5c4371697 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 18 Nov 1996 11:59:36 +0000 Subject: [PATCH] lilypond-0.0.10 --- Sources.make | 10 +++++++--- hdr/clef.hh | 20 ++++++++++++++++++++ hdr/clefitem.hh | 25 +++++++++++++++++++++++++ hdr/proto.hh | 8 ++++++++ 4 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 hdr/clef.hh create mode 100644 hdr/clefitem.hh diff --git a/Sources.make b/Sources.make index 2894394f94..61c32fa41c 100644 --- a/Sources.make +++ b/Sources.make @@ -12,7 +12,9 @@ hdr= qlp.hh linespace.hh qlpsolve.hh\ sccol.hh stcol.hh scommands.hh melodicstaff.hh\ identifier.hh simplestaff.hh spanner.hh stem.hh\ notehead.hh leastsquares.hh beam.hh rest.hh\ - swalker.hh bar.hh meter.hh + swalker.hh bar.hh meter.hh accidental.hh\ + key.hh keyitem.hh localkeyitem.hh simplewalker.hh\ + clef.hh clefitem.hh mycc= qlp.cc qlpsolve.cc \ break.cc linespace.cc molecule.cc staffline.cc\ @@ -28,6 +30,8 @@ mycc= qlp.cc qlpsolve.cc \ melodicstaff.cc simpleprint.cc stem.cc\ spanner.cc notehead.cc leastsquares.cc beam.cc\ texbeam.cc rest.cc swalker.cc scoreline.cc\ - simplewalker.cc bar.cc meter.cc\ + simplewalker.cc bar.cc meter.cc accidental.cc\ + key.cc keyitem.cc localkeyitem.cc\ + clef.cc clefitem.cc\ template1.cc template2.cc template3.cc\ - version.cc \ No newline at end of file + version.cc diff --git a/hdr/clef.hh b/hdr/clef.hh new file mode 100644 index 0000000000..52206960ed --- /dev/null +++ b/hdr/clef.hh @@ -0,0 +1,20 @@ +/* + clef.hh -- part of LilyPond + + (c) 1996 Han-Wen Nienhuys +*/ + +#ifndef CLEF_HH +#define CLEF_HH +#include "string.hh" +#include "vray.hh" + +struct Clef { + int c0_pos; + String clef_type; + + Clef(); + void read(svec args); +}; +#endif // CLEF_HH + diff --git a/hdr/clefitem.hh b/hdr/clefitem.hh new file mode 100644 index 0000000000..f44dffcea6 --- /dev/null +++ b/hdr/clefitem.hh @@ -0,0 +1,25 @@ + +/* + clefitem.hh -- part of LilyPond + + (c) 1996 Han-Wen Nienhuys +*/ + +#ifndef CLEFITEM_HH +#define CLEFITEM_HH +#include "item.hh" + + +struct Clef_item : Item { + String type; + int y_off; + + Clef_item(); + void read(Clef); + void read(String); + void preprocess(); +}; + +#endif // CLEFITEM_HH + + diff --git a/hdr/proto.hh b/hdr/proto.hh index d674ca429a..f80b7f8d0a 100644 --- a/hdr/proto.hh +++ b/hdr/proto.hh @@ -89,5 +89,13 @@ struct Stem; struct Notehead; struct Beam; struct Rest; +struct Accidental; +struct Key; +struct Local_key; +struct Keyitem; +struct Local_key_item; +struct Clef; +struct Clef_item; + #endif // PROTO_HH -- 2.39.5