Audacity 3.2.0
Classes | Functions | Variables
anonymous_namespace{EffectUI.cpp} Namespace Reference

Classes

class  EffectSettingsAccessTee
 

Functions

AButtonMakeBitmapToggleButton (wxWindow *parent, const wxImage &ImageOn, const wxImage &ImageOff)
 
wxString GetVersionForDisplay (const EffectDefinitionInterface &definition)
 

Variables

constexpr int InnerMargin = 3
 

Function Documentation

◆ GetVersionForDisplay()

wxString anonymous_namespace{EffectUI.cpp}::GetVersionForDisplay ( const EffectDefinitionInterface definition)

Definition at line 640 of file EffectUI.cpp.

641{
642 static const auto specialVersion = XO("n/a");
643 auto result = definition.GetVersion();
644 if (result == specialVersion.MSGID())
645 result = specialVersion.Translation();
646 return result;
647}
XO("Cut/Copy/Paste")
virtual wxString GetVersion() const =0

References ComponentInterface::GetVersion(), and XO().

Referenced by EffectUIHost::OnMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeBitmapToggleButton()

AButton * anonymous_namespace{EffectUI.cpp}::MakeBitmapToggleButton ( wxWindow *  parent,
const wxImage ImageOn,
const wxImage ImageOff 
)

Definition at line 345 of file EffectUI.cpp.

347{
348 auto pBtn = safenew AButton(parent, kEnableID,
349 wxDefaultPosition, wxDefaultSize, true);
350 pBtn->SetImages(ImageOff, ImageOff, ImageOn, ImageOn, ImageOff);
351 return pBtn;
352}
static const int kEnableID
Definition: EffectUI.cpp:131
#define safenew
Definition: MemoryX.h:10
A wxButton with mouse-over behaviour.
Definition: AButton.h:104

References kEnableID, and safenew.

Referenced by EffectUIHost::BuildTopBar().

Here is the caller graph for this function:

Variable Documentation

◆ InnerMargin

constexpr int anonymous_namespace{EffectUI.cpp}::InnerMargin = 3
constexpr

Definition at line 353 of file EffectUI.cpp.

Referenced by EffectUIHost::BuildTopBar(), and EffectUIHost::Initialize().