diff options
Diffstat (limited to 'hdr/pstaff.hh')
-rw-r--r-- | hdr/pstaff.hh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/hdr/pstaff.hh b/hdr/pstaff.hh new file mode 100644 index 0000000000..bf33c6b437 --- /dev/null +++ b/hdr/pstaff.hh @@ -0,0 +1,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 |