Audacity  2.2.0
ExportMixerPanel Class Referencefinal

Panel that displays mixing for advanced mixing option. More...

#include <Export.h>

Inheritance diagram for ExportMixerPanel:
wxTabTraversalWrapper< Base >

Public Member Functions

 ExportMixerPanel (MixerSpec *mixerSpec, wxArrayString trackNames, wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~ExportMixerPanel ()
 
void OnMouseEvent (wxMouseEvent &event)
 
void OnPaint (wxPaintEvent &event)
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void SetFont (wxMemoryDC &memDC, const wxString &text, int width, int height)
 
double Distance (wxPoint &a, wxPoint &b)
 
bool IsOnLine (wxPoint p, wxPoint la, wxPoint lb)
 

Private Attributes

std::unique_ptr< wxBitmap > mBitmap
 
wxRect mEnvRect
 
int mWidth
 
int mHeight
 
MixerSpecmMixerSpec
 
ArrayOf< wxRect > mChannelRects
 
ArrayOf< wxRect > mTrackRects
 
int mSelectedTrack
 
int mSelectedChannel
 
wxArrayString mTrackNames
 
int mBoxWidth
 
int mChannelHeight
 
int mTrackHeight
 

Detailed Description

Panel that displays mixing for advanced mixing option.

Constructor & Destructor Documentation

ExportMixerPanel::ExportMixerPanel ( MixerSpec mixerSpec,
wxArrayString  trackNames,
wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize 
)
ExportMixerPanel::~ExportMixerPanel ( )
virtual

Member Function Documentation

double ExportMixerPanel::Distance ( wxPoint &  a,
wxPoint &  b 
)
private

Referenced by IsOnLine().

bool ExportMixerPanel::IsOnLine ( wxPoint  p,
wxPoint  la,
wxPoint  lb 
)
private

References Distance().

Referenced by OnMouseEvent().

void ExportMixerPanel::SetFont ( wxMemoryDC &  memDC,
const wxString &  text,
int  width,
int  height 
)
private

Referenced by OnPaint().

Member Data Documentation

std::unique_ptr<wxBitmap> ExportMixerPanel::mBitmap
private

Referenced by OnPaint().

int ExportMixerPanel::mBoxWidth
private

Referenced by OnMouseEvent(), and OnPaint().

int ExportMixerPanel::mChannelHeight
private

Referenced by OnMouseEvent(), and OnPaint().

ArrayOf<wxRect> ExportMixerPanel::mChannelRects
private

Referenced by OnMouseEvent(), and OnPaint().

wxRect ExportMixerPanel::mEnvRect
private
int ExportMixerPanel::mHeight
private

Referenced by OnPaint().

MixerSpec* ExportMixerPanel::mMixerSpec
private

Referenced by OnMouseEvent(), and OnPaint().

int ExportMixerPanel::mSelectedChannel
private

Referenced by OnMouseEvent(), and OnPaint().

int ExportMixerPanel::mSelectedTrack
private

Referenced by OnMouseEvent(), and OnPaint().

int ExportMixerPanel::mTrackHeight
private

Referenced by OnMouseEvent(), and OnPaint().

wxArrayString ExportMixerPanel::mTrackNames
private

Referenced by OnPaint().

ArrayOf<wxRect> ExportMixerPanel::mTrackRects
private

Referenced by OnMouseEvent(), and OnPaint().

int ExportMixerPanel::mWidth
private

Referenced by OnPaint().


The documentation for this class was generated from the following files: