Audacity 3.2.0
|
#include "CommonTrackControls.h"
#include "TrackButtonHandles.h"
#include "TrackSelectHandle.h"
#include "AColor.h"
#include "../../RefreshCode.h"
#include "Project.h"
#include "ProjectHistory.h"
#include "../../ProjectWindows.h"
#include "../../TrackArtist.h"
#include "CommonTrackInfo.h"
#include "../../TrackPanelDrawingContext.h"
#include "../../TrackPanelMouseEvent.h"
#include "../../TrackUtilities.h"
#include <wx/textdlg.h>
#include "../../commands/AudacityCommand.h"
#include "CommandManager.h"
#include "ShuttleGui.h"
#include "Track.h"
#include "../../widgets/PopupMenuTable.h"
#include <wx/dc.h>
#include <wx/frame.h>
Go to the source code of this file.
Classes | |
class | TrackMenuTable |
class | SetTrackNameCommand |
Enumerations | |
enum | { OnSetNameID = 2000 , OnMoveUpID , OnMoveDownID , OnMoveTopID , OnMoveBottomID } |
Functions | |
AppendItem ("Name", OnSetNameID, XXO("Re&name Track..."), POPUP_MENU_FN(OnSetName)) | |
BeginSection ("Move") | |
AppendItem ("Up", OnMoveUpID, XXO("Move Track &Up").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveUp")).GET()), wxT("\t")), POPUP_MENU_FN(OnMoveTrack), enableIfCanMove(true)) | |
AppendItem ("Down", OnMoveDownID, XXO("Move Track &Down").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveDown")).GET()), wxT("\t")), POPUP_MENU_FN(OnMoveTrack), enableIfCanMove(false)) | |
AppendItem ("Top", OnMoveTopID, XXO("Move Track to &Top").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveTop")).GET()), wxT("\t")), POPUP_MENU_FN(OnMoveTrack), enableIfCanMove(true)) | |
AppendItem ("Bottom", OnMoveBottomID, XXO("Move Track to &Bottom").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveBottom")).GET()), wxT("\t")), POPUP_MENU_FN(OnMoveTrack), enableIfCanMove(false)) | |
EndSection () | |
Variables | |
static const auto | enableIfCanMove |
anonymous enum |
Enumerator | |
---|---|
OnSetNameID | |
OnMoveUpID | |
OnMoveDownID | |
OnMoveTopID | |
OnMoveBottomID |
Definition at line 69 of file CommonTrackControls.cpp.
AppendItem | ( | "Bottom" | , |
OnMoveBottomID | , | ||
XXO("Move Track to &Bottom").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveBottom")).GET()), wxT("\t")) | , | ||
POPUP_MENU_FN(OnMoveTrack) | , | ||
enableIfCanMove(false) | |||
) |
AppendItem | ( | "Down" | , |
OnMoveDownID | , | ||
XXO("Move Track &Down").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveDown")).GET()), wxT("\t")) | , | ||
POPUP_MENU_FN(OnMoveTrack) | , | ||
enableIfCanMove(false) | |||
) |
AppendItem | ( | "Name" | , |
OnSetNameID | , | ||
XXO("Re&name Track...") | , | ||
POPUP_MENU_FN(OnSetName) | |||
) |
AppendItem | ( | "Top" | , |
OnMoveTopID | , | ||
XXO("Move Track to &Top").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveTop")).GET()), wxT("\t")) | , | ||
POPUP_MENU_FN(OnMoveTrack) | , | ||
enableIfCanMove(true) | |||
) |
AppendItem | ( | "Up" | , |
OnMoveUpID | , | ||
XXO("Move Track &Up").Join(Verbatim(CommandManager::Get(mpData->project). GetKeyFromName(wxT("TrackMoveUp")).GET()), wxT("\t")) | , | ||
POPUP_MENU_FN(OnMoveTrack) | , | ||
enableIfCanMove(true) | |||
) |
BeginSection | ( | "Move" | ) |
EndSection | ( | ) |
|
static |
Definition at line 117 of file CommonTrackControls.cpp.