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

#include <TrackPanelCell.h>

Inheritance diagram for TrackPanelGroup:
Collaboration diagram for TrackPanelGroup:

Public Types

enum class  Axis { X , 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 class TrackPanelGroup::Axis

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.


◆ ~TrackPanelGroup()

TrackPanelGroup::~TrackPanelGroup ( )

Definition at line 29 of file TrackPanelCell.cpp.


Member Function Documentation

◆ Children()

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

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