Audacity  3.0.3
Namespaces | Functions
ProjectWindowBase.cpp File Reference
#include "ProjectWindowBase.h"
#include "Project.h"
#include "ProjectWindows.h"
Include dependency graph for ProjectWindowBase.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ProjectWindowBase.cpp}
 

Functions

ProjectWindowBaseanonymous_namespace{ProjectWindowBase.cpp}::FindProjectWindow (wxWindow *pWindow)
 
AudacityProjectFindProjectFromWindow (wxWindow *pWindow)
 
const AudacityProjectFindProjectFromWindow (const wxWindow *pWindow)
 

Function Documentation

◆ FindProjectFromWindow() [1/2]

const AudacityProject* FindProjectFromWindow ( const wxWindow *  pWindow)

Definition at line 50 of file ProjectWindowBase.cpp.

51 {
52  return FindProjectFromWindow( const_cast< wxWindow* >( pWindow ) );
53 }

References FindProjectFromWindow().

Here is the call graph for this function:

◆ FindProjectFromWindow() [2/2]

AudacityProject* FindProjectFromWindow ( wxWindow *  pWindow)

Definition at line 44 of file ProjectWindowBase.cpp.

45 {
46  auto pProjectWindow = FindProjectWindow( pWindow );
47  return pProjectWindow ? &pProjectWindow->GetProject() : nullptr;
48 }

References anonymous_namespace{ProjectWindowBase.cpp}::FindProjectWindow().

Referenced by ContrastDialog::ContrastDialog(), EffectUI::DialogFactory(), FindProjectFromWindow(), ContrastDialog::GetDB(), ContrastDialog::OnExport(), ContrastDialog::OnGetBackground(), ContrastDialog::OnGetForeground(), LyricsPanel::OnKeyEvent(), AButton::OnMouseEvent(), LWSlider::OnMouseEvent(), HighlightTextCtrl::OnMouseEvent(), LWSlider::SendUpdate(), ContrastDialog::SetStartAndEndTime(), LyricsPanel::Update(), and AButton::UpdateStatus().

Here is the call graph for this function:
Here is the caller graph for this function:
FindProjectFromWindow
AudacityProject * FindProjectFromWindow(wxWindow *pWindow)
Definition: ProjectWindowBase.cpp:44
anonymous_namespace{ProjectWindowBase.cpp}::FindProjectWindow
ProjectWindowBase * FindProjectWindow(wxWindow *pWindow)
Definition: ProjectWindowBase.cpp:35