lilypond-0.0.61
[lilypond.git] / hdr / item.hh
blobd1fc8c8bfa7985288772b7f201d54e894ac42b43
1 #ifndef ITEM_HH
2 #define ITEM_HH
4 #include "glob.hh"
5 #include "boxes.hh"
6 #include "string.hh"
7 #include "staff-elem.hh"
9 /**
10 a horizontally fixed size element of the score
12 Item is the datastructure for printables whose width is known
13 before the spacing is calculated
15 NB. This doesn't mean an Item has to initialize the output field before
16 spacing calculation.
19 struct Item : Staff_elem {
20 /// indirection to the column it is in
21 PCol * pcol_l_;
23 /* *************** */
24 virtual Item *item() { return this; }
25 Item();
26 void do_print()const;
28 NAME_MEMBERS(Item);
32 #endif