1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-22 06:22:58 +02:00

Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=643 "Residual consistency issues with SHIFT showing Loop Play button icon" by Paul Licameli.

* Loop play-at-speed and cut preview play-at-speed implemented.
* Shift or ctrl down now affect all relevant buttons, loop or cut preview, normal or at speed, and append-record.
This commit is contained in:
james.k.crook@gmail.com
2014-11-29 17:22:05 +00:00
parent 30500b2e85
commit 7324997db6
14 changed files with 4503 additions and 4231 deletions

View File

@@ -63,7 +63,7 @@ and use it for toolbar and window layouts too.
#include "Project.h"
#include "toolbars/ToolBar.h"
#include "toolbars/ControlToolBar.h"
#include "toolbars/ToolManager.h"
#include "ImageManipulation.h"
#include "Theme.h"
#include "Experimental.h"
@@ -223,9 +223,11 @@ void Theme::EnsureInitialised()
void Theme::ApplyUpdatedImages()
{
AudacityProject *p = GetActiveProject();
if( p->GetControlToolBar() )
for( int ii = 0; ii < ToolBarCount; ++ii )
{
p->GetControlToolBar()->ReCreateButtons();
ToolBar *pToolBar = p->mToolManager->GetToolBar(ii);
if( pToolBar )
pToolBar->ReCreateButtons();
}
}