|
| DropHintLine (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) |
|
bool | AcceptsFocus () const override |
|
Definition at line 158 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 161 of file RealtimeEffectPanel.cpp.
165 : wxWindow(parent,
id, pos,
size, wxNO_BORDER, wxEmptyString)
166 {
167 wxWindow::SetBackgroundStyle(wxBG_STYLE_PAINT);
169 }
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 174 of file RealtimeEffectPanel.cpp.
175 {
176 wxBufferedPaintDC dc(this);
177 const auto rect = wxRect(GetSize());
178
179 dc.SetPen(*wxTRANSPARENT_PEN);
180 dc.SetBrush(GetBackgroundColour());
181 dc.DrawRectangle(rect);
182 }
The documentation for this class was generated from the following file: