|
| HyperLinkCtrlWrapper (wxWindow *parent, wxWindowID id, const wxString &label, const wxString &url, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxHL_DEFAULT_STYLE, const wxString &name=wxHyperlinkCtrlNameStr) |
|
void | Create (wxWindow *parent, wxWindowID id, const wxString &label, const wxString &url, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxHL_DEFAULT_STYLE, const wxString &name=wxHyperlinkCtrlNameStr) |
|
void | OnPaint (wxPaintEvent &evt) |
|
| ListNavigationEnabled () |
|
void | SetInTabOrder (bool inTabOrder) |
|
Definition at line 320 of file RealtimeEffectPanel.cpp.
◆ HyperLinkCtrlWrapper()
anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::HyperLinkCtrlWrapper |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
const wxString & |
label, |
|
|
const wxString & |
url, |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize , |
|
|
long |
style = wxHL_DEFAULT_STYLE , |
|
|
const wxString & |
name = wxHyperlinkCtrlNameStr |
|
) |
| |
|
inline |
Definition at line 323 of file RealtimeEffectPanel.cpp.
331 {
333 }
void Create(wxWindow *parent, wxWindowID id, const wxString &label, const wxString &url, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxHL_DEFAULT_STYLE, const wxString &name=wxHyperlinkCtrlNameStr)
References label, name, size, and anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style.
◆ Create()
void anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::Create |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
const wxString & |
label, |
|
|
const wxString & |
url, |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize , |
|
|
long |
style = wxHL_DEFAULT_STYLE , |
|
|
const wxString & |
name = wxHyperlinkCtrlNameStr |
|
) |
| |
|
inline |
◆ OnPaint()
void anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::OnPaint |
( |
wxPaintEvent & |
evt | ) |
|
|
inline |
Definition at line 348 of file RealtimeEffectPanel.cpp.
349 {
350 wxPaintDC dc(this);
351 dc.SetFont(GetFont());
352 dc.SetTextForeground(GetForegroundColour());
353 dc.SetTextBackground(GetBackgroundColour());
354
355 auto labelRect = GetLabelRect();
356
357 dc.DrawText(GetLabel(), labelRect.GetTopLeft());
358 if (HasFocus())
360 }
static void DrawFocus(wxDC &dc, wxRect &r)
References AColor::DrawFocus().
The documentation for this class was generated from the following file: