2.0.3 source code here:
https://github.com/musescore/MuseScore/blob/2.0.3/libmscore/system.h#L48

The 2.0.3 class SysStaff looks like this:

class SysStaff {
      QRectF _bbox;           ///< Bbox of StaffLines.
      qreal _yOff;            ///< offset of top staff line within bbox
      qreal _distanceUp;      ///< distance to previous staff
      qreal _distanceDown;    ///< distance to next staff
      bool _show;             ///< derived from Staff or false if empty
...

The current master has removed these variables and commented-out lines where the public properties for these variables are called, sometimes with a "TODO" in the comment.

I use SysStaff::distanceDown() and SysStaff::distanceUp() in my code, and now I have no substitute for it. What is the plan here? How should I be determining the distance between staves?

I posted this same thing on the musescore forums here: https://musescore.org/en/node/106501

Thanks,

Sideways


<https://github.com/musescore/MuseScore/blob/2.0.3/libmscore/system.h#L48>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to