|
| DropHintLine (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) |
|
bool | AcceptsFocus () const override |
|
Definition at line 293 of file RealtimeEffectPanel.cpp.
◆ DropHintLine()
anonymous_namespace{RealtimeEffectPanel.cpp}::DropHintLine::DropHintLine |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize |
|
) |
| |
|
inline |
Definition at line 296 of file RealtimeEffectPanel.cpp.
300 : wxWindow(parent,
id, pos,
size, wxNO_BORDER, wxEmptyString)
301 {
302 wxWindow::SetBackgroundStyle(wxBG_STYLE_PAINT);
304 }
void OnPaint(wxPaintEvent &)
◆ AcceptsFocus()
bool anonymous_namespace{RealtimeEffectPanel.cpp}::DropHintLine::AcceptsFocus |
( |
| ) |
const |
|
inlineoverride |
◆ OnPaint()
void anonymous_namespace{RealtimeEffectPanel.cpp}::DropHintLine::OnPaint |
( |
wxPaintEvent & |
| ) |
|
|
inlineprivate |
Definition at line 309 of file RealtimeEffectPanel.cpp.
310 {
311 wxBufferedPaintDC dc(this);
312 const auto rect = wxRect(GetSize());
313
314 dc.SetPen(*wxTRANSPARENT_PEN);
315 dc.SetBrush(GetBackgroundColour());
316 dc.DrawRectangle(rect);
317 }
The documentation for this class was generated from the following file: