From: fred Date: Mon, 4 Nov 1996 13:31:22 +0000 (+0000) Subject: lilypond-0.0.7 X-Git-Tag: release/1.5.59~6935 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ef5ccf64a0c209b50a9431993ea9f3ecac4adee6;p=lilypond.git lilypond-0.0.7 --- diff --git a/item.hh b/item.hh index 484822533b..cf3d11c313 100644 --- a/item.hh +++ b/item.hh @@ -6,43 +6,27 @@ #include "string.hh" #include "tex.hh" -/// a symbol which is attached between two columns. -struct Spanner { - const PCol *left, *right; - Parametric_symbol *strets; - PStaff * pstaff_; - /// clone a piece of this spanner. - Spanner *broken_at(const PCol *c1, const PCol *c2) const; - /** - - PRE - c1 >= start, c2 <= stop - */ - String TeXstring () const ; - Spanner(); -}; -/** Spanner should know about the items which it should consider: - e.g. slurs should be steep enough to "enclose" all those items. This - is absolutely necessary for beams, since they have to adjust the - length of stems of notes they encompass. - - */ -/// a fixed size element of the score +/// a horizontally fixed size element of the score struct Item { - virtual Interval width() const; - virtual Interval height() const; const PCol * col; Molecule *output; PStaff *pstaff_; /** needed for knowing at which staff to output this item */ + + /****************/ + + virtual Interval width() const; + virtual Interval height() const; String TeXstring () const ; Item(); void print()const; + virtual ~Item(); }; /** An item must be part of a Column */ + #endif