mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Another override of CellularPanel::FindRect taking a predicate
This commit is contained in:
@@ -97,6 +97,12 @@ public:
|
||||
// is not specified which rectangle is returned.
|
||||
wxRect FindRect(const TrackPanelCell &cell);
|
||||
|
||||
// Search the tree of subdivisions of the panel area for a node (group or
|
||||
// cell) satisfying the predicate. If more than one sub-area is associated
|
||||
// with some node satisfying the predicate, it is not specified which
|
||||
// rectangle is returned.
|
||||
wxRect FindRect(const std::function< bool( TrackPanelNode& ) > &pred);
|
||||
|
||||
UIHandlePtr Target();
|
||||
|
||||
std::shared_ptr<TrackPanelCell> LastCell() const;
|
||||
|
||||
Reference in New Issue
Block a user