Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{TrackPanel.cpp}::HorizontalGroup Struct Referencefinal
Inheritance diagram for anonymous_namespace{TrackPanel.cpp}::HorizontalGroup:
Collaboration diagram for anonymous_namespace{TrackPanel.cpp}::HorizontalGroup:

Public Member Functions

 HorizontalGroup (Refinement refinement)
Subdivision Children (const wxRect &) override
- Public Member Functions inherited from TrackPanelGroup
 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)

Public Attributes

Refinement mRefinement

Additional Inherited Members

- Public Types inherited from TrackPanelGroup
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 >
- 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 1342 of file TrackPanel.cpp.

Constructor & Destructor Documentation

◆ HorizontalGroup()

anonymous_namespace{TrackPanel.cpp}::HorizontalGroup::HorizontalGroup ( Refinement  refinement)

Definition at line 1346 of file TrackPanel.cpp.

1347 : mRefinement(std::move(refinement))
1348 {
1349 }

Member Function Documentation

◆ Children()

Subdivision anonymous_namespace{TrackPanel.cpp}::HorizontalGroup::Children ( const wxRect &  )

Implements TrackPanelGroup.

Definition at line 1351 of file TrackPanel.cpp.

1352 {
1353 return { Axis::X, mRefinement };
1354 }

Member Data Documentation

◆ mRefinement

Refinement anonymous_namespace{TrackPanel.cpp}::HorizontalGroup::mRefinement

Definition at line 1344 of file TrackPanel.cpp.

The documentation for this struct was generated from the following file: