Audacity  2.2.0
EditToolBar.cpp File Reference
#include "../Audacity.h"
#include "EditToolBar.h"
#include <wx/wxprec.h>
#include <wx/event.h>
#include <wx/image.h>
#include <wx/intl.h>
#include <wx/sizer.h>
#include <wx/tooltip.h>
#include "../AllThemeResources.h"
#include "../AudioIO.h"
#include "../ImageManipulation.h"
#include "../Internat.h"
#include "../Prefs.h"
#include "../Project.h"
#include "../Theme.h"
#include "../Track.h"
#include "../UndoManager.h"
#include "../widgets/AButton.h"
#include "../Experimental.h"

Classes

struct  Entry
 

Functions

 IMPLEMENT_CLASS (EditToolBar, ToolBar)
 
 EVT_COMMAND_RANGE (ETBCutID, ETBCutID+ETBNumButtons-1, wxEVT_COMMAND_BUTTON_CLICKED, EditToolBar::OnButton) EditToolBar
 Methods for EditToolBar. More...
 

Variables

const int BUTTON_WIDTH = 27
 
const int SEPARATOR_WIDTH = 14
 
static const struct Entry EditToolbarButtonList []
 

Function Documentation

EVT_COMMAND_RANGE ( ETBCutID  ,
ETBCutID+ETBNumButtons 1,
wxEVT_COMMAND_BUTTON_CLICKED  ,
EditToolBar::OnButton   
)

Methods for EditToolBar.

IMPLEMENT_CLASS ( EditToolBar  ,
ToolBar   
)

Variable Documentation

const int BUTTON_WIDTH = 27
const struct Entry EditToolbarButtonList[]
static
Initial value:
= {
{ ETBCutID, wxT("Cut"), XO("Cut") },
{ ETBCopyID, wxT("Copy"), XO("Copy") },
{ ETBPasteID, wxT("Paste"), XO("Paste") },
{ ETBTrimID, wxT("Trim"), XO("Trim audio outside selection") },
{ ETBSilenceID, wxT("Silence"), XO("Silence audio selection") },
{ ETBUndoID, wxT("Undo"), XO("Undo") },
{ ETBRedoID, wxT("Redo"), XO("Redo") },
{ ETBZoomInID, wxT("ZoomIn"), XO("Zoom In") },
{ ETBZoomOutID, wxT("ZoomOut"), XO("Zoom Out") },
{ ETBZoomSelID, wxT("ZoomSel"), XO("Fit selection in window") },
{ ETBZoomFitID, wxT("FitInWindow"), XO("Fit project in window") },
}
Definition: EditToolBar.h:38
Definition: EditToolBar.h:50
Definition: EditToolBar.h:33
Definition: EditToolBar.h:57
Definition: EditToolBar.h:49
#define XO(s)
Definition: Audacity.h:202
Definition: EditToolBar.h:34
Definition: EditToolBar.h:32
Definition: EditToolBar.h:35
Definition: EditToolBar.h:56
Definition: EditToolBar.h:37
Definition: EditToolBar.h:31

Referenced by EditToolBar::ForAllButtons(), and EditToolBar::OnButton().

const int SEPARATOR_WIDTH = 14