]> git.donarmstrong.com Git - lilypond.git/blob - hdr/item.hh
release: 0.0.26
[lilypond.git] / hdr / item.hh
1 #ifndef ITEM_HH
2 #define ITEM_HH
3
4 #include "glob.hh"
5 #include "boxes.hh"
6 #include "string.hh"
7 #include "staffelem.hh"
8
9 /// a horizontally fixed size element of the score
10 struct Item : Staff_elem {
11     /// indirection to the column it is in
12     PCol * pcol_l_;
13
14     /****************/
15     virtual Item *item() { return this; }
16     Item();
17     void do_print()const;
18     const char*name()const;
19 };
20 /** Item is the datastructure for printables whose width is known
21   before the spacing is calculated
22
23   NB. This doesn't mean an Item has to initialize the output field before
24   spacing calculation. 
25   
26 */
27
28
29 #endif