MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
Currently, our logic for painting engraving items in the UI is completely contained within the palette module. This is a problem for the new Percussion Panel, where we're going to build a "notation preview" completely outwith the pallete module.
To resolve this, this PR introduces an EngravingItemPreviewPainter class to the engraving module and moves the existing logic to engravingitempreviewpainter.cpp, allowing us to reuse the painting logic wherever we need it.
Currently, our logic for painting engraving items in the UI is completely contained within the palette module. This is a problem for the new Percussion Panel, where we're going to build a "notation preview" completely outwith the pallete module.
To resolve this, this PR introduces an
EngravingItemPreviewPainter
class to the engraving module and moves the existing logic toengravingitempreviewpainter.cpp
, allowing us to reuse the painting logic wherever we need it.