summaryrefslogtreecommitdiff
path: root/notehead.hh
blob: b694e95af82bdfe63bb3d5a7423f90cc950a38c2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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