1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Allow selected controls on SelectionToolbar

The toolbar can now show subsets of the start, center, length and end numeric controls.  The choice is made using a button with a pop-up menu.  The two most recently modified controls 'drive' the other two, whether they are visible or not.  If shown, the driven controls are indicated in the name above (also for screen readers).

Most users will opt to just show two of the controls, e.g. start and end.

The menu button (Classic theme) has three dots on it.  Other themes don't yet have the icon and will show as black.
This commit is contained in:
James Crook
2017-05-22 13:30:54 +01:00
parent 62f75eb159
commit 7d31691fd3
4 changed files with 2793 additions and 5080 deletions

View File

@@ -130,6 +130,8 @@ from there. Audacity will look for a file called "Pause.png".
DEFINE_IMAGE( bmpTnSelectSoundDisabled, wxImage( 24, 24 ), wxT("TnSelectSoundDisabled"));
DEFINE_IMAGE( bmpTnSelectSilence, wxImage( 24, 24 ), wxT("TnSelectSilence"));
DEFINE_IMAGE( bmpTnSelectSilenceDisabled, wxImage( 24, 24 ), wxT("TnSelectSilenceDisabled"));
DEFINE_IMAGE( bmpOptions, wxImage( 24, 24 ), wxT("Options"));
DEFINE_IMAGE( bmpOptionsDisabled, wxImage( 24, 24 ), wxT("OptionsDisabled"));
SET_THEME_FLAGS( resFlagNone );
DEFINE_IMAGE( bmpLabelGlyph0, wxImage( 15, 23 ), wxT("LabelGlyph0"));