Audacity 3.2.0
|
Public Member Functions | |
SnapModePopup (AudacityProject &project) | |
void | Init () override |
bool | Create (wxWindow *parent) override |
wxWindow * | GetControl () override |
wxString | GetStringValue () const override |
void | OnPopup () override |
void | SetStringValue (const wxString &value) override |
bool | FindItem (const wxString &item, wxString *trueItem=NULL) override |
void | OnComboKeyEvent (wxKeyEvent &event) override |
void | OnComboCharEvent (wxKeyEvent &event) override |
void | UpdateCurrentIndex (const Identifier &identifier) |
Private Attributes | |
AudacityProject & | mProject |
wxWeakRef< wxWindow > | mControl |
std::vector< Identifier > | mSnapToList |
std::ptrdiff_t | mCurrentIndex { -1 } |
Observer::Subscription | mSnappingModeChangedSubscription |
Definition at line 56 of file SnappingToolBar.cpp.
|
inlineexplicit |
Definition at line 59 of file SnappingToolBar.cpp.
References anonymous_namespace{SnappingToolBar.cpp}::GetSnapToLabel(), and TranslatableString::Translation().
|
inlineoverride |
Definition at line 85 of file SnappingToolBar.cpp.
References safenew.
|
inlineoverride |
Definition at line 165 of file SnappingToolBar.cpp.
|
inlineoverride |
Definition at line 98 of file SnappingToolBar.cpp.
|
inlineoverride |
Definition at line 103 of file SnappingToolBar.cpp.
References anonymous_namespace{SnappingToolBar.cpp}::GetSnapToLabel(), ReadSnapTo(), and TranslatableString::Translation().
|
inlineoverride |
Definition at line 75 of file SnappingToolBar.cpp.
References Registry::detail::BaseItem::name, ReadSnapTo(), and SnapFunctionsRegistry::Visit().
|
inlineoverride |
Definition at line 205 of file SnappingToolBar.cpp.
|
inlineoverride |
Definition at line 170 of file SnappingToolBar.cpp.
References ProjectSnap::Get(), and ProjectSnap::SetSnapTo().
|
inlineoverride |
Definition at line 108 of file SnappingToolBar.cpp.
References BasicUI::CallAfter(), ProjectSnap::Get(), SnapRegistryGroup::Inlined(), SnapRegistryGroupData::label, SnapRegistryGroup::Label(), BasicMenu::Handle::Popup(), ReadSnapTo(), safenew, ProjectSnap::SetSnapTo(), TranslatableString::Translation(), and SnapFunctionsRegistry::Visit().
|
inlineoverride |
Definition at line 160 of file SnappingToolBar.cpp.
|
inline |
Definition at line 210 of file SnappingToolBar.cpp.
|
private |
Definition at line 224 of file SnappingToolBar.cpp.
|
private |
Definition at line 227 of file SnappingToolBar.cpp.
|
private |
Definition at line 223 of file SnappingToolBar.cpp.
|
private |
Definition at line 229 of file SnappingToolBar.cpp.
|
private |
Definition at line 226 of file SnappingToolBar.cpp.