Audacity 3.2.0
|
a wxWindow that provides the resizer for a toolbar on the right hand side. Responsible for drawing the resizer appearance, resizing mouse events and constraining the resizing. More...
Public Member Functions | |
ToolBarResizer (ToolBar *mBar) | |
virtual | ~ToolBarResizer () |
bool | AcceptsFocusFromKeyboard () const override |
Private Member Functions | |
void | OnErase (wxEraseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnLeftDown (wxMouseEvent &event) |
void | OnLeftUp (wxMouseEvent &event) |
void | OnEnter (wxMouseEvent &event) |
void | OnLeave (wxMouseEvent &event) |
void | OnMotion (wxMouseEvent &event) |
void | ResizeBar (const wxSize &size) |
void | OnCaptureLost (wxMouseCaptureLostEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
Private Attributes | |
ToolBar * | mBar |
wxPoint | mResizeOffset |
wxSize | mOrigSize |
wxWindowRef | mOrigFocus {} |
a wxWindow that provides the resizer for a toolbar on the right hand side. Responsible for drawing the resizer appearance, resizing mouse events and constraining the resizing.
Definition at line 68 of file ToolBar.cpp.
ToolBarResizer::ToolBarResizer | ( | ToolBar * | mBar | ) |
Definition at line 115 of file ToolBar.cpp.
|
virtual |
Definition at line 122 of file ToolBar.cpp.
|
inlineoverride |
Definition at line 77 of file ToolBar.cpp.
|
private |
Definition at line 279 of file ToolBar.cpp.
References mOrigFocus.
|
private |
Definition at line 196 of file ToolBar.cpp.
References BasicUI::FindFocus(), and mOrigFocus.
|
private |
Definition at line 131 of file ToolBar.cpp.
|
private |
Definition at line 290 of file ToolBar.cpp.
References mOrigFocus, mOrigSize, and ResizeBar().
|
private |
Definition at line 207 of file ToolBar.cpp.
References mOrigFocus.
|
private |
Definition at line 163 of file ToolBar.cpp.
References mBar, mOrigSize, and mResizeOffset.
|
private |
Definition at line 181 of file ToolBar.cpp.
References mBar, mOrigFocus, and ToolBar::ResizingDone().
|
private |
Definition at line 213 of file ToolBar.cpp.
References mBar, mResizeOffset, and ResizeBar().
|
private |
Definition at line 139 of file ToolBar.cpp.
References ThemeBase::Colour(), AColor::Dark(), AColor::Line(), and theTheme.
|
private |
Definition at line 267 of file ToolBar.cpp.
References mBar, size, and ToolBar::Updated().
Referenced by OnKeyDown(), and OnMotion().
|
private |
Definition at line 92 of file ToolBar.cpp.
Referenced by OnLeftDown(), OnLeftUp(), OnMotion(), and ResizeBar().
|
private |
Definition at line 95 of file ToolBar.cpp.
Referenced by OnCaptureLost(), OnEnter(), OnKeyDown(), OnLeave(), and OnLeftUp().
|
private |
Definition at line 94 of file ToolBar.cpp.
Referenced by OnKeyDown(), and OnLeftDown().
|
private |
Definition at line 93 of file ToolBar.cpp.
Referenced by OnLeftDown(), and OnMotion().