Audacity  2.2.2
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
EffectAutoDuckPanel Class Referencefinal

#include <AutoDuck.h>

Inheritance diagram for EffectAutoDuckPanel:
wxPanelWrapper wxTabTraversalWrapper< wxPanel >

Public Member Functions

 EffectAutoDuckPanel (wxWindow *parent, wxWindowID winid, EffectAutoDuck *effect)
 
virtual ~EffectAutoDuckPanel ()
 
- Public Member Functions inherited from wxPanelWrapper
 wxPanelWrapper ()
 
 wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
bool Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const wxString &name=_("Panel"))
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxPanel >
 wxTabTraversalWrapper (Args &&...args)
 

Private Types

enum  EControlPoint {
  innerFadeDown = 0, outerFadeDown, innerFadeUp, outerFadeUp,
  duckAmount, none = 99
}
 

Private Member Functions

bool AcceptsFocus () const override
 
bool AcceptsFocusFromKeyboard () const override
 
void OnPaint (wxPaintEvent &evt)
 
void OnMouseCaptureChanged (wxMouseCaptureChangedEvent &evt)
 
void OnMouseCaptureLost (wxMouseCaptureLostEvent &evt)
 
void OnLeftDown (wxMouseEvent &evt)
 
void OnLeftUp (wxMouseEvent &evt)
 
void OnMotion (wxMouseEvent &evt)
 
void ResetControlPoints ()
 
EControlPoint GetNearestControlPoint (const wxPoint &pt)
 

Private Attributes

wxWindow * mParent
 
EffectAutoDuckmEffect
 
std::unique_ptr< wxBitmap > mBackgroundBitmap
 
EControlPoint mCurrentControlPoint
 
