Audacity  3.0.3
Public Types | Public Member Functions | List of all members
TrackPanelGroup Class Referenceabstract

#include <TrackPanelCell.h>

Inheritance diagram for TrackPanelGroup:
[legend]
Collaboration diagram for TrackPanelGroup:
[legend]

Public Types

enum  Axis { Axis::X, Axis::Y }
 
using Child = std::pair< wxCoord, std::shared_ptr< TrackPanelNode > >
 
using Refinement = std::vector< Child >
 
using Subdivision = std::pair< Axis, Refinement >
 

Public Member Functions

 TrackPanelGroup ()
 
virtual ~TrackPanelGroup ()
 
virtual Subdivision Children (const wxRect &rect)=0
 
- Public Member Functions inherited from TrackPanelNode
 TrackPanelNode ()
 
virtual ~TrackPanelNode ()=0
 
- Public Member Functions inherited from TrackPanelDrawable
virtual ~TrackPanelDrawable ()=0
 
virtual void Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass)
 
virtual wxRect DrawingArea (TrackPanelDrawingContext &context, const wxRect &rect, const wxRect &panelRect, unsigned iPass)
 

Additional Inherited Members

- Static Public Member Functions inherited from TrackPanelDrawable
static wxRect MaximizeWidth (const wxRect &rect, const wxRect &panelRect)
 
static wxRect MaximizeHeight (const wxRect &rect, const wxRect &panelRect)
 

Detailed Description

Definition at line 46 of file TrackPanelCell.h.

Member Typedef Documentation

◆ Child

using TrackPanelGroup::Child = std::pair< wxCoord, std::shared_ptr<TrackPanelNode> >

Definition at line 63 of file TrackPanelCell.h.

◆ Refinement

using TrackPanelGroup::Refinement = std::vector< Child >

Definition at line 64 of file TrackPanelCell.h.

◆ Subdivision

Definition at line 65 of file TrackPanelCell.h.

Member Enumeration Documentation

◆ Axis

enum TrackPanelGroup::Axis
strong
Enumerator

Definition at line 52 of file TrackPanelCell.h.

52 { X, Y };

Constructor & Destructor Documentation

◆ TrackPanelGroup()

TrackPanelGroup::TrackPanelGroup ( )

Definition at line 25 of file TrackPanelCell.cpp.

26 {
27 }

◆ ~TrackPanelGroup()

TrackPanelGroup::~TrackPanelGroup ( )
virtual

Definition at line 29 of file TrackPanelCell.cpp.

30 {
31 }

Member Function Documentation

◆ Children()

virtual Subdivision TrackPanelGroup::Children ( const wxRect &  rect)
pure virtual

The documentation for this class was generated from the following files: