summaryrefslogtreecommitdiff
path: root/pstaff.hh
blob: 8d17b9dd194c00d72cd0002d148dbd9eaa5fcd2b (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
#ifndef PSTAFF_HH
#define PSTAFF_HH

#include "list.hh"
#include "item.hh"
#include "symbol.hh"

/// items grouped vertically.
class PStaff {

public:
    Parametric_symbol *stafsym;
    virtual Symbol get_stafsym(Real width)const=0; // mayybe overkill

    List<const Spanner*> spans;
    List<Item*> its;

    void add(Item*i);
    PStaff();
    virtual ~PStaff() {}
};

#endif