|
| ScrollBar (wxWindow *parent, wxWindowID id, long style) |
|
void | OnSetFocus (wxFocusEvent &e) |
|
void | SetScrollbar (int position, int thumbSize, int range, int pageSize, bool refresh=true) override |
|
Definition at line 338 of file ProjectWindow.cpp.
◆ ScrollBar()
anonymous_namespace{ProjectWindow.cpp}::ScrollBar::ScrollBar |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
long |
style |
|
) |
| |
|
inline |
Definition at line 341 of file ProjectWindow.cpp.
342 : wxScrollBar(parent, id, wxDefaultPosition, wxDefaultSize, style)
343 {
344 }
◆ OnSetFocus()
void anonymous_namespace{ProjectWindow.cpp}::ScrollBar::OnSetFocus |
( |
wxFocusEvent & |
e | ) |
|
|
inline |
Definition at line 346 of file ProjectWindow.cpp.
347 {
348 wxWindow *w = e.GetWindow();
349 if (w != NULL) {
350 w->SetFocus();
351 }
352 }
◆ SetScrollbar()
void anonymous_namespace{ProjectWindow.cpp}::ScrollBar::SetScrollbar |
( |
int |
position, |
|
|
int |
thumbSize, |
|
|
int |
range, |
|
|
int |
pageSize, |
|
|
bool |
refresh = true |
|
) |
| |
|
override |
Definition at line 362 of file ProjectWindow.cpp.
365{
366
367
368
369
370
371 auto changed =
372 position != GetThumbPosition() ||
373 thumbSize != GetThumbSize() ||
374 range != GetRange() ||
375 pageSize != GetPageSize();
376 if (!changed)
377 return;
378
379 wxScrollBar::SetScrollbar(position, thumbSize, range, pageSize, refresh);
380}
The documentation for this class was generated from the following file: