Audacity 3.2.0
Namespaces | Enumerations | Functions | Variables
PlayIndicatorOverlay.cpp File Reference
#include "PlayIndicatorOverlay.h"
#include "AColor.h"
#include "../../AdornedRulerPanel.h"
#include "AllThemeResources.h"
#include "AudioIO.h"
#include "../../LabelTrack.h"
#include "Project.h"
#include "ProjectAudioIO.h"
#include "../../ProjectAudioManager.h"
#include "../../ProjectWindow.h"
#include "Theme.h"
#include "Track.h"
#include "../../TrackPanel.h"
#include "ViewInfo.h"
#include "Scrubbing.h"
#include "ChannelView.h"
#include <wx/dc.h>
#include <algorithm>
Include dependency graph for PlayIndicatorOverlay.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{PlayIndicatorOverlay.cpp}
 

Enumerations

enum  { anonymous_namespace{PlayIndicatorOverlay.cpp}::IndicatorMediumWidth = 13 }
 

Functions

template<class LOW , class MID , class HIGH >
bool anonymous_namespace{PlayIndicatorOverlay.cpp}::between_incexc (LOW l, MID m, HIGH h)
 
std::pair< wxPoint, wxBitmap > anonymous_namespace{PlayIndicatorOverlay.cpp}::GetIndicatorBitmap (AudacityProject &project, wxCoord xx, bool playing)
 

Variables

static const AudacityProject::AttachedObjects::RegisteredFactory sOverlayKey
 

Variable Documentation

◆ sOverlayKey

Initial value:
{
[]( AudacityProject &parent ){
auto result = std::make_shared< PlayIndicatorOverlay >( &parent );
TrackPanel::Get( parent ).AddOverlay( result );
return result;
}
}
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
void AddOverlay(const std::weak_ptr< Overlay > &pOverlay)
static TrackPanel & Get(AudacityProject &project)
Definition: TrackPanel.cpp:234

Definition at line 135 of file PlayIndicatorOverlay.cpp.