1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 06:22:58 +02:00

Drawing sequence for overlays independent of insertion call sequence

This commit is contained in:
Paul Licameli
2019-04-28 06:33:27 -04:00
parent f123ea5faa
commit 227fb315ea
11 changed files with 51 additions and 3 deletions

View File

@@ -93,6 +93,10 @@ class Overlay
public:
virtual ~Overlay() = 0;
///\brief This number determines an ordering of overlays, so that those
/// with higher numbers overpaint those with lower numbers that intersect
virtual unsigned SequenceNumber() const = 0;
// nonvirtual wrapper
std::pair<wxRect, bool> GetRectangle(wxSize size);