Audacity  2.2.0
DeviceToolBar.cpp File Reference
#include "../Audacity.h"
#include "DeviceToolBar.h"
#include <wx/wxprec.h>
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/intl.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/statbmp.h>
#include <wx/tooltip.h>
#include "ToolDock.h"
#include "../TrackPanel.h"
#include "../AColor.h"
#include "../AllThemeResources.h"
#include "../AudioIO.h"
#include "../ImageManipulation.h"
#include "../Prefs.h"
#include "../Project.h"
#include "../ShuttleGui.h"
#include "../Theme.h"
#include "../widgets/Grabber.h"
#include "../DeviceManager.h"

Macros

#define kHostWidthRatio   0.13f
 
#define kInputWidthRatio   0.32f
 
#define kOutputWidthRatio   0.32f
 
#define kChannelsWidthRatio   0.18f
 

Functions

 IMPLEMENT_CLASS (DeviceToolBar, ToolBar)
 
static bool RepositionCombo (wxWindow *combo, int toolbarWidth, wxSize desiredSize, float &ratio, float &flex, int marginPixels, bool changesRatio)
 

Macro Definition Documentation

#define kChannelsWidthRatio   0.18f
#define kHostWidthRatio   0.13f
#define kInputWidthRatio   0.32f
#define kOutputWidthRatio   0.32f

Function Documentation

IMPLEMENT_CLASS ( DeviceToolBar  ,
ToolBar   
)
static bool RepositionCombo ( wxWindow *  combo,
int  toolbarWidth,
wxSize  desiredSize,
float &  ratio,
float &  flex,
int  marginPixels,
bool  changesRatio 
)
static