From: fred Date: Tue, 5 Nov 1996 20:32:15 +0000 (+0000) Subject: lilypond-0.0.9 X-Git-Tag: release/1.5.59~6883 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=65da78fdcdf79e9e9c2cdf8f7324e5808873a406;p=lilypond.git lilypond-0.0.9 --- diff --git a/hdr/notehead.hh b/hdr/notehead.hh new file mode 100644 index 0000000000..b694e95af8 --- /dev/null +++ b/hdr/notehead.hh @@ -0,0 +1,38 @@ +/* + notehead.hh -- part of LilyPond + + (c) 1996 Han-Wen Nienhuys +*/ + +#ifndef NOTEHEAD_HH +#define NOTEHEAD_HH +#include "item.hh" + +/// ball at the end of the stem +struct Notehead : public Item +{ + int position; + int staff_size; + int dots; + int balltype; + + /****************/ + void preprocess(); + + Notehead(int staff_size); + /** + position of top line (5 linestaff: 8) + */ + void print()const; +private: + void brew_molecole(); +}; +/** + takes care of: + + * help lines + * proper placing of dots + + */ +#endif // NOTEHEAD_HH + diff --git a/hdr/tex.hh b/hdr/tex.hh new file mode 100644 index 0000000000..546797a7c1 --- /dev/null +++ b/hdr/tex.hh @@ -0,0 +1,21 @@ +#ifndef TEX_HH +#define TEX_HH + +#include "string.hh" +#include "boxes.hh" + +/// parameter substitution in TeXstrings +String +substitute_args(String source, svec args); +/** + this structure provides a simple macro mechanism: + + if source == "tex%bla%", then + eval({"X","Y"}) == "texXblaY" + */ + +/// #h# is in points +String vstrut(Real h); + + +#endif