Audacity 3.2.0
|
#include <ToolManager.h>
Public Member Functions | |
ToolFrame (AudacityProject *parent, ToolManager *manager, ToolBar *bar, wxPoint pos) | |
~ToolFrame () | |
ToolBar * | GetBar () |
void | ClearBar () |
void | LockInMinSize (ToolBar *pBar) |
void | OnGrabber (GrabberEvent &event) |
void | OnToolBarUpdate (wxCommandEvent &event) |
void | OnPaint (wxPaintEvent &WXUNUSED(event)) |
void | OnMotion (wxMouseEvent &event) |
void | OnCaptureLost (wxMouseCaptureLostEvent &WXUNUSED(event)) |
void | OnClose (wxCloseEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
void | Resize (const wxSize &size) |
Private Attributes | |
AudacityProject *const | mParent |
ToolManager * | mManager |
ToolBar * | mBar |
wxSize | mMinSize |
wxSize | mOrigSize |
class ToolFrame
Definition at line 188 of file ToolManager.h.
ToolFrame::ToolFrame | ( | AudacityProject * | parent, |
ToolManager * | manager, | ||
ToolBar * | bar, | ||
wxPoint | pos | ||
) |
Definition at line 72 of file ToolManager.cpp.
References ToolBar::GetDockedSize(), ToolBar::IsResizable(), manager, mBar, mManager, mMinSize, ToolBar::SetDocked(), sizerW, and ToolBarFloatMargin.
ToolFrame::~ToolFrame | ( | ) |
Definition at line 140 of file ToolManager.cpp.
|
inline |
Definition at line 197 of file ToolManager.h.
References mBar.
Referenced by ToolManager::HandleEscapeKey(), and ToolManager::OnMouse().
|
inline |
void ToolFrame::LockInMinSize | ( | ToolBar * | pBar | ) |
Definition at line 154 of file ToolManager.cpp.
void ToolFrame::OnCaptureLost | ( | wxMouseCaptureLostEvent & | WXUNUSEDevent | ) |
Definition at line 281 of file ToolManager.cpp.
void ToolFrame::OnClose | ( | wxCloseEvent & | event | ) |
Definition at line 289 of file ToolManager.cpp.
void ToolFrame::OnGrabber | ( | GrabberEvent & | event | ) |
Definition at line 146 of file ToolManager.cpp.
References mManager.
void ToolFrame::OnKeyDown | ( | wxKeyEvent & | event | ) |
Definition at line 294 of file ToolManager.cpp.
References mOrigSize, and Resize().
void ToolFrame::OnMotion | ( | wxMouseEvent & | event | ) |
Definition at line 207 of file ToolManager.cpp.
References ToolBar::IsDocked(), ToolBar::IsResizable(), mBar, mMinSize, mOrigSize, Resize(), and sizerW.
void ToolFrame::OnPaint | ( | wxPaintEvent & | WXUNUSEDevent | ) |
Definition at line 180 of file ToolManager.cpp.
References ThemeBase::Colour(), ToolBar::IsResizable(), AColor::Line(), mBar, sizerW, and theTheme.
void ToolFrame::OnToolBarUpdate | ( | wxCommandEvent & | event | ) |
Definition at line 169 of file ToolManager.cpp.
References mBar.
void ToolFrame::Resize | ( | const wxSize & | size | ) |
Definition at line 303 of file ToolManager.cpp.
References size.
Referenced by OnKeyDown(), and OnMotion().
|
private |
Definition at line 233 of file ToolManager.h.
Referenced by ClearBar(), GetBar(), LockInMinSize(), OnMotion(), OnPaint(), OnToolBarUpdate(), and ToolFrame().
|
private |
Definition at line 232 of file ToolManager.h.
Referenced by OnGrabber(), and ToolFrame().
|
private |
Definition at line 234 of file ToolManager.h.
Referenced by LockInMinSize(), OnMotion(), and ToolFrame().
|
private |
Definition at line 235 of file ToolManager.h.
Referenced by OnKeyDown(), and OnMotion().
|
private |
Definition at line 231 of file ToolManager.h.