Audacity 3.2.0
|
Classes | |
struct | PostFilter |
Post-filter is conditionally called after passing the event to the window. More... | |
struct | PreFilter |
Pre-filter is called before passing the event to the captured window. More... | |
Functions | |
bool | IsHandler (const wxWindow *handler) |
wxWindow * | GetHandler () |
void | Capture (wxWindow *handler) |
void | Release (wxWindow *handler) |
void | OnFocus (wxWindow &window, wxFocusEvent &event) |
a function useful to implement a focus event handler The window releases the keyboard if the event is for killing focus, otherwise the window captures the keyboard; then refresh the window and skip the event More... | |
AUDACITY_DLL_API void KeyboardCapture::Capture | ( | wxWindow * | handler | ) |
Definition at line 61 of file KeyboardCapture.cpp.
References audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler, and anonymous_namespace{KeyboardCapture.cpp}::sHandler().
Referenced by OnFocus(), SetActiveProject(), and TrackPanel::SetFocusedCell().
AUDACITY_DLL_API wxWindow * KeyboardCapture::GetHandler | ( | ) |
Definition at line 56 of file KeyboardCapture.cpp.
References anonymous_namespace{KeyboardCapture.cpp}::sHandler().
Referenced by EventMonitor::FilterEvent(), and IsHandler().
AUDACITY_DLL_API bool KeyboardCapture::IsHandler | ( | const wxWindow * | handler | ) |
Definition at line 51 of file KeyboardCapture.cpp.
References GetHandler(), and audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler.
Referenced by CellularPanel::OnKillFocus().
AUDACITY_DLL_API void KeyboardCapture::OnFocus | ( | wxWindow & | window, |
wxFocusEvent & | event | ||
) |
a function useful to implement a focus event handler The window releases the keyboard if the event is for killing focus, otherwise the window captures the keyboard; then refresh the window and skip the event
Definition at line 72 of file KeyboardCapture.cpp.
References Capture(), and Release().
Referenced by MixerTrackSlider::OnFocus(), AudioSetupToolBar::OnFocus(), DeviceToolBar::OnFocus(), SelectionBar::OnFocus(), TranscriptionToolBar::OnFocus(), and NumericTextCtrl::OnFocus().
AUDACITY_DLL_API void KeyboardCapture::Release | ( | wxWindow * | handler | ) |
Definition at line 66 of file KeyboardCapture.cpp.
References anonymous_namespace{KeyboardCapture.cpp}::sHandler().
Referenced by OnFocus(), CellularPanel::OnKillFocus(), and AudioIO::StopStream().