mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Add title-clicking to SelectionToolbar
This is a convenience for sighted users. If they are showing start, center, length, end, they can click on the title 'Center' to preserve it, and then modify length. Similarly for the other controls. This makes working with more than two controls much more intuitive.
This commit is contained in:
@@ -68,6 +68,11 @@ class SelectionBar final : public ToolBar {
|
||||
void ValuesToControls();
|
||||
void OnUpdate(wxCommandEvent &evt);
|
||||
void OnChangedTime(wxCommandEvent &evt);
|
||||
void OnTitleClicked(int newDriver );
|
||||
void OnStartTitleClicked(wxMouseEvent & event);
|
||||
void OnCenterTitleClicked(wxMouseEvent & event);
|
||||
void OnLengthTitleClicked(wxMouseEvent & event);
|
||||
void OnEndTitleClicked(wxMouseEvent & event);
|
||||
void OnRate(wxCommandEvent & event);
|
||||
void OnSnapTo(wxCommandEvent & event);
|
||||
void OnFocus(wxFocusEvent &event);
|
||||
|
||||
Reference in New Issue
Block a user