Audacity
3.0.3
|
Public Member Functions | |
QuickPlayRulerOverlay (QuickPlayIndicatorOverlay &partner) | |
void | Update () |
Public Member Functions inherited from Overlay | |
Overlay ()=default | |
Overlay (const Overlay &) PROHIBITED | |
Overlay & | operator= (const Overlay &) PROHIBITED |
virtual | ~Overlay ()=0 |
std::pair< wxRect, bool > | GetRectangle (wxSize size) |
virtual void | Erase (wxDC &dc, wxDC &src) |
Public Attributes | |
int | mNewQPIndicatorPos { -1 } |
bool | mNewQPIndicatorSnapped {} |
bool | mNewPreviewingScrub {} |
bool | mNewScrub {} |
bool | mNewSeek {} |
Private Member Functions | |
AdornedRulerPanel * | GetRuler () const |
unsigned | SequenceNumber () const override |
This number determines an ordering of overlays, so that those with higher numbers overpaint those with lower numbers that intersect. More... | |
std::pair< wxRect, bool > | DoGetRectangle (wxSize size) override |
void | Draw (OverlayPanel &panel, wxDC &dc) override |
Private Attributes | |
QuickPlayIndicatorOverlay & | mPartner |
int | mOldQPIndicatorPos { -1 } |
bool | mOldScrub {} |
bool | mOldSeek {} |
Definition at line 126 of file AdornedRulerPanel.cpp.
AdornedRulerPanel::QuickPlayRulerOverlay::QuickPlayRulerOverlay | ( | QuickPlayIndicatorOverlay & | partner | ) |
Definition at line 196 of file AdornedRulerPanel.cpp.
|
overrideprivatevirtual |
Implements Overlay.
Definition at line 255 of file AdornedRulerPanel.cpp.
References IndicatorBigWidth().
|
overrideprivatevirtual |
Implements Overlay.
Definition at line 283 of file AdornedRulerPanel.cpp.
References IndicatorBigWidth(), IndicatorSmallWidth, and anonymous_namespace{TimeTrackVRulerControls.cpp}::ruler().
|
private |
Definition at line 202 of file AdornedRulerPanel.cpp.
References AdornedRulerPanel::Get().
|
overrideprivatevirtual |
This number determines an ordering of overlays, so that those with higher numbers overpaint those with lower numbers that intersect.
Implements Overlay.
Definition at line 249 of file AdornedRulerPanel.cpp.
void AdornedRulerPanel::QuickPlayRulerOverlay::Update | ( | ) |
Definition at line 207 of file AdornedRulerPanel.cpp.
References ViewInfo::Get(), ProjectAudioIO::Get(), Scrubber::Get(), ProjectAudioIO::IsAudioActive(), AdornedRulerPanel::mesNone, anonymous_namespace{TimeTrackVRulerControls.cpp}::ruler(), and ViewInfo::selectedRegion.
bool AdornedRulerPanel::QuickPlayRulerOverlay::mNewPreviewingScrub {} |
Definition at line 135 of file AdornedRulerPanel.cpp.
int AdornedRulerPanel::QuickPlayRulerOverlay::mNewQPIndicatorPos { -1 } |
Definition at line 133 of file AdornedRulerPanel.cpp.
bool AdornedRulerPanel::QuickPlayRulerOverlay::mNewQPIndicatorSnapped {} |
Definition at line 134 of file AdornedRulerPanel.cpp.
bool AdornedRulerPanel::QuickPlayRulerOverlay::mNewScrub {} |
Definition at line 137 of file AdornedRulerPanel.cpp.
bool AdornedRulerPanel::QuickPlayRulerOverlay::mNewSeek {} |
Definition at line 138 of file AdornedRulerPanel.cpp.
|
private |
Definition at line 153 of file AdornedRulerPanel.cpp.
|
private |
Definition at line 154 of file AdornedRulerPanel.cpp.
|
private |
Definition at line 155 of file AdornedRulerPanel.cpp.
|
private |
Definition at line 150 of file AdornedRulerPanel.cpp.