1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Define drawing function of CellularPanel, which visits nodes

This commit is contained in:
Paul Licameli
2018-11-03 00:04:50 -04:00
parent 040decf9e3
commit cb2ea25afc
12 changed files with 157 additions and 43 deletions

View File

@@ -17,6 +17,7 @@ class ViewInfo;
class AudacityProject;
class TrackPanelCell;
struct TrackPanelDrawingContext;
class TrackPanelGroup;
class TrackPanelNode;
struct TrackPanelMouseEvent;
@@ -107,6 +108,12 @@ public:
wxCoord MostRecentXCoord() const;
void HandleCursorForPresentMouseState(bool doHit = true);
// Visit the Draw functions of all cells that intersect the panel area,
// and of handles associated with such cells,
// and of all groups of cells,
// repeatedly with a pass count from 0 to nPasses - 1
void Draw( TrackPanelDrawingContext &context, unsigned nPasses );
protected:
bool HasEscape();