|
| 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 () |
|
Definition at line 169 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 172 of file RealtimeEffectPanel.cpp.
180 {
182 }
const TranslatableString name
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, and size.
◆ 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 |
Definition at line 184 of file RealtimeEffectPanel.cpp.
192 {
195 }
Changes default arrow navigation to behave more list- or table-like. Instead of searching focusable i...
void OnPaint(wxPaintEvent &evt)
References label, name, and size.
◆ OnPaint()
void anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::OnPaint |
( |
wxPaintEvent & |
evt | ) |
|
|
inline |
Definition at line 197 of file RealtimeEffectPanel.cpp.
198 {
199 wxPaintDC dc(this);
200 dc.SetFont(GetFont());
201 dc.SetTextForeground(GetForegroundColour());
202 dc.SetTextBackground(GetBackgroundColour());
203
204 auto labelRect = GetLabelRect();
205
206 dc.DrawText(GetLabel(), labelRect.GetTopLeft());
207 if (HasFocus())
209 }
static void DrawFocus(wxDC &dc, wxRect &r)
References AColor::DrawFocus().
The documentation for this class was generated from the following file: