Audacity  2.2.0
EditCursorOverlay Class Referencefinal

#include <EditCursorOverlay.h>

Inheritance diagram for EditCursorOverlay:
Overlay

Public Member Functions

 EditCursorOverlay (AudacityProject *project, bool isMaster=true)
 
virtual ~EditCursorOverlay ()
 
- 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
 

Private Attributes

AudacityProjectmProject
 
bool mIsMaster
 
std::unique_ptr
< EditCursorOverlay
mPartner
 
int mLastCursorX
 
double mCursorTime
 
int mNewCursorX
 

Constructor & Destructor Documentation

EditCursorOverlay::EditCursorOverlay ( AudacityProject project,
bool  isMaster = true 
)
EditCursorOverlay::~EditCursorOverlay ( )
virtual

Member Function Documentation

Member Data Documentation

double EditCursorOverlay::mCursorTime
private

Referenced by DoGetRectangle(), and Draw().

bool EditCursorOverlay::mIsMaster
private

Referenced by Draw(), and ~EditCursorOverlay().

int EditCursorOverlay::mLastCursorX
private

Referenced by DoGetRectangle(), and Draw().

int EditCursorOverlay::mNewCursorX
private

Referenced by DoGetRectangle(), and Draw().

std::unique_ptr<EditCursorOverlay> EditCursorOverlay::mPartner
private

Referenced by Draw(), and ~EditCursorOverlay().

AudacityProject* EditCursorOverlay::mProject
private

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