]> git.donarmstrong.com Git - lilypond.git/blobdiff - hdr/stem.hh
partial: 0.0.39-1.hanjan
[lilypond.git] / hdr / stem.hh
index 962d1f4ba3ffba7d302383fff19846115a1bde23..34776ea49cec6b45965221871b18e516d3d28f0a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  stem.hh -- 
+  stem.hh -- declare Stem
 
   (c) 1996,97 Han-Wen Nienhuys
 */
@@ -10,8 +10,8 @@
 #include "varray.hh"
 #include "moment.hh"
 
-/// the rule attached to the ball
-/**
+
+/**the rule attached to the ball.
   takes care of:
 
   \begin{itemize}
   */
 
 struct Stem : Item {
-/*
-    /// rhythmical length
-    Moment note_length;
-    */  
-    // heads the stem encompasses (positions)
+    /// heads that the stem encompasses (positions)
     int minnote, maxnote;
 
     /// false if in beam
@@ -38,8 +34,8 @@ struct Stem : Item {
     /// needed for determining direction/length
     int staff_center;
 
-    // extent of the stem (positions)
-    /**
+
+    /**extent of the stem (positions).
       fractional, since Beam has to adapt them.
       */
 
@@ -49,8 +45,9 @@ struct Stem : Item {
     /// flagtype? 4 none, 8 8th flag, 0 = beam.
     int flag;
 
-    ///geen gedonder, jij gaat onder
+
     /**
+      geen gedonder, jij gaat onder.
        -1 stem points down, +1: stem points up
        */
 
@@ -64,9 +61,10 @@ struct Stem : Item {
     
     /// ensure that this Stem also encompasses the Notehead #n#
     void add(Notehead*n);
-    const char * name() const;
 
-    Real hpos()const;
+    NAME_MEMBERS(Stem);
+
+    Real hindex()const;
     void do_print() const;
     void set_stemend(Real);
     int get_default_dir();