1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

Bug 1053 - [Scrub Phase I] Status Bar messages incomplete for scrub started with menu or shortcut.

This commit is contained in:
James Crook
2016-08-10 21:57:29 +01:00
parent 48ad701e57
commit 5939fe66e8
3 changed files with 18 additions and 1 deletions

View File

@@ -948,6 +948,20 @@ const wxString &Scrubber::GetUntranslatedStateString() const
return empty;
}
const wxString & Scrubber::StatusMessageForWave() const
{
static wxString result;
result = "";
if( Seeks() )
result = _("Move mouse pointer to Seek");
else if( Scrubs() )
result = _("Move mouse pointer to Scrub");
return result;
}
std::vector<wxString> Scrubber::GetAllUntranslatedStatusStrings()
{
using namespace std;

View File

@@ -129,6 +129,7 @@ public:
// A string to put in the leftmost part of the status bar
// when scrub or seek is in progress, or else empty.
const wxString &GetUntranslatedStateString() const;
const wxString &StatusMessageForWave() const;
// All possible status strings.
static std::vector<wxString> GetAllUntranslatedStatusStrings();