mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +02:00
Refreshed plug-in. Build configuration names updated. Extra argument to ModTrackPanelCommandFunctor to match updated functor in TrackPanel.
This commit is contained in:
parent
b8a464709d
commit
fc2bd3faa4
@ -83,7 +83,7 @@ class ModTrackPanelCommandFunctor:public CommandFunctor
|
|||||||
public:
|
public:
|
||||||
ModTrackPanelCommandFunctor(ModTrackPanelCallback *pData,
|
ModTrackPanelCommandFunctor(ModTrackPanelCallback *pData,
|
||||||
ModTrackPanelCommandFunction pFunction);
|
ModTrackPanelCommandFunction pFunction);
|
||||||
virtual void operator()(int index = 0);
|
virtual void operator()(int index = 0, const wxEvent * evt=NULL);
|
||||||
public:
|
public:
|
||||||
ModTrackPanelCallback * mpData;
|
ModTrackPanelCallback * mpData;
|
||||||
ModTrackPanelCommandFunction mpFunction;
|
ModTrackPanelCommandFunction mpFunction;
|
||||||
@ -100,7 +100,7 @@ ModTrackPanelCommandFunctor::ModTrackPanelCommandFunctor(ModTrackPanelCallback *
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The dispatching function in the command functor.
|
// The dispatching function in the command functor.
|
||||||
void ModTrackPanelCommandFunctor::operator()(int index )
|
void ModTrackPanelCommandFunctor::operator()(int index, const wxEvent * WXUNUSED(evt) )
|
||||||
{
|
{
|
||||||
(mpData->*(mpFunction))();
|
(mpData->*(mpFunction))();
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ MOD_TRACK_PANEL_DLL_API int ModuleDispatch(ModuleDispatchTypes type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Example code commented out.
|
//Example code commented out.
|
||||||
#if 0
|
#if 1
|
||||||
// This is an example function to hijack the main panel
|
// This is an example function to hijack the main panel
|
||||||
int MOD_TRACK_PANEL_DLL_API MainPanelFunc(int ix)
|
int MOD_TRACK_PANEL_DLL_API MainPanelFunc(int ix)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</ToolFiles>
|
</ToolFiles>
|
||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Unicode Debug|Win32"
|
Name="Debug|Win32"
|
||||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
IntermediateDirectory="$(ConfigurationName)"
|
||||||
ConfigurationType="2"
|
ConfigurationType="2"
|
||||||
@ -93,7 +93,7 @@
|
|||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Unicode Release|Win32"
|
Name="Release|Win32"
|
||||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
IntermediateDirectory="$(ConfigurationName)"
|
||||||
ConfigurationType="2"
|
ConfigurationType="2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user