summaryrefslogtreecommitdiff
path: root/pstaff.hh
blob: bf33c6b4374955b5f32cefec2b76ff0e80321b4d (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 "plist.hh"
#include "item.hh"
#include "symbol.hh"

/// items grouped vertically.
struct PStaff {
    Parametric_symbol *stafsym;
    PScore * pscore_;
    
    virtual Symbol get_stafsym(Real width)const=0; // maybe overkill

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

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

#endif