Audacity  2.2.0
MixerBoard.cpp File Reference
#include "Audacity.h"
#include <cfloat>
#include <math.h>
#include <wx/dcmemory.h>
#include <wx/arrimpl.cpp>
#include <wx/icon.h>
#include <wx/settings.h>
#include "Theme.h"
#include "Experimental.h"
#include "MixerBoard.h"
#include "AColor.h"
#include "AllThemeResources.h"
#include "AudioIO.h"
#include "Project.h"
#include "TrackPanel.h"
#include "UndoManager.h"
#include "WaveTrack.h"
#include "widgets/Meter.h"
#include "../images/MusicalInstruments.h"
#include "../images/AudacityLogo48x48.xpm"

Macros

#define kInset   4
 
#define kDoubleInset   (2 * kInset)
 
#define kTripleInset   (3 * kInset)
 
#define kQuadrupleInset   (4 * kInset)
 
#define TRACK_NAME_HEIGHT   18
 
#define MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH   48
 
#define MUTE_SOLO_HEIGHT   19
 
#define PAN_HEIGHT   24
 
#define kLeftSideStackWidth   MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH - kDoubleInset
 
#define kRightSideStackWidth   MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset
 
#define kMixerTrackClusterWidth   kLeftSideStackWidth + kRightSideStackWidth + kQuadrupleInset
 
#define MIXER_BOARD_MIN_HEIGHT   460
 
#define MIXER_BOARD_MIN_WIDTH   kTripleInset + kMixerTrackClusterWidth + kTripleInset
 

Enumerations

enum  {
  ID_BITMAPBUTTON_MUSICAL_INSTRUMENT = 13000, ID_SLIDER_PAN, ID_SLIDER_GAIN, ID_TOGGLEBUTTON_MUTE,
  ID_TOGGLEBUTTON_SOLO
}
 

Variables

const wxSize kDefaultSize
 

Macro Definition Documentation

#define kLeftSideStackWidth   MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH - kDoubleInset
#define kQuadrupleInset   (4 * kInset)
#define kTripleInset   (3 * kInset)
#define MIXER_BOARD_MIN_HEIGHT   460
#define MIXER_BOARD_MIN_WIDTH   kTripleInset + kMixerTrackClusterWidth + kTripleInset

Referenced by MixerBoard::UpdateWidth().

#define MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH   48
#define MUTE_SOLO_HEIGHT   19
#define PAN_HEIGHT   24
#define TRACK_NAME_HEIGHT   18

Enumeration Type Documentation

anonymous enum
Enumerator
ID_BITMAPBUTTON_MUSICAL_INSTRUMENT 
ID_SLIDER_PAN 
ID_SLIDER_GAIN 
ID_TOGGLEBUTTON_MUTE 
ID_TOGGLEBUTTON_SOLO 

Variable Documentation

const wxSize kDefaultSize
Initial value:
=
#define MIXER_BOARD_MIN_HEIGHT
Definition: MixerBoard.cpp:861
#define MIXER_BOARD_MIN_WIDTH
Definition: MixerBoard.cpp:864