Audacity  2.2.0
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 DECLARE_EXPORTED_EVENT_TYPE (AUDACITY_DLL_API, EVT_TRACK_PANEL_TIMER,-1)
 

Variables

const int DragThreshold = 3
 

Typedef Documentation

using UIHandlePtr = std::shared_ptr<UIHandle>

Enumeration Type Documentation

anonymous enum
Enumerator
kTimerInterval 
anonymous enum : int
Enumerator
kLeftInset 
kRightInset 
kTopInset 
kShadowThickness 
kBorderThickness 
kTopMargin 
kBottomMargin 
kLeftMargin 
kRightMargin 
anonymous enum : int
Enumerator
kTrackInfoWidth 
kTrackInfoBtnSize 
kTrackInfoSliderHeight 
kTrackInfoSliderWidth 
kTrackInfoSliderAllowance 
kTrackInfoSliderExtra 

Function Documentation

enum UndoPush unsigned char DECLARE_EXPORTED_EVENT_TYPE ( AUDACITY_DLL_API  ,
EVT_TRACK_PANEL_TIMER  ,
1 
)
strong

Variable Documentation

const int DragThreshold = 3