Audacity 3.2.0
Classes | Namespaces | Enumerations | Functions | Variables
NoteTrackVZoomHandle.cpp File Reference
#include "NoteTrackVZoomHandle.h"
#include "NoteTrackDisplayData.h"
#include "../../../ui/ChannelVRulerControls.h"
#include "../../../../HitTestResult.h"
#include "NoteTrack.h"
#include "Project.h"
#include "ProjectHistory.h"
#include "../../../../RefreshCode.h"
#include "../../../../TrackArtist.h"
#include "../../../../TrackPanelMouseEvent.h"
#include "../../../../widgets/PopupMenuTable.h"
#include "../../../../../images/Cursors.h"
#include "Prefs.h"
Include dependency graph for NoteTrackVZoomHandle.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{NoteTrackVZoomHandle.cpp}::InitMenuData
 
class  NoteTrackVRulerMenuTable
 

Namespaces

namespace  anonymous_namespace{NoteTrackVZoomHandle.cpp}
 

Enumerations

enum  {
  OnZoomFitVerticalID = 20000 , OnZoomResetID , OnZoomDiv2ID , OnZoomTimes2ID ,
  OnZoomHalfWaveID , OnZoomInVerticalID , OnZoomOutVerticalID , OnZoomMaxID ,
  OnUpOctaveID , OnDownOctaveID
}
 

Functions

bool anonymous_namespace{NoteTrackVZoomHandle.cpp}::IsDragZooming (int zoomStart, int zoomEnd)
 
 BeginSection ("Zoom")
 
 BeginSection ("Basic")
 
 AppendItem ("Reset", OnZoomResetID, MakeLabel(XXO("Zoom Reset"), bVZoom, XXO("Shift-Right-Click")), POPUP_MENU_FN(OnZoomReset))
 
 AppendItem ("Max", OnZoomMaxID, XXO("Max Zoom"), POPUP_MENU_FN(OnZoomMax))
 
 EndSection ()
 
 BeginSection ("InOut")
 
 AppendItem ("In", OnZoomInVerticalID, MakeLabel(XXO("Zoom In"), bVZoom, XXO("Left-Click/Left-Drag")), POPUP_MENU_FN(OnZoomInVertical))
 
 AppendItem ("Out", OnZoomOutVerticalID, MakeLabel(XXO("Zoom Out"), bVZoom, XXO("Shift-Left-Click")), POPUP_MENU_FN(OnZoomOutVertical))
 
 BeginSection ("Pan")
 
 BeginSection ("Octaves")
 
 AppendItem ("Up", OnUpOctaveID, XXO("Up &Octave"), POPUP_MENU_FN(OnUpOctave))
 
 AppendItem ("Down", OnDownOctaveID, XXO("Down Octa&ve"), POPUP_MENU_FN(OnDownOctave))
 

Variables

bool bVZoom = true
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OnZoomFitVerticalID 
OnZoomResetID 
OnZoomDiv2ID 
OnZoomTimes2ID 
OnZoomHalfWaveID 
OnZoomInVerticalID 
OnZoomOutVerticalID 
OnZoomMaxID 
OnUpOctaveID 
OnDownOctaveID 

Definition at line 143 of file NoteTrackVZoomHandle.cpp.

143 {
144 OnZoomFitVerticalID = 20000,
151
153
156};
@ OnZoomTimes2ID
@ OnZoomOutVerticalID
@ OnZoomFitVerticalID
@ OnZoomHalfWaveID
@ OnDownOctaveID
@ OnZoomInVerticalID

Function Documentation

◆ AppendItem() [1/6]

AppendItem ( "Down"  ,
OnDownOctaveID  ,
XXO("Down Octa&ve")  ,
POPUP_MENU_FN(OnDownOctave)   
)

◆ AppendItem() [2/6]

AppendItem ( "In"  ,
OnZoomInVerticalID  ,
MakeLabel(XXO("Zoom In"), bVZoom, XXO("Left-Click/Left-Drag"))  ,
POPUP_MENU_FN(OnZoomInVertical)   
)

◆ AppendItem() [3/6]

AppendItem ( "Max"  ,
OnZoomMaxID  ,
XXO("Max Zoom")  ,
POPUP_MENU_FN(OnZoomMax)   
)

◆ AppendItem() [4/6]

AppendItem ( "Out"  ,
OnZoomOutVerticalID  ,
MakeLabel(XXO("Zoom Out"), bVZoom, XXO("Shift-Left-Click"))  ,
POPUP_MENU_FN(OnZoomOutVertical)   
)

◆ AppendItem() [5/6]

AppendItem ( "Reset"  ,
OnZoomResetID  ,
MakeLabel(XXO("Zoom Reset"), bVZoom, XXO("Shift-Right-Click"))  ,
POPUP_MENU_FN(OnZoomReset)   
)

◆ AppendItem() [6/6]

AppendItem ( "Up"  ,
OnUpOctaveID  ,
XXO("Up &Octave")  ,
POPUP_MENU_FN(OnUpOctave)   
)

◆ BeginSection() [1/5]

BeginSection ( "Basic"  )

◆ BeginSection() [2/5]

BeginSection ( "InOut"  )

◆ BeginSection() [3/5]

BeginSection ( "Octaves"  )

◆ BeginSection() [4/5]

BeginSection ( "Pan"  )

◆ BeginSection() [5/5]

BeginSection ( "Zoom"  )

◆ EndSection()

EndSection ( )

Variable Documentation

◆ bVZoom

bool bVZoom = true

Definition at line 252 of file NoteTrackVZoomHandle.cpp.

Referenced by WaveChannelVZoomHandle::HitPreview().