Audacity 3.2.0
|
#include "MixerBoard.h"
#include <cfloat>
#include <math.h>
#include <wx/setup.h>
#include <wx/app.h>
#include <wx/bmpbuttn.h>
#include <wx/dcclient.h>
#include <wx/icon.h>
#include <wx/settings.h>
#include "AColor.h"
#include "AllThemeResources.h"
#include "AudioIO.h"
#include "NoteTrack.h"
#include "AudioSegmentSampleView.h"
#include "CommonCommandFlags.h"
#include "KeyboardCapture.h"
#include "prefs/GUISettings.h"
#include "PendingTracks.h"
#include "Project.h"
#include "ProjectAudioIO.h"
#include "ProjectAudioManager.h"
#include "ProjectHistory.h"
#include "ProjectFileIO.h"
#include "ProjectWindow.h"
#include "ProjectWindows.h"
#include "SelectUtilities.h"
#include "Theme.h"
#include "TrackPanel.h"
#include "TrackUtilities.h"
#include "UndoManager.h"
#include "Viewport.h"
#include "WaveTrack.h"
#include "widgets/AButton.h"
#include "widgets/MeterPanel.h"
#include "widgets/auStaticText.h"
#include "../images/MusicalInstruments.h"
#include "../images/AudacityLogo.xpm"
#include "MenuCreator.h"
#include <numeric>
#include "CommandContext.h"
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{MixerBoard.cpp} |
Macros | |
#define | AudacityMixerBoardTitle XO("Audacity Mixer%s") |
#define | MIXER_BOARD_MIN_HEIGHT 460 |
#define | MIXER_BOARD_MIN_WIDTH kTripleInset + kMixerTrackClusterWidth*2 + kTripleInset |
Enumerations | |
enum | { ID_BITMAPBUTTON_MUSICAL_INSTRUMENT = 13000 , ID_SLIDER_PAN , ID_SLIDER_GAIN , ID_SLIDER_VELOCITY , ID_TOGGLEBUTTON_MUTE , ID_TOGGLEBUTTON_SOLO } |
Functions | |
size_t | anonymous_namespace{MixerBoard.cpp}::GetNumSamplesInView (const ChannelSampleView &view) |
void | anonymous_namespace{MixerBoard.cpp}::FillBufferWithSampleView (float *buffer, const ChannelSampleView &view) |
const ReservedCommandFlag & | anonymous_namespace{MixerBoard.cpp}::PlayableTracksExistFlag () |
void | anonymous_namespace{MixerBoard.cpp}::OnMixerBoard (const CommandContext &context) |
Variables | |
const int | kInset = 4 |
const int | kDoubleInset = (2 * kInset) |
const int | kTripleInset = (3 * kInset) |
const int | kQuadrupleInset = (4 * kInset) |
const int | TRACK_NAME_HEIGHT = 18 |
const int | MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH = 48 |
const int | MUTE_SOLO_HEIGHT = 19 |
const int | PAN_HEIGHT = 24 |
const int | kLeftSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH - kDoubleInset |
const int | kRightSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset |
const int | kMixerTrackClusterWidth = kLeftSideStackWidth + kRightSideStackWidth + kQuadrupleInset |
const wxSize | kDefaultSize |
AttachedWindows::RegisteredFactory | anonymous_namespace{MixerBoard.cpp}::sMixerBoardKey |
AttachedItem | anonymous_namespace{MixerBoard.cpp}::sAttachment |
Definition at line 72 of file MixerBoard.cpp.
#define MIXER_BOARD_MIN_HEIGHT 460 |
Definition at line 843 of file MixerBoard.cpp.
#define MIXER_BOARD_MIN_WIDTH kTripleInset + kMixerTrackClusterWidth*2 + kTripleInset |
Definition at line 846 of file MixerBoard.cpp.
anonymous enum |
Enumerator | |
---|---|
ID_BITMAPBUTTON_MUSICAL_INSTRUMENT | |
ID_SLIDER_PAN | |
ID_SLIDER_GAIN | |
ID_SLIDER_VELOCITY | |
ID_TOGGLEBUTTON_MUTE | |
ID_TOGGLEBUTTON_SOLO |
Definition at line 151 of file MixerBoard.cpp.
const wxSize kDefaultSize |
Definition at line 1390 of file MixerBoard.cpp.
const int kDoubleInset = (2 * kInset) |
Definition at line 138 of file MixerBoard.cpp.
Referenced by MixerBoard::GetTrackClustersWidth(), MixerTrackCluster::HandleResize(), MixerBoard::UpdateTrackClusters(), and MixerBoard::UpdateWidth().
const int kInset = 4 |
Definition at line 137 of file MixerBoard.cpp.
Referenced by MixerBoard::CreateMuteSoloImages(), MixerBoard::GetTrackClustersWidth(), MixerTrackCluster::HandleResize(), MixerBoard::MixerBoard(), MixerBoard::RemoveTrackCluster(), and MixerBoard::UpdateTrackClusters().
const int kLeftSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH - kDoubleInset |
Definition at line 147 of file MixerBoard.cpp.
const int kMixerTrackClusterWidth = kLeftSideStackWidth + kRightSideStackWidth + kQuadrupleInset |
Definition at line 149 of file MixerBoard.cpp.
Referenced by MixerBoard::GetTrackClustersWidth(), MixerBoard::RemoveTrackCluster(), and MixerBoard::UpdateTrackClusters().
const int kQuadrupleInset = (4 * kInset) |
Definition at line 140 of file MixerBoard.cpp.
Referenced by MixerTrackCluster::HandleResize().
const int kRightSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset |
Definition at line 148 of file MixerBoard.cpp.
Referenced by MixerBoard::CreateMuteSoloImages(), and MixerBoard::MixerBoard().
const int kTripleInset = (3 * kInset) |
Definition at line 139 of file MixerBoard.cpp.
const int MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH = 48 |
Definition at line 143 of file MixerBoard.cpp.
Referenced by MixerTrackCluster::HandleResize(), and MixerBoard::LoadMusicalInstruments().
const int MUTE_SOLO_HEIGHT = 19 |
Definition at line 144 of file MixerBoard.cpp.
Referenced by MixerBoard::CreateMuteSoloImages(), and MixerTrackCluster::HandleResize().
const int PAN_HEIGHT = 24 |
Definition at line 145 of file MixerBoard.cpp.
Referenced by MixerTrackCluster::HandleResize().
const int TRACK_NAME_HEIGHT = 18 |
Definition at line 142 of file MixerBoard.cpp.
Referenced by MixerTrackCluster::HandleResize().