Audacity  2.2.0
ScrubbingOverlay Class Referencefinal

#include <Scrubbing.h>

Inheritance diagram for ScrubbingOverlay:
Overlay

Public Member Functions

 ScrubbingOverlay (AudacityProject *project)
 
virtual ~ScrubbingOverlay ()
 
- Public Member Functions inherited from Overlay
virtual ~Overlay ()=0
 
std::pair< wxRect, bool > GetRectangle (wxSize size)
 
virtual void Erase (wxDC &dc, wxDC &src)
 

Private Member Functions

std::pair< wxRect, bool > DoGetRectangle (wxSize size) override
 
void Draw (OverlayPanel &panel, wxDC &dc) override
 
void OnTimer (wxCommandEvent &event)
 
const ScrubberGetScrubber () const
 
ScrubberGetScrubber ()
 

Private Attributes

AudacityProjectmProject
 
wxRect mLastScrubRect
 
wxRect mNextScrubRect
 
wxString mLastScrubSpeedText
 
wxString mNextScrubSpeedText
 

Constructor & Destructor Documentation

ScrubbingOverlay::ScrubbingOverlay ( AudacityProject project)

References mProject, and OnTimer().

ScrubbingOverlay::~ScrubbingOverlay ( )
virtual

References mProject, and OnTimer().

Member Function Documentation

std::pair< wxRect, bool > ScrubbingOverlay::DoGetRectangle ( wxSize  size)
overrideprivatevirtual
void ScrubbingOverlay::Draw ( OverlayPanel panel,
wxDC &  dc 
)
overrideprivatevirtual
const Scrubber & ScrubbingOverlay::GetScrubber ( ) const
private
Scrubber & ScrubbingOverlay::GetScrubber ( )
private

Member Data Documentation

wxRect ScrubbingOverlay::mLastScrubRect
private

Referenced by DoGetRectangle(), and Draw().

wxString ScrubbingOverlay::mLastScrubSpeedText
private

Referenced by DoGetRectangle(), and Draw().

wxRect ScrubbingOverlay::mNextScrubRect
private

Referenced by DoGetRectangle(), Draw(), and OnTimer().

wxString ScrubbingOverlay::mNextScrubSpeedText
private

Referenced by DoGetRectangle(), Draw(), and OnTimer().

AudacityProject* ScrubbingOverlay::mProject
private

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