Audacity  2.2.2
Macros | Enumerations | Variables
MixerBoard.cpp File Reference
#include "Audacity.h"
#include <cfloat>
#include <math.h>
#include <wx/dcmemory.h>
#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"

Go to the source code of this file.

Macros

#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_TOGGLEBUTTON_MUTE,
  ID_TOGGLEBUTTON_SOLO
}
 

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
 

Macro Definition Documentation

#define MIXER_BOARD_MIN_HEIGHT   460

Definition at line 863 of file MixerBoard.cpp.

#define MIXER_BOARD_MIN_WIDTH   kTripleInset + kMixerTrackClusterWidth*2 + kTripleInset

Definition at line 866 of file MixerBoard.cpp.

Referenced by MixerBoard::UpdateWidth().

Enumeration Type Documentation

anonymous enum
Enumerator
ID_BITMAPBUTTON_MUSICAL_INSTRUMENT 
ID_SLIDER_PAN 
ID_SLIDER_GAIN 
ID_TOGGLEBUTTON_MUTE 
ID_TOGGLEBUTTON_SOLO 

Definition at line 134 of file MixerBoard.cpp.

134  {
138 #ifdef EXPERIMENTAL_MIDI_OUT
139  ID_SLIDER_VELOCITY,
140 #endif
143 };

Variable Documentation

const wxSize kDefaultSize
Initial value:
=
#define MIXER_BOARD_MIN_HEIGHT
Definition: MixerBoard.cpp:863
#define MIXER_BOARD_MIN_WIDTH
Definition: MixerBoard.cpp:866

Definition at line 1492 of file MixerBoard.cpp.

const int kDoubleInset = (2 * kInset)
const int kInset = 4
const int kLeftSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH - kDoubleInset

Definition at line 130 of file MixerBoard.cpp.

const int kMixerTrackClusterWidth = kLeftSideStackWidth + kRightSideStackWidth + kQuadrupleInset
const int kQuadrupleInset = (4 * kInset)

Definition at line 123 of file MixerBoard.cpp.

Referenced by MixerTrackCluster::HandleResize().

const int kRightSideStackWidth = MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset

Definition at line 131 of file MixerBoard.cpp.

Referenced by MixerBoard::CreateMuteSoloImages(), and MixerBoard::MixerBoard().

const int kTripleInset = (3 * kInset)

Definition at line 122 of file MixerBoard.cpp.

const int MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH = 48
const int MUTE_SOLO_HEIGHT = 19
const int PAN_HEIGHT = 24

Definition at line 128 of file MixerBoard.cpp.

Referenced by MixerTrackCluster::HandleResize().

const int TRACK_NAME_HEIGHT = 18

Definition at line 125 of file MixerBoard.cpp.

Referenced by MixerTrackCluster::HandleResize().