wxPoint mControlPoints [AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
 
wxPoint mMoveStartControlPoints [AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
 
wxPoint mMouseDownPoint
 
bool mControlPointMoveActivated
 

Detailed Description

Definition at line 95 of file AutoDuck.h.

Member Enumeration Documentation

Enumerator
innerFadeDown 
outerFadeDown 
innerFadeUp 
outerFadeUp 
duckAmount 
none 

Definition at line 103 of file AutoDuck.h.

Constructor & Destructor Documentation

EffectAutoDuckPanel::EffectAutoDuckPanel ( wxWindow *  parent,
wxWindowID  winid,
EffectAutoDuck effect 
)

Definition at line 625 of file AutoDuck.cpp.

References none.

627 : wxPanelWrapper(parent, winid, wxDefaultPosition, wxSize(600, 300))
628 {
629  mParent = parent;
630  mEffect = effect;
632  mBackgroundBitmap = NULL;
633 
635 }
wxWindow * mParent
Definition: AutoDuck.h:129
EffectAutoDuck * mEffect
Definition: AutoDuck.h:130
void ResetControlPoints()
Definition: AutoDuck.cpp:643
std::unique_ptr< wxBitmap > mBackgroundBitmap
Definition: AutoDuck.h:131
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
EffectAutoDuckPanel::~EffectAutoDuckPanel ( )
virtual

Definition at line 637 of file AutoDuck.cpp.

638 {
639  if(HasCapture())
640  ReleaseMouse();
641 }

Member Function Documentation

bool EffectAutoDuckPanel::AcceptsFocus ( ) const
inlineoverrideprivate

Definition at line 113 of file AutoDuck.h.

113 { return false; }
bool EffectAutoDuckPanel::AcceptsFocusFromKeyboard ( ) const
inlineoverrideprivate

Definition at line 115 of file AutoDuck.h.

115 { return false; }
EffectAutoDuckPanel::EControlPoint EffectAutoDuckPanel::GetNearestControlPoint ( const wxPoint &  pt)
private

Definition at line 834 of file AutoDuck.cpp.

References AUTO_DUCK_PANEL_NUM_CONTROL_POINTS, CONTROL_POINT_REGION, GetDistance(), mControlPoints, and none.

Referenced by OnLeftDown(), and OnMotion().

835 {
837  int i;
838 
839  for (i = 0; i < AUTO_DUCK_PANEL_NUM_CONTROL_POINTS; i++)
840  dist[i] = GetDistance(pt, mControlPoints[i]);
841 
842  int curMinimum = 0;
843  for (i = 0; i < AUTO_DUCK_PANEL_NUM_CONTROL_POINTS; i++)
844  if (dist[i] < dist[curMinimum])
845  curMinimum = i;
846 
847  if (dist[curMinimum] <= CONTROL_POINT_REGION)
848  return (EControlPoint)curMinimum;
849  else
850  return none;
851 }
static int GetDistance(const wxPoint &first, const wxPoint &second)
Definition: AutoDuck.cpp:606
#define AUTO_DUCK_PANEL_NUM_CONTROL_POINTS
Definition: AutoDuck.h:27
#define CONTROL_POINT_REGION
Definition: AutoDuck.cpp:594
wxPoint mControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
Definition: AutoDuck.h:133
void EffectAutoDuckPanel::OnLeftDown ( wxMouseEvent &  evt)
private

Definition at line 853 of file AutoDuck.cpp.

References AUTO_DUCK_PANEL_NUM_CONTROL_POINTS, GetNearestControlPoint(), mControlPointMoveActivated, mControlPoints, mCurrentControlPoint, mMouseDownPoint, mMoveStartControlPoints, and none.

854 {
855  EControlPoint nearest = GetNearestControlPoint(evt.GetPosition());
856 
857  if (nearest != none)
858  {
859  // this control point has been clicked
860  mMouseDownPoint = evt.GetPosition();
861 
862  mCurrentControlPoint = nearest;
864 
865  for (int i = 0; i < AUTO_DUCK_PANEL_NUM_CONTROL_POINTS; i++)
867 
868  if( !HasCapture() )
869  CaptureMouse();
870  }
871 }
EControlPoint GetNearestControlPoint(const wxPoint &pt)
Definition: AutoDuck.cpp:834
#define AUTO_DUCK_PANEL_NUM_CONTROL_POINTS
Definition: AutoDuck.h:27
wxPoint mMouseDownPoint
Definition: AutoDuck.h:135
bool mControlPointMoveActivated
Definition: AutoDuck.h:136
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
wxPoint mControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
Definition: AutoDuck.h:133
wxPoint mMoveStartControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
Definition: AutoDuck.h:134
void EffectAutoDuckPanel::OnLeftUp ( wxMouseEvent &  evt)
private

Definition at line 873 of file AutoDuck.cpp.

References mCurrentControlPoint, and none.

874 {
875  if (mCurrentControlPoint != none)
876  {
878  ReleaseMouse();
879  }
880 }
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
void EffectAutoDuckPanel::OnMotion ( wxMouseEvent &  evt)
private

Definition at line 882 of file AutoDuck.cpp.

References CONTROL_POINT_MIN_MOVE, DUCK_AMOUNT_SCALE, DUCK_AMOUNT_START, duckAmount, FADE_DOWN_START, FADE_SCALE, FADE_UP_START, GetNearestControlPoint(), innerFadeDown, innerFadeUp, mControlPointMoveActivated, mCurrentControlPoint, EffectAutoDuck::mDuckAmountDb, mEffect, EffectAutoDuck::mInnerFadeDownLen, EffectAutoDuck::mInnerFadeUpLen, mMouseDownPoint, EffectAutoDuck::mOuterFadeDownLen, EffectAutoDuck::mOuterFadeUpLen, none, outerFadeDown, outerFadeUp, EffectAutoDuck::TransferDataToWindow(), and TrapDouble().

883 {
884  switch (GetNearestControlPoint(evt.GetPosition()))
885  {
886  case none:
887  SetCursor(wxNullCursor);
888  break;
889  case innerFadeDown:
890  case innerFadeUp:
891  case outerFadeDown:
892  case outerFadeUp:
893  SetCursor(wxCursor(wxCURSOR_SIZEWE));
894  break;
895  case duckAmount:
896  SetCursor(wxCursor(wxCURSOR_SIZENS));
897  break;
898  }
899 
900  if (mCurrentControlPoint != none)
901  {
903  {
904  int dist;
905 
907  dist = abs(evt.GetY() - mMouseDownPoint.y);
908  else
909  dist = abs(evt.GetX() - mMouseDownPoint.x);
910 
911  if (dist >= CONTROL_POINT_MIN_MOVE)
913  }
914 
916  {
917  float newValue;
918 
919  switch (mCurrentControlPoint)
920  {
921  case outerFadeDown:
922  newValue = ((double)(FADE_DOWN_START - evt.GetX())) / FADE_SCALE;
923  mEffect->mOuterFadeDownLen = TrapDouble(newValue, MIN_OuterFadeDownLen, MAX_OuterFadeDownLen);
924  break;
925  case outerFadeUp:
926  newValue = ((double)(evt.GetX() - FADE_UP_START)) / FADE_SCALE;
927  mEffect->mOuterFadeUpLen = TrapDouble(newValue, MIN_OuterFadeUpLen, MAX_OuterFadeUpLen);
928  break;
929  case innerFadeDown:
930  newValue = ((double)(evt.GetX() - FADE_DOWN_START)) / FADE_SCALE;
931  mEffect->mInnerFadeDownLen = TrapDouble(newValue, MIN_InnerFadeDownLen, MAX_InnerFadeDownLen);
932  break;
933  case innerFadeUp:
934  newValue = ((double)(FADE_UP_START - evt.GetX())) / FADE_SCALE;
935  mEffect->mInnerFadeUpLen = TrapDouble(newValue, MIN_InnerFadeUpLen, MAX_InnerFadeUpLen);
936  break;
937  case duckAmount:
938  newValue = ((double)(DUCK_AMOUNT_START - evt.GetY())) / DUCK_AMOUNT_SCALE;
939  mEffect->mDuckAmountDb = TrapDouble(newValue, MIN_DuckAmountDb, MAX_DuckAmountDb);
940  break;
941  case none:
942  wxASSERT(false); // should not happen
943  }
945  Refresh(false);
946  }
947  }
948 }
EControlPoint GetNearestControlPoint(const wxPoint &pt)
Definition: AutoDuck.cpp:834
wxPoint mMouseDownPoint
Definition: AutoDuck.h:135
double mInnerFadeDownLen
Definition: AutoDuck.h:72
EffectAutoDuck * mEffect
Definition: AutoDuck.h:130
double mOuterFadeUpLen
Definition: AutoDuck.h:75
bool mControlPointMoveActivated
Definition: AutoDuck.h:136
double mDuckAmountDb
Definition: AutoDuck.h:71
#define DUCK_AMOUNT_START
Definition: AutoDuck.cpp:601
#define CONTROL_POINT_MIN_MOVE
Definition: AutoDuck.cpp:595
#define FADE_UP_START
Definition: AutoDuck.cpp:600
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
double TrapDouble(double x, double min, double max)
Definition: Effect.h:729
#define FADE_SCALE
Definition: AutoDuck.cpp:603
#define DUCK_AMOUNT_SCALE
Definition: AutoDuck.cpp:604
bool TransferDataToWindow() override
Definition: AutoDuck.cpp:496
double mOuterFadeDownLen
Definition: AutoDuck.h:74
#define FADE_DOWN_START
Definition: AutoDuck.cpp:599
double mInnerFadeUpLen
Definition: AutoDuck.h:73
void EffectAutoDuckPanel::OnMouseCaptureChanged ( wxMouseCaptureChangedEvent &  evt)
private

Definition at line 815 of file AutoDuck.cpp.

References mCurrentControlPoint, and none.

817 {
818  SetCursor(wxNullCursor);
820 }
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
void EffectAutoDuckPanel::OnMouseCaptureLost ( wxMouseCaptureLostEvent &  evt)
private

Definition at line 822 of file AutoDuck.cpp.

References mCurrentControlPoint, and none.

824 {
826 
827  if (HasCapture())
828  {
829  ReleaseMouse();
830  }
831 }
EControlPoint mCurrentControlPoint
Definition: AutoDuck.h:132
void EffectAutoDuckPanel::OnPaint ( wxPaintEvent &  evt)
private

Definition at line 652 of file AutoDuck.cpp.

References _(), AUTO_DUCK_PANEL_NUM_CONTROL_POINTS, ThemeBase::Colour(), DUCK_AMOUNT_SCALE, DUCK_AMOUNT_START, duckAmount, AColor::envelopePen, FADE_DOWN_START, FADE_SCALE, FADE_UP_START, innerFadeDown, innerFadeUp, AColor::Line(), mBackgroundBitmap, mControlPoints, EffectAutoDuck::mDuckAmountDbBox, mEffect, EffectAutoDuck::mInnerFadeDownLenBox, EffectAutoDuck::mInnerFadeUpLenBox, EffectAutoDuck::mOuterFadeDownLenBox, EffectAutoDuck::mOuterFadeUpLenBox, outerFadeDown, outerFadeUp, ResetControlPoints(), TEXT_DISTANCE, theTheme, and Internat::ToDisplayString().

653 {
654  int clientWidth, clientHeight;
655  GetSize(&clientWidth, &clientHeight);
656 
657  if (!mBackgroundBitmap || mBackgroundBitmap->GetWidth() != clientWidth ||
658  mBackgroundBitmap->GetHeight() != clientHeight)
659  {
660  mBackgroundBitmap = std::make_unique<wxBitmap>(clientWidth, clientHeight);
661  }
662 
663  wxMemoryDC dc;
664  dc.SelectObject(*mBackgroundBitmap);
665 
666  dc.SetBrush(*wxWHITE_BRUSH);
667  dc.SetPen(*wxBLACK_PEN);
668  dc.DrawRectangle(0, 0, clientWidth, clientHeight);
669 
670  dc.SetFont(wxFont(10, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL,
671  wxFONTWEIGHT_NORMAL));
672  dc.SetTextForeground(*wxBLACK);
673  dc.SetTextBackground(*wxWHITE);
674 
675  double duckAmountDb = 0;
676  double innerFadeDownLen = 0;
677  double innerFadeUpLen = 0;
678  double outerFadeDownLen = 0;
679  double outerFadeUpLen = 0;
680  mEffect->mDuckAmountDbBox->GetValue().ToDouble(&duckAmountDb);
681  mEffect->mInnerFadeDownLenBox->GetValue().ToDouble(&innerFadeDownLen);
682  mEffect->mInnerFadeUpLenBox->GetValue().ToDouble(&innerFadeUpLen);
683  mEffect->mOuterFadeDownLenBox->GetValue().ToDouble(&outerFadeDownLen);
684  mEffect->mOuterFadeUpLenBox->GetValue().ToDouble(&outerFadeUpLen);
685 
686  if (innerFadeDownLen < MIN_InnerFadeDownLen || innerFadeDownLen > MAX_InnerFadeDownLen ||
687  innerFadeUpLen < MIN_InnerFadeUpLen || innerFadeUpLen > MAX_InnerFadeUpLen ||
688  outerFadeDownLen < MIN_OuterFadeDownLen || outerFadeDownLen > MAX_OuterFadeDownLen ||
689  outerFadeUpLen < MIN_OuterFadeUpLen || outerFadeUpLen > MAX_OuterFadeUpLen ||
690  duckAmountDb < MIN_DuckAmountDb || duckAmountDb > MAX_DuckAmountDb)
691  {
692  // values are out of range, no preview available
693  wxString message = _("Preview not available");
694  int textWidth = 0, textHeight = 0;
695  dc.GetTextExtent(message, &textWidth, &textHeight);
696  dc.DrawText(message, (clientWidth - textWidth) / 2,
697  (clientHeight - textHeight) / 2);
698 
700  } else
701  {
702  // draw preview
703  dc.SetBrush(*wxTRANSPARENT_BRUSH);
704  dc.SetPen(wxPen(theTheme.Colour(clrGraphLines), 3, wxSOLID));
705 
706  wxPoint points[6];
707 
708  points[0].x = 10;
709  points[0].y = DUCK_AMOUNT_START;
710 
711  points[1].x = FADE_DOWN_START - (int)(outerFadeDownLen * FADE_SCALE);
712  points[1].y = DUCK_AMOUNT_START;
713 
714  points[2].x = FADE_DOWN_START + (int)(innerFadeDownLen * FADE_SCALE);
715  points[2].y = DUCK_AMOUNT_START -
716  (int)(duckAmountDb * DUCK_AMOUNT_SCALE);
717 
718  points[3].x = FADE_UP_START - (int)(innerFadeUpLen * FADE_SCALE);
719  points[3].y = DUCK_AMOUNT_START -
720  (int)(duckAmountDb * DUCK_AMOUNT_SCALE);
721 
722  points[4].x = FADE_UP_START + (int)(outerFadeUpLen * FADE_SCALE);
723  points[4].y = DUCK_AMOUNT_START;
724 
725  points[5].x = clientWidth - 10;
726  points[5].y = DUCK_AMOUNT_START;
727 
728  dc.DrawLines(6, points);
729 
730  dc.SetPen(wxPen(*wxBLACK, 1, wxDOT));
731 
732  AColor::Line(dc, FADE_DOWN_START, 10, FADE_DOWN_START, clientHeight - 10);
733  AColor::Line(dc, FADE_UP_START, 10, FADE_UP_START, clientHeight - 10);
734 
735  dc.SetPen(AColor::envelopePen);
736  dc.SetBrush(*wxWHITE_BRUSH);
737 
738  mControlPoints[outerFadeDown] = points[1];
739  mControlPoints[innerFadeDown] = points[2];
740  mControlPoints[innerFadeUp] = points[3];
741  mControlPoints[outerFadeUp] = points[4];
742  mControlPoints[duckAmount] = wxPoint(
743  (points[2].x + points[3].x) / 2, points[2].y);
744 
745  for (int i = 0; i < AUTO_DUCK_PANEL_NUM_CONTROL_POINTS; i++)
746  {
748  int digits;
749  float value;
750 
751  if (cp == innerFadeDown)
752  {
753  value = innerFadeDownLen;
754  digits = 2;
755  }
756  else if (cp == innerFadeUp)
757  {
758  value = innerFadeUpLen;
759  digits = 2;
760  }
761  else if (cp == outerFadeDown)
762  {
763  value = outerFadeDownLen;
764  digits = 2;
765  } else if (cp == outerFadeUp)
766  {
767  value = outerFadeUpLen;
768  digits = 2;
769  }
770  else
771  {
772  value = duckAmountDb;
773  digits = 1;
774  }
775 
776  wxString valueStr = Internat::ToDisplayString(value, digits);
777  valueStr += wxT(" ");
778 
779  if (cp == duckAmount)
780  /* i18n-hint: short form of 'decibels'.*/
781  valueStr += _("dB");
782  else
783  /* i18n-hint: short form of 'seconds'.*/
784  valueStr += _("s");
785 
786  int textWidth = 0, textHeight = 0;
787  GetTextExtent(valueStr, &textWidth, &textHeight);
788 
789  int textPosX = mControlPoints[i].x - textWidth / 2;
790  int textPosY = mControlPoints[i].y;
791 
792  if (cp == duckAmount || cp == outerFadeDown || cp == outerFadeUp)
793  textPosY -= TEXT_DISTANCE + textHeight;
794  else
795  textPosY += TEXT_DISTANCE;
796 
797  dc.DrawText(valueStr, textPosX, textPosY);
798 
799  dc.DrawEllipse(mControlPoints[i].x - 3,
800  mControlPoints[i].y - 3, 6, 6);
801  }
802  }
803 
804  // copy background buffer to paint dc
805  wxPaintDC paintDC(this);
806  paintDC.Blit(0, 0, clientWidth, clientHeight, &dc, 0, 0);
807 
808  // clean up: necessary to free resources on Windows
809  dc.SetPen(wxNullPen);
810  dc.SetBrush(wxNullBrush);
811  dc.SetFont(wxNullFont);
812  dc.SelectObject(wxNullBitmap);
813 }
AUDACITY_DLL_API Theme theTheme
Definition: Theme.cpp:209
#define AUTO_DUCK_PANEL_NUM_CONTROL_POINTS
Definition: AutoDuck.h:27
wxTextCtrl * mInnerFadeUpLenBox
Definition: AutoDuck.h:83
EffectAutoDuck * mEffect
Definition: AutoDuck.h:130
void ResetControlPoints()
Definition: AutoDuck.cpp:643
#define TEXT_DISTANCE
Definition: AutoDuck.cpp:597
static wxPen envelopePen
Definition: AColor.h:122
std::unique_ptr< wxBitmap > mBackgroundBitmap
Definition: AutoDuck.h:131
#define DUCK_AMOUNT_START
Definition: AutoDuck.cpp:601
wxTextCtrl * mInnerFadeDownLenBox
Definition: AutoDuck.h:82
wxTextCtrl * mOuterFadeUpLenBox
Definition: AutoDuck.h:85
wxTextCtrl * mDuckAmountDbBox
Definition: AutoDuck.h:81
#define FADE_UP_START
Definition: AutoDuck.cpp:600
static void Line(wxDC &dc, wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
Definition: AColor.cpp:122
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand
#define FADE_SCALE
Definition: AutoDuck.cpp:603
wxTextCtrl * mOuterFadeDownLenBox
Definition: AutoDuck.h:84
#define DUCK_AMOUNT_SCALE
Definition: AutoDuck.cpp:604
wxPoint mControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
Definition: AutoDuck.h:133
static wxString ToDisplayString(double numberToConvert, int digitsAfterDecimalPoint=-1)
Convert a number to a string, uses the user's locale's decimal separator.
Definition: Internat.cpp:149
wxColour & Colour(int iIndex)
Definition: Theme.cpp:1225
#define FADE_DOWN_START
Definition: AutoDuck.cpp:599
void EffectAutoDuckPanel::ResetControlPoints ( )
private

Definition at line 643 of file AutoDuck.cpp.

References duckAmount, innerFadeDown, innerFadeUp, mControlPoints, outerFadeDown, and outerFadeUp.

Referenced by OnPaint().

644 {
645  mControlPoints[innerFadeDown] = wxPoint(-100,-100);
646  mControlPoints[innerFadeUp] = wxPoint(-100,-100);
647  mControlPoints[outerFadeDown] = wxPoint(-100,-100);
648  mControlPoints[outerFadeUp] = wxPoint(-100,-100);
649  mControlPoints[duckAmount] = wxPoint(-100,-100);
650 }
wxPoint mControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
Definition: AutoDuck.h:133

Member Data Documentation

std::unique_ptr<wxBitmap> EffectAutoDuckPanel::mBackgroundBitmap
private

Definition at line 131 of file AutoDuck.h.

Referenced by OnPaint().

bool EffectAutoDuckPanel::mControlPointMoveActivated
private

Definition at line 136 of file AutoDuck.h.

Referenced by OnLeftDown(), and OnMotion().

wxPoint EffectAutoDuckPanel::mControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
private

Definition at line 133 of file AutoDuck.h.

Referenced by GetNearestControlPoint(), OnLeftDown(), OnPaint(), and ResetControlPoints().

EControlPoint EffectAutoDuckPanel::mCurrentControlPoint
private

Definition at line 132 of file AutoDuck.h.

Referenced by OnLeftDown(), OnLeftUp(), OnMotion(), OnMouseCaptureChanged(), and OnMouseCaptureLost().

EffectAutoDuck* EffectAutoDuckPanel::mEffect
private

Definition at line 130 of file AutoDuck.h.

Referenced by OnMotion(), and OnPaint().

wxPoint EffectAutoDuckPanel::mMouseDownPoint
private

Definition at line 135 of file AutoDuck.h.

Referenced by OnLeftDown(), and OnMotion().

wxPoint EffectAutoDuckPanel::mMoveStartControlPoints[AUTO_DUCK_PANEL_NUM_CONTROL_POINTS]
private

Definition at line 134 of file AutoDuck.h.

Referenced by OnLeftDown().

wxWindow* EffectAutoDuckPanel::mParent
private

Definition at line 129 of file AutoDuck.h.


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