Audacity 3.2.0
|
Public Member Functions | |
LabeledChannelGroup (const std::shared_ptr< Track > &pTrack, wxCoord leftOffset) | |
Subdivision | Children (const wxRect &rect) override |
void | Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) override |
wxRect | DrawingArea (TrackPanelDrawingContext &, const wxRect &rect, const wxRect &, unsigned iPass) 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 | |
const std::shared_ptr< Track > | mpTrack |
wxCoord | mLeftOffset |
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) |
Definition at line 1321 of file TrackPanel.cpp.
|
inline |
Definition at line 1322 of file TrackPanel.cpp.
|
inlineoverridevirtual |
Implements TrackPanelGroup.
Definition at line 1325 of file TrackPanel.cpp.
References TrackControls::Get(), and kTrackInfoWidth.
|
inlineoverridevirtual |
Draw a three-level highlight gradient around the focused track.
Reimplemented from TrackPanelDrawable.
Definition at line 1334 of file TrackPanel.cpp.
References TrackPanelDrawingContext::dc, BasicUI::FindFocus(), TrackFocus::Get(), TrackArtist::Get(), kShadowThickness, AColor::Line(), TrackArtist::PassBorders, TrackArtist::PassFocus, and AColor::TrackFocusPen().
|
inlineoverridevirtual |
Reimplemented from TrackPanelDrawable.
Definition at line 1393 of file TrackPanel.cpp.
References kBorderThickness, kShadowThickness, TrackArtist::PassBorders, and TrackArtist::PassFocus.
wxCoord anonymous_namespace{TrackPanel.cpp}::LabeledChannelGroup::mLeftOffset |
Definition at line 1417 of file TrackPanel.cpp.
const std::shared_ptr<Track> anonymous_namespace{TrackPanel.cpp}::LabeledChannelGroup::mpTrack |
Definition at line 1416 of file TrackPanel.cpp.