summaryrefslogtreecommitdiff
path: root/item.hh
blob: cf3d11c31347dac6f4fbe9f4cb22ec9061e3454c (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
#ifndef ITEM_HH
#define ITEM_HH

#include "glob.hh"
#include "boxes.hh"
#include "string.hh"
#include "tex.hh"

    
/// a horizontally fixed size element of the score
struct Item {
    const PCol * col;
    Molecule *output;
    
    PStaff *pstaff_;
    /** needed for knowing at which staff to output this item
    */

    /****************/

    virtual Interval width() const;    
    virtual Interval height() const;
    String TeXstring () const ;
    Item();
    void print()const;
    virtual ~Item();
};
/** An item must be part of a Column
*/


#endif