Audacity  2.2.2
Classes | Typedefs | Enumerations | Functions | Variables
TrackPanel.h File Reference
#include "MemoryX.h"
#include <vector>
#include <wx/timer.h>
#include "Experimental.h"
#include "HitTestResult.h"
#include "SelectedRegion.h"
#include "widgets/OverlayPanel.h"
#include "SelectionState.h"

Go to the source code of this file.

Classes

class  TrackInfo
 The TrackInfo is shown to the side of a track It has the menus, pan and gain controls displayed in it. So "Info" is somewhat a misnomer. Should possibly be "TrackControls". More...
 
class  TrackPanel
 The TrackPanel class coordinates updates and operations on the main part of the screen which contains multiple tracks. More...
 
struct  TrackPanel::FoundCell
 
class  TrackPanel::AudacityTimer
 Timer class dedicated to infomring the TrackPanel that it is time to refresh some aspect of the screen. More...
 

Typedefs

using UIHandlePtr = std::shared_ptr< UIHandle >
 

Enumerations

enum  { kTimerInterval = 50 }
 
enum  : int {
  kLeftInset = 4, kRightInset = kLeftInset, kTopInset = 4, kShadowThickness = 1,
  kBorderThickness = 1, kTopMargin = kTopInset + kBorderThickness, kBottomMargin = kShadowThickness + kBorderThickness, kLeftMargin = kLeftInset + kBorderThickness,
  kRightMargin = kRightInset + kShadowThickness + kBorderThickness
}
 
enum  : int {
  kTrackInfoWidth = 100, kTrackInfoBtnSize = 18, kTrackInfoSliderHeight = 25, kTrackInfoSliderWidth = 84,
  kTrackInfoSliderAllowance = 5, kTrackInfoSliderExtra = 5
}
 

Functions

enum UndoPush unsigned char wxDECLARE_EXPORTED_EVENT (AUDACITY_DLL_API, EVT_TRACK_PANEL_TIMER, wxCommandEvent)
 

Variables

const int DragThreshold = 3
 

Typedef Documentation

using UIHandlePtr = std::shared_ptr<UIHandle>

Definition at line 59 of file TrackPanel.h.

Enumeration Type Documentation

anonymous enum
Enumerator
kTimerInterval 

Definition at line 71 of file TrackPanel.h.

71  {
72  kTimerInterval = 50, // milliseconds
73 };
anonymous enum : int
Enumerator
kLeftInset 
kRightInset 
kTopInset 
kShadowThickness 
kBorderThickness 
kTopMargin 
kBottomMargin 
kLeftMargin 
kRightMargin 

Definition at line 559 of file TrackPanel.h.

anonymous enum : int
Enumerator
kTrackInfoWidth 
kTrackInfoBtnSize 
kTrackInfoSliderHeight 
kTrackInfoSliderWidth 
kTrackInfoSliderAllowance 
kTrackInfoSliderExtra 

Definition at line 571 of file TrackPanel.h.

Function Documentation

enum UndoPush unsigned char wxDECLARE_EXPORTED_EVENT ( AUDACITY_DLL_API  ,
EVT_TRACK_PANEL_TIMER  ,
wxCommandEvent   
)
strong

Variable Documentation

const int DragThreshold = 3

Definition at line 242 of file TrackPanel.h.

Referenced by ZoomHandle::IsDragZooming().