Audacity 3.2.0
|
Works with ToolManager and ToolDock to provide a dockable window in which buttons can be placed. More...
#include <ToolBar.h>
Public Types | |
enum | DockID { TopDockID = 1 , BotDockID = 2 } |
Identifies one of the docking areas for toolbars. More... | |
using | Holder = wxWindowPtr< ToolBar > |
Public Member Functions | |
ToolBar (AudacityProject &project, const TranslatableString &label, const Identifier §ion, bool resizable=false) | |
virtual | ~ToolBar () |
virtual bool | ShownByDefault () const |
Whether the toolbar should be shown by default. Default implementation returns true. More... | |
virtual bool | HideAfterReset () const |
Default implementation returns false. More... | |
virtual DockID | DefaultDockID () const |
Which dock the toolbar defaults into. Default implementation chooses the top dock. More... | |
bool | AcceptsFocus () const override |
bool | AcceptsFocusFromKeyboard () const override |
virtual void | SetToDefaultSize () |
virtual void | Create (wxWindow *parent) |
virtual void | EnableDisableButtons ()=0 |
virtual void | ReCreateButtons () |
void | UpdatePrefs () override |
virtual void | RegenerateTooltips ()=0 |
int | GetIndex () const |
Get a value used for computing cascading positions of undocked bars. More... | |
void | SetIndex (int index) |
Set a value used for computing cascading positions of undocked bars. More... | |
TranslatableString | GetTitle () |
TranslatableString | GetLabel () |
Identifier | GetSection () |
ToolDock * | GetDock () |
void | SetPreferredNeighbors (Identifier left, Identifier top={}) |
void | SetLabel (const TranslatableString &label) |
virtual void | SetDocked (ToolDock *dock, bool pushed) |
std::pair< Identifier, Identifier > | PreferredNeighbors () const noexcept |
Defaults to (NoBarID, NoBarId) More... | |
virtual bool | Expose (bool show=true) |
bool | IsResizable () const |
bool | IsVisible () const |
bool | IsDocked () const |
bool | IsPositioned () |
void | SetVisible (bool bVisible) |
void | SetPositioned () |
virtual int | GetInitialWidth () |
Resizable toolbars should implement these. More... | |
virtual int | GetMinToolbarWidth () |
virtual wxSize | GetDockedSize () |
wxSize | GetSmartDockedSize () |
virtual void | ResizingDone () |
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 |
Static Public Member Functions | |
static AButton * | MakeButton (wxWindow *parent, teBmps eUp, teBmps eDown, teBmps eHilite, teBmps eDownHi, teBmps eStandardUp, teBmps eStandardDown, teBmps eDisabled, wxWindowID id, wxPoint placement, bool processdownevents, wxSize size) |
static AButton * | MakeButton (ToolBar *parent, teBmps eEnabledUp, teBmps eEnabledDown, teBmps eDisabled, int id, bool processdownevents, const TranslatableString &label) |
static void | MakeAlternateImages (AButton &button, int idx, teBmps eUp, teBmps eDown, teBmps eHilite, teBmps eDownHi, teBmps eStandardUp, teBmps eStandardDown, teBmps eDisabled, wxSize size) |
static void | SetButtonToolTip (AudacityProject &project, AButton &button, const ComponentInterfaceSymbol commands[], size_t nCommands) |
static void | MakeButtonBackgroundsSmall () |
static void | MakeButtonBackgroundsLarge () |
Protected Member Functions | |
void | SetButton (bool down, AButton *button) |
wxBoxSizer * | GetSizer () |
void | Add (wxWindow *window, int proportion=0, int flag=wxALIGN_TOP, int border=0, wxObject *userData=NULL) |
void | Add (wxSizer *sizer, int proportion=0, int flag=0, int border=0, wxObject *userData=NULL) |
void | Add (int width, int height, int proportion=0, int flag=0, int border=0, wxObject *userData=NULL) |
void | AddSpacer (int size=14) |
void | AddStretchSpacer (int prop=1) |
void | Detach (wxWindow *window) |
void | Detach (wxSizer *sizer) |
void | Updated () |
int | GetResizeGrabberWidth () |
Returns the width in pixels of the resizer element. More... | |
virtual void | Populate ()=0 |
virtual void | Repaint (wxDC *dc)=0 |
void | OnErase (wxEraseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnMouseEvents (wxMouseEvent &event) |
Protected Member Functions inherited from PrefsListener | |
virtual void | UpdateSelectedPrefs (int id) |
PrefsListener () | |
virtual | ~PrefsListener () |
virtual void | UpdatePrefs ()=0 |
Static Protected Member Functions | |
static void | MakeMacRecoloredImage (teBmps eBmpOut, teBmps eBmpIn) |
static void | MakeMacRecoloredImageSize (teBmps eBmpOut, teBmps eBmpIn, const wxSize &size) |
static void | MakeRecoloredImage (teBmps eBmpOut, teBmps eBmpIn) |
static void | MakeRecoloredImageSize (teBmps eBmpOut, teBmps eBmpIn, const wxSize &size) |
Static Protected Member Functions inherited from PrefsListener | |
static void | Broadcast (int id=0) |
Call this static function to notify all PrefsListener objects. More... | |
Protected Attributes | |
AudacityProject & | mProject |
TranslatableString | mLabel |
Identifier | mSection |
int | mIndex {0} |
Private Member Functions | |
void | SetLabel (const wxString &label) override |
void | Init (wxWindow *parent, int type, const wxString &title, const wxString &label) |
Private Attributes | |
wxWindow * | mParent |
Grabber * | mGrabber |
ToolBarResizer * | mResizer |
wxBoxSizer * | mHSizer |
Identifier | mPreferredLeftNeighbor |
Identifier | mPreferredTopNeighbor |
bool | mVisible |
bool | mResizable |
bool | mPositioned |
Friends | |
class | ToolBarResizer |
Works with ToolManager and ToolDock to provide a dockable window in which buttons can be placed.
using ToolBar::Holder = wxWindowPtr<ToolBar> |
enum ToolBar::DockID |
ToolBar::ToolBar | ( | AudacityProject & | project, |
const TranslatableString & | label, | ||
const Identifier & | section, | ||
bool | resizable = false |
||
) |
Definition at line 328 of file ToolBar.cpp.
References project.
|
virtual |
Definition at line 353 of file ToolBar.cpp.
|
inlineoverride |
|
override |
Definition at line 357 of file ToolBar.cpp.
|
protected |
Definition at line 741 of file ToolBar.cpp.
|
protected |
|
protected |
Definition at line 709 of file ToolBar.cpp.
Referenced by TranscriptionToolBar::AddButton(), audacity::cloud::ShareAudioToolbar::ArrangeButtons(), AudioSetupToolBar::ArrangeButtons(), ControlToolBar::ArrangeButtons(), CutCopyPasteToolBar::Populate(), DeviceToolBar::Populate(), EditToolBar::Populate(), SelectionBar::Populate(), SnappingToolBar::Populate(), SpectralSelectionBar::Populate(), TimeSignatureToolBar::Populate(), TimeToolBar::Populate(), ToolsToolBar::Populate(), TranscriptionToolBar::Populate(), and MeterToolBar::RebuildLayout().
|
protected |
Definition at line 759 of file ToolBar.cpp.
|
protected |
Definition at line 767 of file ToolBar.cpp.
References mHSizer.
|
virtual |
Reimplemented in audacity::cloud::ShareAudioToolbar, AudioSetupToolBar, ControlToolBar, CutCopyPasteToolBar, DeviceToolBar, EditToolBar, MeterToolBar, SelectionBar, SnappingToolBar, SpectralSelectionBar, TimeSignatureToolBar, ToolsToolBar, and TranscriptionToolBar.
Definition at line 492 of file ToolBar.cpp.
References wxPanelWrapper::Create(), GetLabel(), GetTitle(), mParent, mVisible, ReCreateButtons(), and wxPanelWrapper::SetLabel().
Referenced by audacity::cloud::ShareAudioToolbar::Create(), AudioSetupToolBar::Create(), ControlToolBar::Create(), CutCopyPasteToolBar::Create(), DeviceToolBar::Create(), EditToolBar::Create(), MeterToolBar::Create(), SelectionBar::Create(), SnappingToolBar::Create(), SpectralSelectionBar::Create(), TimeSignatureToolBar::Create(), ToolsToolBar::Create(), TranscriptionToolBar::Create(), and ToolManager::ReadConfig().
|
virtual |
Which dock the toolbar defaults into. Default implementation chooses the top dock.
Reimplemented in SelectionBar, SnappingToolBar, SpectralSelectionBar, TimeSignatureToolBar, TimeToolBar, and TranscriptionToolBar.
Definition at line 375 of file ToolBar.cpp.
References TopDockID.
Referenced by ToolManager::ReadConfig(), and ToolManager::Reset().
|
protected |
Definition at line 783 of file ToolBar.cpp.
References mHSizer.
|
protected |
Definition at line 775 of file ToolBar.cpp.
References mHSizer.
Referenced by ControlToolBar::ArrangeButtons(), and ControlToolBar::ReCreateButtons().
|
pure virtual |
Implemented in audacity::cloud::ShareAudioToolbar, AudioSetupToolBar, ControlToolBar, CutCopyPasteToolBar, DeviceToolBar, EditToolBar, MeterToolBar, SelectionBar, SnappingToolBar, SpectralSelectionBar, TimeSignatureToolBar, TimeToolBar, ToolsToolBar, and TranscriptionToolBar.
Referenced by ToolManager::Reset().
|
virtual |
Reimplemented in MeterToolBar.
Definition at line 459 of file ToolBar.cpp.
References IsDocked(), IsPositioned(), mVisible, SetPositioned(), SetVisible(), and ExportProgressUI::Show().
Referenced by MeterToolBar::Expose(), ToolDock::Expose(), ToolManager::Expose(), and ToolManager::ReadConfig().
ToolDock * ToolBar::GetDock | ( | ) |
Definition at line 647 of file ToolBar.cpp.
Referenced by ToolManager::DoneDragging(), ToolManager::Expose(), IsDocked(), ToolManager::ReadConfig(), ReCreateButtons(), ToolManager::Reset(), Updated(), and ToolManager::WriteConfig().
|
inlinevirtual |
Reimplemented in MeterToolBar, and TimeToolBar.
Definition at line 145 of file ToolBar.h.
Referenced by ToolDock::Dock(), and ToolFrame::ToolFrame().
|
inline |
Get a value used for computing cascading positions of undocked bars.
Definition at line 111 of file ToolBar.h.
Referenced by ToolManager::Reset().
|
inlinevirtual |
Resizable toolbars should implement these.
Reimplemented in DeviceToolBar, MeterToolBar, TimeToolBar, and TranscriptionToolBar.
Definition at line 143 of file ToolBar.h.
Referenced by SetToDefaultSize().
TranslatableString ToolBar::GetLabel | ( | ) |
Definition at line 392 of file ToolBar.cpp.
References mLabel.
Referenced by Create(), and GetTitle().
|
inlinevirtual |
Reimplemented in DeviceToolBar, MeterToolBar, TimeToolBar, and TranscriptionToolBar.
Definition at line 144 of file ToolBar.h.
Referenced by ReCreateButtons().
|
protected |
Returns the width in pixels of the resizer element.
Definition at line 991 of file ToolBar.cpp.
References RWIDTH.
Identifier ToolBar::GetSection | ( | ) |
Definition at line 400 of file ToolBar.cpp.
References mSection.
Referenced by ToolDock::Dock(), ToolManager::Expose(), ToolManager::ReadConfig(), ReCreateButtons(), ToolManager::Reset(), ToolDock::Undock(), ToolDock::VisitLayout(), and ToolManager::WriteConfig().
|
protected |
Definition at line 701 of file ToolBar.cpp.
References mHSizer.
Referenced by audacity::cloud::ShareAudioToolbar::ArrangeButtons(), AudioSetupToolBar::ArrangeButtons(), ControlToolBar::ArrangeButtons(), TimeToolBar::OnSize(), MeterToolBar::RebuildLayout(), and TimeToolBar::SetResizingLimits().
wxSize ToolBar::GetSmartDockedSize | ( | ) |
Definition at line 520 of file ToolBar.cpp.
References toolbarGap, and toolbarSingle.
Referenced by MeterToolBar::GetDockedSize().
TranslatableString ToolBar::GetTitle | ( | ) |
Definition at line 383 of file ToolBar.cpp.
References GetLabel(), and XO().
Referenced by Create(), SetDocked(), and UpdatePrefs().
|
virtual |
Default implementation returns false.
Reimplemented in CutCopyPasteToolBar.
Definition at line 370 of file ToolBar.cpp.
Referenced by ToolManager::Reset().
|
private |
bool ToolBar::IsDocked | ( | ) | const |
Definition at line 433 of file ToolBar.cpp.
References GetDock().
Referenced by Expose(), ToolManager::Expose(), ToolManager::OnGrabber(), ToolFrame::OnMotion(), ReCreateButtons(), ToolManager::Reset(), TimeToolBar::SetResizingLimits(), Updated(), and ToolManager::WriteConfig().
|
inline |
Definition at line 137 of file ToolBar.h.
Referenced by Expose(), and ToolManager::WriteConfig().
bool ToolBar::IsResizable | ( | ) | const |
Definition at line 425 of file ToolBar.cpp.
References mResizable.
Referenced by ToolFrame::OnMotion(), ToolFrame::OnPaint(), ReCreateButtons(), ToolManager::Reset(), and ToolFrame::ToolFrame().
bool ToolBar::IsVisible | ( | ) | const |
Definition at line 441 of file ToolBar.cpp.
References mVisible.
Referenced by ToolDock::Dock(), and ToolBarConfiguration::Write().
|
static |
Definition at line 909 of file ToolBar.cpp.
References ThemeBase::Image(), OverlayImage(), AButton::SetAlternateImages(), size, and theTheme.
Referenced by TranscriptionToolBar::MakeAlternateImages().
|
static |
parent | Parent window for the button. |
eEnabledUp | Background for when button is Up. |
eEnabledDown | Background for when button is Down. |
eDisabled | Foreground when disabled. |
id | Windows Id. |
processdownevents | true iff button handles down events. |
label | Button label |
Definition at line 880 of file ToolBar.cpp.
References ThemeBase::ImageSize(), MakeButton(), AButton::SetFocusRect(), AButton::SetLabel(), theTheme, and XO().
|
static |
Makes a button and its four different state bitmaps
parent | Parent window for the button. |
eUp | Background for when button is Up. |
eDown | Background for when button is Down. |
eHilite | Background for when button is Hilit. |
eStandardUp | Foreground when enabled, up. |
eStandardDown | Foreground when enabled, down. |
eDisabled | Foreground when disabled. |
id | Windows Id. |
placement | Placement position |
processdownevents | true iff button handles down events. |
size | Size of the background. |
Definition at line 839 of file ToolBar.cpp.
References ThemeBase::Image(), OverlayImage(), safenew, size, and theTheme.
Referenced by TranscriptionToolBar::AddButton(), MakeButton(), and AdornedRulerPanel::ReCreateButtons().
|
static |
Definition at line 811 of file ToolBar.cpp.
References MakeRecoloredImage().
Referenced by ControlToolBar::Populate().
|
static |
Definition at line 819 of file ToolBar.cpp.
References MakeRecoloredImage().
Referenced by audacity::cloud::ShareAudioToolbar::Populate(), AudioSetupToolBar::Populate(), CutCopyPasteToolBar::Populate(), EditToolBar::Populate(), MeterToolBar::Populate(), ToolsToolBar::Populate(), TranscriptionToolBar::Populate(), and AdornedRulerPanel::ReCreateButtons().
Definition at line 788 of file ToolBar.cpp.
References ThemeBase::Image(), ThemeBase::ReplaceImage(), and theTheme.
Referenced by MakeMacRecoloredImageSize(), and MakeRecoloredImage().
|
staticprotected |
Definition at line 793 of file ToolBar.cpp.
References ThemeBase::Image(), MakeMacRecoloredImage(), size, and theTheme.
Definition at line 799 of file ToolBar.cpp.
References MakeMacRecoloredImage().
Referenced by MakeButtonBackgroundsLarge(), MakeButtonBackgroundsSmall(), and MakeRecoloredImageSize().
|
staticprotected |
Definition at line 805 of file ToolBar.cpp.
References ThemeBase::Image(), MakeRecoloredImage(), size, and theTheme.
|
protected |
Definition at line 965 of file ToolBar.cpp.
|
protected |
Definition at line 984 of file ToolBar.cpp.
|
protected |
Definition at line 973 of file ToolBar.cpp.
References ThemeBase::Colour(), Repaint(), and theTheme.
|
protectedpure virtual |
Implemented in audacity::cloud::ShareAudioToolbar, AudioSetupToolBar, ControlToolBar, CutCopyPasteToolBar, DeviceToolBar, EditToolBar, MeterToolBar, SelectionBar, SnappingToolBar, SpectralSelectionBar, TimeSignatureToolBar, TimeToolBar, ToolsToolBar, and TranscriptionToolBar.
Referenced by ReCreateButtons().
|
noexcept |
Defaults to (NoBarID, NoBarId)
Definition at line 451 of file ToolBar.cpp.
References mPreferredLeftNeighbor, and mPreferredTopNeighbor.
Referenced by ToolBarConfiguration::Show().
|
virtual |
Reimplemented in audacity::cloud::ShareAudioToolbar, AudioSetupToolBar, ControlToolBar, and MeterToolBar.
Definition at line 533 of file ToolBar.cpp.
References _, GetDock(), GetMinToolbarWidth(), GetSection(), IsDocked(), IsResizable(), mGrabber, mHSizer, mResizer, Populate(), safenew, SetDocked(), toolbarGap, ToolBarResizer, and toolbarSingle.
Referenced by Create(), SelectionBar::OnUpdate(), SpectralSelectionBar::OnUpdate(), TimeToolBar::OnUpdate(), audacity::cloud::ShareAudioToolbar::ReCreateButtons(), AudioSetupToolBar::ReCreateButtons(), ControlToolBar::ReCreateButtons(), MeterToolBar::ReCreateButtons(), and ToolManager::Reset().
|
pure virtual |
|
protectedpure virtual |
Implemented in audacity::cloud::ShareAudioToolbar, AudioSetupToolBar, and ControlToolBar.
Referenced by OnPaint().
|
inlinevirtual |
Reimplemented in TimeToolBar.
Definition at line 196 of file ToolBar.h.
Referenced by ToolBarResizer::OnLeftUp(), and ToolManager::ReadConfig().
|
protected |
Definition at line 950 of file ToolBar.cpp.
References AButton::PopUp(), and AButton::PushDown().
|
static |
Definition at line 933 of file ToolBar.cpp.
References CommandManager::Get(), project, and AButton::SetToolTip().
Referenced by ToolBarButtons::ForAllButtons(), audacity::cloud::ShareAudioToolbar::RegenerateTooltips(), AudioSetupToolBar::RegenerateTooltips(), ControlToolBar::RegenerateTooltips(), ToolsToolBar::RegenerateTooltips(), TranscriptionToolBar::RegenerateTooltips(), and AdornedRulerPanel::UpdateButtonStates().
|
virtual |
Reimplemented in TimeToolBar.
Definition at line 661 of file ToolBar.cpp.
References GetTitle(), mGrabber, mResizer, Grabber::PushButton(), and Grabber::SetToolTip().
Referenced by ToolDock::Dock(), ToolManager::DoneDragging(), ToolManager::HandleEscapeKey(), ToolManager::OnMouse(), ToolManager::ReadConfig(), ReCreateButtons(), ToolManager::Reset(), TimeToolBar::SetDocked(), ToolFrame::ToolFrame(), and ToolManager::UndockBar().
|
inline |
Set a value used for computing cascading positions of undocked bars.
Definition at line 113 of file ToolBar.h.
Referenced by ToolManager::CreateWindows().
void ToolBar::SetLabel | ( | const TranslatableString & | label | ) |
|
overrideprivate |
Definition at line 408 of file ToolBar.cpp.
References label, mLabel, and Verbatim().
Referenced by AudioSetupToolBar::UpdatePrefs(), ControlToolBar::UpdatePrefs(), CutCopyPasteToolBar::UpdatePrefs(), DeviceToolBar::UpdatePrefs(), EditToolBar::UpdatePrefs(), MeterToolBar::UpdatePrefs(), SelectionBar::UpdatePrefs(), SnappingToolBar::UpdatePrefs(), SpectralSelectionBar::UpdatePrefs(), TimeSignatureToolBar::UpdatePrefs(), TimeToolBar::UpdatePrefs(), and TranscriptionToolBar::UpdatePrefs().
|
inline |
Definition at line 139 of file ToolBar.h.
Referenced by Expose(), ToolManager::ReadConfig(), and ToolManager::UndockBar().
void ToolBar::SetPreferredNeighbors | ( | Identifier | left, |
Identifier | top = {} |
||
) |
Definition at line 652 of file ToolBar.cpp.
References mPreferredLeftNeighbor, and mPreferredTopNeighbor.
Referenced by ToolManager::ReadConfig().
|
virtual |
Reimplemented in TimeToolBar.
Definition at line 513 of file ToolBar.cpp.
References GetInitialWidth().
Referenced by ToolManager::Reset().
void ToolBar::SetVisible | ( | bool | bVisible | ) |
Definition at line 446 of file ToolBar.cpp.
References mVisible.
Referenced by Expose(), and ToolManager::ReadConfig().
|
virtual |
Whether the toolbar should be shown by default. Default implementation returns true.
Reimplemented in CutCopyPasteToolBar, DeviceToolBar, MeterToolBar, SelectionBar, SnappingToolBar, SpectralSelectionBar, TimeSignatureToolBar, and TranscriptionToolBar.
Definition at line 365 of file ToolBar.cpp.
Referenced by ToolManager::ReadConfig(), and ToolManager::Reset().
|
protected |
Definition at line 684 of file ToolBar.cpp.
References GetDock(), IsDocked(), and ToolDock::Updated().
Referenced by SelectionBar::FitToTimeControls(), SpectralSelectionBar::OnChoice(), SelectionBar::OnUpdate(), SpectralSelectionBar::OnUpdate(), TimeToolBar::OnUpdate(), ToolBarResizer::ResizeBar(), TimeToolBar::ResizingDone(), TimeToolBar::SetDocked(), TimeToolBar::SetToDefaultSize(), and ControlToolBar::UpdatePrefs().
|
overridevirtual |
Implements PrefsListener.
Reimplemented in ToolsToolBar, and TranscriptionToolBar.
Definition at line 622 of file ToolBar.cpp.
References _, GetTitle(), mGrabber, mResizer, and Grabber::SetToolTip().
Referenced by AudioSetupToolBar::UpdatePrefs(), ControlToolBar::UpdatePrefs(), CutCopyPasteToolBar::UpdatePrefs(), DeviceToolBar::UpdatePrefs(), EditToolBar::UpdatePrefs(), MeterToolBar::UpdatePrefs(), SelectionBar::UpdatePrefs(), SnappingToolBar::UpdatePrefs(), SpectralSelectionBar::UpdatePrefs(), TimeSignatureToolBar::UpdatePrefs(), TimeToolBar::UpdatePrefs(), ToolsToolBar::UpdatePrefs(), and TranscriptionToolBar::UpdatePrefs().
|
friend |
Definition at line 273 of file ToolBar.h.
Referenced by ReCreateButtons().
|
private |
Definition at line 256 of file ToolBar.h.
Referenced by ReCreateButtons(), SetDocked(), and UpdatePrefs().
|
private |
Definition at line 259 of file ToolBar.h.
Referenced by Add(), AddSpacer(), AddStretchSpacer(), Detach(), GetSizer(), and ReCreateButtons().
|
protected |
Definition at line 248 of file ToolBar.h.
Referenced by GetLabel(), and SetLabel().
|
private |
|
private |
Definition at line 261 of file ToolBar.h.
Referenced by PreferredNeighbors(), and SetPreferredNeighbors().
|
private |
Definition at line 262 of file ToolBar.h.
Referenced by PreferredNeighbors(), and SetPreferredNeighbors().
|
protected |
Definition at line 247 of file ToolBar.h.
Referenced by SelectionBar::AddTime(), AudioSetupToolBar::CommonMenuItemSteps(), ToolsToolBar::DoToolChanged(), audacity::cloud::ShareAudioToolbar::EnableDisableButtons(), ControlToolBar::EnableDisableButtons(), DeviceToolBar::EnableDisableButtons(), TranscriptionToolBar::EnableDisableButtons(), MeterToolBar::Expose(), TranscriptionToolBar::GetSamples(), audacity::cloud::ShareAudioToolbar::MakeShareAudioButton(), SelectionBar::ModifySelection(), SpectralSelectionBar::ModifySpectralSelection(), ControlToolBar::OnFF(), SpectralSelectionBar::OnFormatsChanged(), TimeToolBar::OnFormatsChanged(), SelectionBar::OnFormatsChanged(), ControlToolBar::OnIdle(), SelectionBar::OnIdle(), SpectralSelectionBar::OnIdle(), TimeToolBar::OnIdle(), ControlToolBar::OnKeyEvent(), ControlToolBar::OnLoop(), ControlToolBar::OnPause(), ControlToolBar::OnPlay(), ControlToolBar::OnRecord(), ControlToolBar::OnRewind(), SnappingToolBar::OnSnapModeChanged(), ControlToolBar::OnStop(), ToolsToolBar::OnTool(), ToolsToolBar::OnToolChanged(), SelectionBar::OnUpdate(), SpectralSelectionBar::OnUpdate(), TimeToolBar::OnUpdate(), TranscriptionToolBar::PlayAtSpeed(), ControlToolBar::PlayDefault(), MeterToolBar::Populate(), SelectionBar::Populate(), SnappingToolBar::Populate(), SpectralSelectionBar::Populate(), TimeSignatureToolBar::Populate(), TimeToolBar::Populate(), MeterToolBar::ReCreateButtons(), audacity::cloud::ShareAudioToolbar::RegenerateTooltips(), AudioSetupToolBar::RegenerateTooltips(), ControlToolBar::RegenerateTooltips(), ToolsToolBar::RegenerateTooltips(), TranscriptionToolBar::RegenerateTooltips(), TranscriptionToolBar::SetPlaySpeed(), ControlToolBar::StartScrolling(), ControlToolBar::StartScrollingIfPreferred(), ControlToolBar::StateForStatusBar(), ControlToolBar::StopScrolling(), SelectionBar::UpdatePrefs(), and ControlToolBar::UpdateStatusBar().
|
private |
Definition at line 265 of file ToolBar.h.
Referenced by IsResizable().
|
private |
Definition at line 257 of file ToolBar.h.
Referenced by ReCreateButtons(), SetDocked(), and UpdatePrefs().
|
protected |
Definition at line 249 of file ToolBar.h.
Referenced by GetSection().
|
private |
Definition at line 264 of file ToolBar.h.
Referenced by Create(), Expose(), IsVisible(), and SetVisible().