]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.9
authorfred <fred>
Tue, 5 Nov 1996 20:32:15 +0000 (20:32 +0000)
committerfred <fred>
Tue, 5 Nov 1996 20:32:15 +0000 (20:32 +0000)
hdr/notehead.hh [new file with mode: 0644]
hdr/tex.hh [new file with mode: 0644]

diff --git a/hdr/notehead.hh b/hdr/notehead.hh
new file mode 100644 (file)
index 0000000..b694e95
--- /dev/null
@@ -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 (file)
index 0000000..546797a
--- /dev/null
@@ -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<String> 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