mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Zooming Tweaks (for repair work) and Wording changes.
Repair work involves lots of zooming in and out, to use the repair effect on up to 128 samples. Ctrl Mouse-Wheel zooming now will zoom to ends of selection, if available, or mouse position otherwise. Zoom-Toggle hyphen removed and Preset2 changed. Button tooltips tweaked to match menu entries.
This commit is contained in:
@@ -128,6 +128,7 @@ void EditToolBar::Populate()
|
||||
MakeButtonBackgroundsSmall();
|
||||
|
||||
/* Buttons */
|
||||
// Tooltips slightly more verbose than the menu entries are.
|
||||
AddButton(bmpCut, bmpCut, bmpCutDisabled, ETBCutID,
|
||||
_("Cut selection"));
|
||||
AddButton(bmpCopy, bmpCopy, bmpCopyDisabled, ETBCopyID,
|
||||
@@ -155,14 +156,16 @@ void EditToolBar::Populate()
|
||||
AddSeparator();
|
||||
#endif
|
||||
|
||||
// Tooltips match menu entries.
|
||||
// We previously had longer tooltips which were not more clear.
|
||||
AddButton(bmpZoomIn, bmpZoomIn, bmpZoomInDisabled, ETBZoomInID,
|
||||
_("Zoom In"));
|
||||
AddButton(bmpZoomOut, bmpZoomOut, bmpZoomOutDisabled, ETBZoomOutID,
|
||||
_("Zoom Out"));
|
||||
AddButton(bmpZoomSel, bmpZoomSel, bmpZoomSelDisabled, ETBZoomSelID,
|
||||
_("Fit selection in window"));
|
||||
_("Zoom to Selection"));
|
||||
AddButton(bmpZoomFit, bmpZoomFit, bmpZoomFitDisabled, ETBZoomFitID,
|
||||
_("Fit project in window"));
|
||||
_("Fit to Width"));
|
||||
|
||||
#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
|
||||
AddButton(bmpZoomToggle, bmpZoomToggle, bmpZoomToggleDisabled, ETBZoomToggleID,
|
||||
|
||||
Reference in New Issue
Block a user