Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
MovableControlEvent Class Referencefinal

#include <MovableControl.h>

Inheritance diagram for MovableControlEvent:
[legend]
Collaboration diagram for MovableControlEvent:
[legend]

Public Member Functions

 MovableControlEvent (wxEventType eventType, int winid=0)
 
void SetSourceIndex (int index) noexcept
 
int GetSourceIndex () const noexcept
 
void SetTargetIndex (int index) noexcept
 
int GetTargetIndex () const noexcept
 
wxEvent * Clone () const override
 

Private Attributes

int mSourceIndex {-1}
 
int mTargetIndex {-1}
 

Detailed Description

Definition at line 20 of file MovableControl.h.

Constructor & Destructor Documentation

◆ MovableControlEvent()

MovableControlEvent::MovableControlEvent ( wxEventType  eventType,
int  winid = 0 
)

Definition at line 19 of file MovableControl.cpp.

20 : wxCommandEvent(eventType, winid)
21{
22}

Referenced by Clone().

Here is the caller graph for this function:

Member Function Documentation

◆ Clone()

wxEvent * MovableControlEvent::Clone ( ) const
override

Definition at line 43 of file MovableControl.cpp.

44{
45 return new MovableControlEvent(*this);
46}
MovableControlEvent(wxEventType eventType, int winid=0)

References MovableControlEvent().

Here is the call graph for this function:

◆ GetSourceIndex()

int MovableControlEvent::GetSourceIndex ( ) const
noexcept

Definition at line 29 of file MovableControl.cpp.

30{
31 return mSourceIndex;
32}

References mSourceIndex.

Referenced by RealtimeEffectListWindow::RealtimeEffectListWindow().

Here is the caller graph for this function:

◆ GetTargetIndex()

int MovableControlEvent::GetTargetIndex ( ) const
noexcept

Definition at line 38 of file MovableControl.cpp.

39{
40 return mTargetIndex;
41}

References mTargetIndex.

Referenced by RealtimeEffectListWindow::RealtimeEffectListWindow().

Here is the caller graph for this function:

◆ SetSourceIndex()

void MovableControlEvent::SetSourceIndex ( int  index)
noexcept

Definition at line 24 of file MovableControl.cpp.

25{
26 mSourceIndex = index;
27}

◆ SetTargetIndex()

void MovableControlEvent::SetTargetIndex ( int  index)
noexcept

Definition at line 34 of file MovableControl.cpp.

35{
36 mTargetIndex = index;
37}

Member Data Documentation

◆ mSourceIndex

int MovableControlEvent::mSourceIndex {-1}
private

Definition at line 22 of file MovableControl.h.

Referenced by GetSourceIndex().

◆ mTargetIndex

int MovableControlEvent::mTargetIndex {-1}
private

Definition at line 23 of file MovableControl.h.

Referenced by GetTargetIndex().


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