Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent Class Referencefinal
Inheritance diagram for anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent:
[legend]
Collaboration diagram for anonymous_namespace{RealtimeEffectPanel.cpp}::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 116 of file RealtimeEffectPanel.cpp.

Constructor & Destructor Documentation

◆ MovableControlEvent()

anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::MovableControlEvent ( wxEventType  eventType,
int  winid = 0 
)
inline

Definition at line 121 of file RealtimeEffectPanel.cpp.

122 : wxCommandEvent(eventType, winid) { }

Member Function Documentation

◆ Clone()

wxEvent * anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::Clone ( ) const
inlineoverride

Definition at line 130 of file RealtimeEffectPanel.cpp.

131 {
132 return new MovableControlEvent(*this);
133 }

◆ GetSourceIndex()

int anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::GetSourceIndex ( ) const
inlinenoexcept

◆ GetTargetIndex()

int anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::GetTargetIndex ( ) const
inlinenoexcept

◆ SetSourceIndex()

void anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::SetSourceIndex ( int  index)
inlinenoexcept

Definition at line 124 of file RealtimeEffectPanel.cpp.

124{ mSourceIndex = index; }

◆ SetTargetIndex()

void anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::SetTargetIndex ( int  index)
inlinenoexcept

Definition at line 127 of file RealtimeEffectPanel.cpp.

127{ mTargetIndex = index; }

Member Data Documentation

◆ mSourceIndex

int anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::mSourceIndex {-1}
private

Definition at line 118 of file RealtimeEffectPanel.cpp.

◆ mTargetIndex

int anonymous_namespace{RealtimeEffectPanel.cpp}::MovableControlEvent::mTargetIndex {-1}
private

Definition at line 119 of file RealtimeEffectPanel.cpp.


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