Audacity 3.2.0
|
Draws the grabber for an ExpandingToolBar. More...
#include <ExpandingToolBar.h>
Public Member Functions | |
ToolBarGrabber (wxWindow *parent, wxWindowID id, ExpandingToolBar *ownerToolbar, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
void | OnPaint (wxPaintEvent &evt) |
void | OnSize (wxSizeEvent &evt) |
void | OnMouse (wxMouseEvent &evt) |
Public Member Functions inherited from wxPanelWrapper | |
wxPanelWrapper () | |
wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) | |
bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) |
void | SetLabel (const TranslatableString &label) |
void | SetName (const TranslatableString &name) |
void | SetToolTip (const TranslatableString &toolTip) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxPanel > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Protected Attributes | |
int | mState |
ExpandingToolBar * | mOwnerToolBar |
Draws the grabber for an ExpandingToolBar.
Definition at line 124 of file ExpandingToolBar.h.
ToolBarGrabber::ToolBarGrabber | ( | wxWindow * | parent, |
wxWindowID | id, | ||
ExpandingToolBar * | ownerToolbar, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize |
||
) |
Definition at line 663 of file ExpandingToolBar.cpp.
References ThemeBase::Image(), mState, ImageRoll::SplitH(), theTheme, ImageRoll::VerticalRoll, and wxImage().
void ToolBarGrabber::OnMouse | ( | wxMouseEvent & | evt | ) |
Definition at line 689 of file ExpandingToolBar.cpp.
References mOwnerToolBar, mState, and ExpandingToolBar::StartMoving().
void ToolBarGrabber::OnPaint | ( | wxPaintEvent & | evt | ) |
Definition at line 716 of file ExpandingToolBar.cpp.
void ToolBarGrabber::OnSize | ( | wxSizeEvent & | evt | ) |
Definition at line 723 of file ExpandingToolBar.cpp.
|
protected |
Definition at line 142 of file ExpandingToolBar.h.
Referenced by OnMouse().
|
protected |
Definition at line 140 of file ExpandingToolBar.h.
Referenced by OnMouse().