Audacity  2.2.2
Classes | Macros | Enumerations | Functions | Variables
Scrubbing.cpp File Reference
#include "../../Audacity.h"
#include "Scrubbing.h"
#include "../../Experimental.h"
#include <functional>
#include "../../AudioIO.h"
#include "../../Project.h"
#include "../../TrackPanel.h"
#include "../../TrackPanelCell.h"
#include "../../prefs/TracksPrefs.h"
#include "../../toolbars/ControlToolBar.h"
#include "../../toolbars/ScrubbingToolBar.h"
#include "../../toolbars/ToolManager.h"
#include "../../widgets/Ruler.h"
#include "../../commands/CommandFunctors.h"
#include "../../commands/CommandContext.h"
#include <algorithm>
#include <wx/app.h>
#include <wx/dc.h>

Go to the source code of this file.

Classes

class  Scrubber::ScrubPollerThread
 
class  Scrubber::ScrubPoller
 

Macros

#define THUNK(Name)   Scrubber::Thunk<&Scrubber::Name>
 

Enumerations

enum  { SCRUBBING_PIXEL_TOLERANCE = 10, ScrubSpeedStepsPerOctave = 4, ScrubPollInterval_ms = 50, kOneSecondCountdown = 1000 / ScrubPollInterval_ms }
 
enum  
 
enum  { CMD_ID = 8000 }
 

Functions

static CommandHandlerObjectfindme (AudacityProject &project)
 

Variables

static const double MinStutter = 0.2
 

Macro Definition Documentation

#define THUNK (   Name)    Scrubber::Thunk<&Scrubber::Name>

Definition at line 934 of file Scrubbing.cpp.

Enumeration Type Documentation

anonymous enum
Enumerator
SCRUBBING_PIXEL_TOLERANCE 
ScrubSpeedStepsPerOctave 
ScrubPollInterval_ms 
kOneSecondCountdown 

Definition at line 43 of file Scrubbing.cpp.

43  {
44  // PRL:
45  // Mouse must move at least this far to distinguish ctrl-drag to scrub
46  // from ctrl-click for playback.
48 
49 #ifdef EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL
51 #endif
52 
54 
56 };
anonymous enum
Enumerator
CMD_ID 

Definition at line 932 of file Scrubbing.cpp.

932 { CMD_ID = 8000 };
anonymous enum

Definition at line 250 of file Scrubbing.cpp.

250 { nMenuItems = sizeof(menuItems) / sizeof(*menuItems) };

Function Documentation

static CommandHandlerObject& findme ( AudacityProject project)
static

Definition at line 994 of file Scrubbing.cpp.

References AudacityProject::GetScrubber().

Referenced by Scrubber::AddMenuItems().

995 { return project.GetScrubber(); }
Scrubber & GetScrubber()
Definition: Project.h:801

Variable Documentation

const double MinStutter = 0.2
static

Definition at line 58 of file Scrubbing.cpp.

Referenced by Scrubber::MaybeStartScrubbing().