Hide spectral selection bar by default. Tidy up folders within MSVC project.
This commit is contained in:
parent
67d2b274e2
commit
96531ef766
|
@ -605,19 +605,25 @@ void ToolManager::ReadConfig()
|
|||
// Change to the bar subkey
|
||||
gPrefs->SetPath( bar->GetSection() );
|
||||
|
||||
|
||||
int defaultDock = (ndx == SelectionBarID
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
|| ndx == SpectralSelectionBarID
|
||||
#endif
|
||||
)
|
||||
? BotDockID : TopDockID;
|
||||
bool bShownByDefault = true;
|
||||
int defaultDock = TopDockID;
|
||||
|
||||
if( ndx == SelectionBarID )
|
||||
defaultDock = BotDockID;
|
||||
if( ndx == MeterBarID )
|
||||
defaultDock = 0;
|
||||
bShownByDefault = false;
|
||||
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
if( ndx == SpectralSelectionBarID ){
|
||||
defaultDock = BotDockID;
|
||||
bShownByDefault = false; // Only show if asked for.
|
||||
}
|
||||
#endif
|
||||
|
||||
// Read in all the settings
|
||||
gPrefs->Read( wxT("Dock"), &dock, defaultDock );
|
||||
gPrefs->Read( wxT("Order"), &ord, NoBarID );
|
||||
gPrefs->Read( wxT("Show"), &show[ ndx ], defaultDock != 0);
|
||||
gPrefs->Read( wxT("Show"), &show[ ndx ], bShownByDefault);
|
||||
|
||||
gPrefs->Read( wxT("X"), &x, -1 );
|
||||
gPrefs->Read( wxT("Y"), &y, -1 );
|
||||
|
@ -625,6 +631,7 @@ void ToolManager::ReadConfig()
|
|||
gPrefs->Read( wxT("H"), &height[ ndx ], -1 );
|
||||
|
||||
bar->SetVisible( show[ ndx ] );
|
||||
|
||||
// Docked or floating?
|
||||
if( dock )
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -606,9 +606,6 @@
|
|||
<ClCompile Include="..\..\..\src\widgets\Ruler.cpp">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\src\widgets\TimeTextCtrl.cpp">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\src\widgets\valnum.cpp">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClCompile>
|
||||
|
@ -828,6 +825,12 @@
|
|||
<ClCompile Include="..\..\..\src\effects\EffectRack.cpp">
|
||||
<Filter>src/effects</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\src\toolbars\SpectralSelectionBar.cpp">
|
||||
<Filter>src/toolbars</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\src\widgets\NumericTextCtrl.cpp">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\..\src\AboutDialog.h">
|
||||
|
@ -1388,9 +1391,6 @@
|
|||
<ClInclude Include="..\..\..\src\widgets\Ruler.h">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\widgets\TimeTextCtrl.h">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\widgets\valnum.h">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClInclude>
|
||||
|
@ -1643,6 +1643,15 @@
|
|||
<ClInclude Include="..\..\..\src\effects\EffectRack.h">
|
||||
<Filter>src/effects</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\toolbars\SpectralSelectionBar.h">
|
||||
<Filter>src/toolbars</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\toolbars\SpectralSelectionBarListener.h">
|
||||
<Filter>src/toolbars</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\widgets\NumericTextCtrl.h">
|
||||
<Filter>src/widgets</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="..\..\audacity.ico">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
|
@ -17,13 +17,13 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v110</PlatformToolset>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v110</PlatformToolset>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<CompileAs>Default</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>wxmsw28ud_core.lib;wxbase28ud.lib;odbc32.lib;odbccp32.lib;oldnames.lib;comctl32.lib;rpcrt4.lib;wsock32.lib;netapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>wxmsw30ud_core.lib;wxbase30ud.lib;odbc32.lib;odbccp32.lib;oldnames.lib;comctl32.lib;rpcrt4.lib;wsock32.lib;netapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)modules\$(ProjectName).dll</OutputFile>
|
||||
<AdditionalLibraryDirectories>$(WXWIN)\lib\vc_dll;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
|
Loading…
Reference in New Issue