From: fred Date: Fri, 29 Nov 1996 01:19:53 +0000 (+0000) Subject: lilypond-0.0.13 X-Git-Tag: release/1.5.59~6733 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1094d66515574b7fbbb409e48ff831c77fff2c97;p=lilypond.git lilypond-0.0.13 --- diff --git a/hdr/molecule.hh b/hdr/molecule.hh index 35060bd92a..83f8ac1e2c 100644 --- a/hdr/molecule.hh +++ b/hdr/molecule.hh @@ -5,11 +5,14 @@ #include "boxes.hh" #include "item.hh" #include "symbol.hh" + /// a symbol which can be translated, and freely copied struct Atom { Offset off; Symbol sym; + /****************/ + void translate(Offset o) { off += o; } @@ -18,7 +21,7 @@ struct Atom { Box extent() const; Atom(Symbol s); - void print() const; + void print() const; String TeXstring() const; }; @@ -27,6 +30,8 @@ struct Atom { struct Molecule { IPointerList ats; + /****************/ + Molecule() { } Molecule(Atom a) { add(a) ; }